What are the three layers of LVM architecture?
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which command creates a physical volume?
pvcreate /dev/sdb1
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which command shows brief physical volume information?
pvs
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What command creates a volume group named vgdata?
vgcreate vgdata /dev/sdb1
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which command extends a volume group with a new PV?
vgextend vgname /dev/sdc1
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What command shows brief volume group information?
vgs
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
How to create a 2GB logical volume named lvdata?
lvcreate -L 2G -n lvdata vgname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which command creates an LV using all free space in VG?
lvcreate -l 100%FREE -n lvname vgname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
How to extend a logical volume by 1GB?
lvextend -L +1G /dev/vgname/lvname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
How to extend an XFS filesystem after extending LV?
xfs_growfs /mount/point
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What command extends an ext4 filesystem after LV extension?
resize2fs /dev/vgname/lvname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Can you reduce an XFS filesystem?
No, XFS filesystems cannot be reduced, only extended.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What must you do before reducing an ext4 filesystem?
Unmount the filesystem and check it with e2fsck -f.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What is the correct order for reducing ext4?
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
How to create an LVM snapshot?
lvcreate -L 1G -s -n snapname /dev/vgname/lvname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What partition type code is used for LVM in fdisk?
8e (Linux LVM) or type 31 in newer versions.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which command displays detailed logical volume information?
lvdisplay
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What is RAID 0?
Striping improves performance but no redundancy, minimum 2 disks.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What is RAID 1?
Mirroring provides redundancy, minimum 2 disks.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What is RAID 5?
Striping with parity redundancy + performance, minimum 3 disks, can lose 1 disk.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
How to create a RAID 1 array?
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which file shows current RAID status?
/proc/mdstat or use cat /proc/mdstat.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Which command shows detailed RAID information?
mdadm --detail /dev/md0
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Where should RAID configuration be saved for persistence?
/etc/mdadm.conf using mdadm --detail --scan >> /etc/mdadm.conf.
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
How to create a Stratis pool?
stratis pool create poolname /dev/sdb
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What command creates a Stratis filesystem?
stratis filesystem create poolname fsname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
Where are Stratis filesystems mounted from?
/stratis/poolname/fsname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What service must be running for Stratis?
stratisd service
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What option in /etc/fstab ensures Stratis mounts correctly?
x-systemd.requires=stratisd.service
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
What command merges an LVM snapshot back to original?
lvconvert --merge /dev/vgname/snapname
Parcoures tes cartes ici, ou Inscris-toi pour réviser avec la répétition espacée.
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.Es-tu sûr de vouloir supprimer 0 ces flashcards ? Cette action est irréversible.
Sélectionne les étiquettes à supprimer de 0 flashcards sélectionnées :
Chargement des étiquettes...