Configure Local Storage - RHCSA

Description

Mind Map on Configure Local Storage - RHCSA, created by Luiz Eduardo on 31/10/2019.
Luiz  Eduardo
Mind Map by Luiz Eduardo, updated more than 1 year ago
Luiz  Eduardo
Created by Luiz Eduardo over 4 years ago
16
0

Resource summary

Configure Local Storage - RHCSA
  1. LVM
    1. lv
      1. lvcreate
        1. -L 1.3G
          1. -l 20 (PE)
            1. -n (name)
              1. #lvcreate -L 1G -n oravol vgtest
              2. lvresize
                1. lvextend
                  1. lvremove
                    1. lvdisplay
                      1. lvscan
                        1. lvrename
                        2. vg
                          1. vgcreate
                            1. vgremove
                              1. vgetexnd
                                1. #vgextend vg01 /dev/vdd -v
                                2. vgs
                                  1. vgdisplay
                                    1. vgrename
                                      1. vgreduce
                                        1. #vgreduce vg01 /dev/sdb1 /dev/sdc1
                                      2. pv
                                        1. pvcreate
                                          1. pvremove
                                            1. pvs
                                              1. pvscan
                                            2. fdisk
                                              1. n
                                                1. p
                                                  1. t
                                                    1. SWAP| 82
                                                      1. LVM | 8e
                                                        1. list | l
                                                        2. d
                                                        3. parted
                                                          1. mkpart
                                                            1. mklabel
                                                              1. quit
                                                                1. print
                                                                2. swap
                                                                  1. swapon
                                                                    1. -a
                                                                    2. swapoff
                                                                      1. swapon -s
                                                                        1. mkswap
                                                                          1. swapon /dev/sdb1
                                                                            1. vmstat -s
                                                                            2. lsblk
                                                                              1. blkid
                                                                                1. gdisk
                                                                                  1. Graphical Disk Utility
                                                                                    1. yum install gnome-disk-utility
                                                                                    2. dump2fs
                                                                                      1. e2fsck
                                                                                        1. e2label
                                                                                          1. mke2fs
                                                                                            1. resize2fs
                                                                                              1. tune2fs
                                                                                                1. mkfs.xfs
                                                                                                  1. xfs_admin
                                                                                                    1. findmnt
                                                                                                      1. fuser
                                                                                                        1. CIFS
                                                                                                          1. #yum install -y samba-client cifs-utils
                                                                                                            1. #smbclient //192.168.2.33/smbrhcsa -U user1
                                                                                                              1. #mount //192.168.2.33/smbrhcsa -o username=user1
                                                                                                              2. autofs
                                                                                                                1. direct
                                                                                                                  1. /- /etc/auto.direct
                                                                                                                    1. #vi /etc/auto.direct
                                                                                                                      1. /isweluiz/oravol -rw 192.168.15.5:/mnt/oravol
                                                                                                                        1. #cd /isweluiz/oravol
                                                                                                                          1. #systemctl restart autofs
                                                                                                                    2. indirect
                                                                                                                      1. #vi /etc/auto.master
                                                                                                                        1. /share /etc/auto.demo
                                                                                                                          1. #vi /etc/auto.demo
                                                                                                                            1. dados -rw 192.168.15.99:/mnt/oravol
                                                                                                                              1. #systemctl restart autofs
                                                                                                                                1. #cd /share/dados
                                                                                                                                  1. #mount | grep autodir
                                                                                                                        2. #mkdir /share
                                                                                                                        3. /etc/auto.master
                                                                                                                          1. /etc/auto.demo
                                                                                                                            1. #yum install autofs
                                                                                                                              1. ACL
                                                                                                                                1. chacl

                                                                                                                                  Annotations:

                                                                                                                                  • change acl settings on a file or a director available for users who are familiar with ts use from irix unix
                                                                                                                                  1. getfacl

                                                                                                                                    Annotations:

                                                                                                                                    • display acl settings for a file or directory
                                                                                                                                    1. #getfcal file1

                                                                                                                                      Annotations:

                                                                                                                                      • isweluiz@0xmachine:~$ getfacl Desktop/ # file: Desktop/ # owner: isweluiz # group: isweluiz user::rwx group::r-x other::r-x
                                                                                                                                      1. -c

                                                                                                                                        Annotations:

                                                                                                                                        • don't show the header
                                                                                                                                      2. setfacl

                                                                                                                                        Annotations:

                                                                                                                                        • sets, modifies, substitutes, and dlete acl settings on a file or directory
                                                                                                                                        1. -b

                                                                                                                                          Annotations:

                                                                                                                                          • removes all acl settings
                                                                                                                                          1. -d

                                                                                                                                            Annotations:

                                                                                                                                            • applies to the default acl settings
                                                                                                                                            1. -k

                                                                                                                                              Annotations:

                                                                                                                                              • remove all defaults acl settings
                                                                                                                                              1. -m

                                                                                                                                                Annotations:

                                                                                                                                                • sets or modifies alc settings
                                                                                                                                                1. -R

                                                                                                                                                  Annotations:

                                                                                                                                                  • applies recursively to all files and sub-directories
                                                                                                                                                  1. -x

                                                                                                                                                    Annotations:

                                                                                                                                                    • remove an acl settings
                                                                                                                                                    1. #setfacl -m u:user1:rw,m:r file1

                                                                                                                                                      Annotations:

                                                                                                                                                      • modify the acl and the same time modified the mask to ro
                                                                                                                                                      1. #setfacl -m u:user2:7 file1
                                                                                                                                                        1. #setfacl -m d:u:user2:6, d:u:user3:6 projects

                                                                                                                                                          Annotations:

                                                                                                                                                          • :d < set the defaults acls
                                                                                                                                                      2. lvmdiskscan
                                                                                                                                                        Show full summary Hide full summary

                                                                                                                                                        Similar

                                                                                                                                                        C6 Flash cards
                                                                                                                                                        Anna Hollywood
                                                                                                                                                        Chemistry (C1)
                                                                                                                                                        Phobae-Cat Doobi
                                                                                                                                                        The Brain and the Nervous System
                                                                                                                                                        feelingthepayne
                                                                                                                                                        Graphics Key Words
                                                                                                                                                        Mrs.Barnes
                                                                                                                                                        Biology B3
                                                                                                                                                        James Burns
                                                                                                                                                        GCSE AQA Physics Unit 2 Flashcards
                                                                                                                                                        Gabi Germain
                                                                                                                                                        “In gaining knowledge, each area of knowledge uses a network of ways of knowing.” Discuss this statement with reference to two areas of knowledge
                                                                                                                                                        Julianapabab
                                                                                                                                                        MAPA MENTAL
                                                                                                                                                        blanca beatriz m
                                                                                                                                                        Present Simple/Past Simple Tenses
                                                                                                                                                        learning.buzz.in
                                                                                                                                                        The Muscles in the body
                                                                                                                                                        Thomas Marshall
                                                                                                                                                        Assd/Psbd model questions with true/false2018-2019
                                                                                                                                                        Dipesh Bartaula