What are the three layers of LVM architecture?
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which command creates a physical volume?
pvcreate /dev/sdb1
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which command shows brief physical volume information?
pvs
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What command creates a volume group named vgdata?
vgcreate vgdata /dev/sdb1
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which command extends a volume group with a new PV?
vgextend vgname /dev/sdc1
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What command shows brief volume group information?
vgs
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
How to create a 2GB logical volume named lvdata?
lvcreate -L 2G -n lvdata vgname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which command creates an LV using all free space in VG?
lvcreate -l 100%FREE -n lvname vgname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
How to extend a logical volume by 1GB?
lvextend -L +1G /dev/vgname/lvname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
How to extend an XFS filesystem after extending LV?
xfs_growfs /mount/point
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What command extends an ext4 filesystem after LV extension?
resize2fs /dev/vgname/lvname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Can you reduce an XFS filesystem?
No, XFS filesystems cannot be reduced, only extended.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What must you do before reducing an ext4 filesystem?
Unmount the filesystem and check it with e2fsck -f.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What is the correct order for reducing ext4?
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
How to create an LVM snapshot?
lvcreate -L 1G -s -n snapname /dev/vgname/lvname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What partition type code is used for LVM in fdisk?
8e (Linux LVM) or type 31 in newer versions.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which command displays detailed logical volume information?
lvdisplay
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What is RAID 0?
Striping improves performance but no redundancy, minimum 2 disks.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What is RAID 1?
Mirroring provides redundancy, minimum 2 disks.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What is RAID 5?
Striping with parity redundancy + performance, minimum 3 disks, can lose 1 disk.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
How to create a RAID 1 array?
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which file shows current RAID status?
/proc/mdstat or use cat /proc/mdstat.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Which command shows detailed RAID information?
mdadm --detail /dev/md0
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Where should RAID configuration be saved for persistence?
/etc/mdadm.conf using mdadm --detail --scan >> /etc/mdadm.conf.
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
How to create a Stratis pool?
stratis pool create poolname /dev/sdb
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What command creates a Stratis filesystem?
stratis filesystem create poolname fsname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
Where are Stratis filesystems mounted from?
/stratis/poolname/fsname
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What service must be running for Stratis?
stratisd service
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What option in /etc/fstab ensures Stratis mounts correctly?
x-systemd.requires=stratisd.service
Xem thẻ ở đây, hoặc đăng ký để học với spaced repetition.
What command merges an LVM snapshot back to original?
lvconvert --merge /dev/vgname/snapname
Xem thẻ ở đây, hoặc đăng ký để học với 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.Bạn có chắc chắn muốn xóa 0 flashcard? Hành động này không thể hoàn tác.
Chọn thẻ để gỡ khỏi 0 flashcard đã chọn:
Đang tải thẻ...