What are the three layers of LVM architecture?
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which command creates a physical volume?
pvcreate /dev/sdb1
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which command shows brief physical volume information?
pvs
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What command creates a volume group named vgdata?
vgcreate vgdata /dev/sdb1
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which command extends a volume group with a new PV?
vgextend vgname /dev/sdc1
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What command shows brief volume group information?
vgs
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
How to create a 2GB logical volume named lvdata?
lvcreate -L 2G -n lvdata vgname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which command creates an LV using all free space in VG?
lvcreate -l 100%FREE -n lvname vgname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
How to extend a logical volume by 1GB?
lvextend -L +1G /dev/vgname/lvname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
How to extend an XFS filesystem after extending LV?
xfs_growfs /mount/point
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What command extends an ext4 filesystem after LV extension?
resize2fs /dev/vgname/lvname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Can you reduce an XFS filesystem?
No, XFS filesystems cannot be reduced, only extended.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What must you do before reducing an ext4 filesystem?
Unmount the filesystem and check it with e2fsck -f.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What is the correct order for reducing ext4?
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
How to create an LVM snapshot?
lvcreate -L 1G -s -n snapname /dev/vgname/lvname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What partition type code is used for LVM in fdisk?
8e (Linux LVM) or type 31 in newer versions.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which command displays detailed logical volume information?
lvdisplay
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What is RAID 0?
Striping improves performance but no redundancy, minimum 2 disks.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What is RAID 1?
Mirroring provides redundancy, minimum 2 disks.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What is RAID 5?
Striping with parity redundancy + performance, minimum 3 disks, can lose 1 disk.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
How to create a RAID 1 array?
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which file shows current RAID status?
/proc/mdstat or use cat /proc/mdstat.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Which command shows detailed RAID information?
mdadm --detail /dev/md0
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Where should RAID configuration be saved for persistence?
/etc/mdadm.conf using mdadm --detail --scan >> /etc/mdadm.conf.
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
How to create a Stratis pool?
stratis pool create poolname /dev/sdb
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What command creates a Stratis filesystem?
stratis filesystem create poolname fsname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
Where are Stratis filesystems mounted from?
/stratis/poolname/fsname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What service must be running for Stratis?
stratisd service
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What option in /etc/fstab ensures Stratis mounts correctly?
x-systemd.requires=stratisd.service
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What command merges an LVM snapshot back to original?
lvconvert --merge /dev/vgname/snapname
Sfoglia le tue carte qui, oppure iscriviti per studiare con la spaced repetition.
What are the three layers of LVM architecture?
Which command creates a physical volume?
pvcreate /dev/sdb1
Which command shows brief physical volume information?
pvs
What command creates a volume group named vgdata?
vgcreate vgdata /dev/sdb1
Which command extends a volume group with a new PV?
vgextend vgname /dev/sdc1
What command shows brief volume group information?
vgs
How to create a 2GB logical volume named lvdata?
lvcreate -L 2G -n lvdata vgname
Which command creates an LV using all free space in VG?
lvcreate -l 100%FREE -n lvname vgname
How to extend a logical volume by 1GB?
lvextend -L +1G /dev/vgname/lvname
How to extend an XFS filesystem after extending LV?
xfs_growfs /mount/point
What command extends an ext4 filesystem after LV extension?
resize2fs /dev/vgname/lvname
Can you reduce an XFS filesystem?
No, XFS filesystems cannot be reduced, only extended.
What must you do before reducing an ext4 filesystem?
Unmount the filesystem and check it with e2fsck -f.
What is the correct order for reducing ext4?
How to create an LVM snapshot?
lvcreate -L 1G -s -n snapname /dev/vgname/lvname
What partition type code is used for LVM in fdisk?
8e (Linux LVM) or type 31 in newer versions.
Which command displays detailed logical volume information?
lvdisplay
What is RAID 0?
Striping improves performance but no redundancy, minimum 2 disks.
What is RAID 1?
Mirroring provides redundancy, minimum 2 disks.
What is RAID 5?
Striping with parity redundancy + performance, minimum 3 disks, can lose 1 disk.
How to create a RAID 1 array?
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Which file shows current RAID status?
/proc/mdstat or use cat /proc/mdstat.
Which command shows detailed RAID information?
mdadm --detail /dev/md0
Where should RAID configuration be saved for persistence?
/etc/mdadm.conf using mdadm --detail --scan >> /etc/mdadm.conf.
How to create a Stratis pool?
stratis pool create poolname /dev/sdb
What command creates a Stratis filesystem?
stratis filesystem create poolname fsname
Where are Stratis filesystems mounted from?
/stratis/poolname/fsname
What service must be running for Stratis?
stratisd service
What option in /etc/fstab ensures Stratis mounts correctly?
x-systemd.requires=stratisd.service
What command merges an LVM snapshot back to original?
lvconvert --merge /dev/vgname/snapname
pvcreate /dev/sdb1pvsvgcreate vgdata /dev/sdb1vgextend vgname /dev/sdc1vgslvcreate -L 2G -n lvdata vgnamelvcreate -l 100%FREE -n lvname vgnamelvextend -L +1G /dev/vgname/lvnamexfs_growfs /mount/pointresize2fs /dev/vgname/lvnamee2fsck -f.lvcreate -L 1G -s -n snapname /dev/vgname/lvnamelvconvert --merge /dev/vgname/snapnamelvdisplaymdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1cat /proc/mdstatmdadm --detail /dev/md0mdadm --detail --scan >> /etc/mdadm.confstratis pool create poolname /dev/sdbstratis filesystem create poolname fsname/stratis/poolname/fsnamestratisd service is running.x-systemd.requires=stratisd.service ensures correct mounting.Sei sicuro di voler eliminare 0 flashcard? Questa azione non può essere annullata.
Seleziona i tag da rimuovere da 0 flashcard selezionata(e):
Caricamento tag...