Configure Local Storage - RHCSA

Descrição

Mapa Mental sobre Configure Local Storage - RHCSA, criado por Luiz Eduardo em 31-10-2019.
Luiz  Eduardo
Mapa Mental por Luiz Eduardo, atualizado more than 1 year ago
Luiz  Eduardo
Criado por Luiz Eduardo quase 5 anos atrás
16
0

Resumo de Recurso

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

                                                                                                                                  Anotações:

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

                                                                                                                                    Anotações:

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

                                                                                                                                      Anotações:

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

                                                                                                                                        Anotações:

                                                                                                                                        • don't show the header
                                                                                                                                      2. setfacl

                                                                                                                                        Anotações:

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

                                                                                                                                          Anotações:

                                                                                                                                          • removes all acl settings
                                                                                                                                          1. -d

                                                                                                                                            Anotações:

                                                                                                                                            • applies to the default acl settings
                                                                                                                                            1. -k

                                                                                                                                              Anotações:

                                                                                                                                              • remove all defaults acl settings
                                                                                                                                              1. -m

                                                                                                                                                Anotações:

                                                                                                                                                • sets or modifies alc settings
                                                                                                                                                1. -R

                                                                                                                                                  Anotações:

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

                                                                                                                                                    Anotações:

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

                                                                                                                                                      Anotações:

                                                                                                                                                      • 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

                                                                                                                                                          Anotações:

                                                                                                                                                          • :d < set the defaults acls
                                                                                                                                                      2. lvmdiskscan

                                                                                                                                                        Semelhante

                                                                                                                                                        Períodos literário brasileiro
                                                                                                                                                        raafinhasousa
                                                                                                                                                        Biologia e Geologia - Biologia 11ºano, parte III - Ensino Secundário Português
                                                                                                                                                        Heres Oliveira
                                                                                                                                                        Leis de Newton
                                                                                                                                                        Guilherme Hayashida
                                                                                                                                                        Simulado Matemática
                                                                                                                                                        Marina Faria
                                                                                                                                                        Músculos e ossos - Nível fácil
                                                                                                                                                        Daniel Pereira
                                                                                                                                                        Teorema de Pitágoras 2
                                                                                                                                                        Paula Neto
                                                                                                                                                        1ª Guerra Mundial
                                                                                                                                                        Daniel Lima
                                                                                                                                                        Reino Plantae
                                                                                                                                                        Ricardo l.
                                                                                                                                                        Técnicas de Estudo
                                                                                                                                                        vivi sousa
                                                                                                                                                        GRÉCIA ANTIGA
                                                                                                                                                        Hugo Fonseca