Week 7 Quiz
Which of the following is required as a separate partition in order to use LVM?
/boot
What is the maximum number of partitions that can be created on a GPT disk?
128
What is the maximum number of primary partitions that can be created on a MBR disk?
4
What is the default size of a physical extent in LVM?
4MB
A disk or partition must be initialized before it can be added to a volume group.
True
Which File system can be created by Straits?
XFS file system
What is the default name of the first logical volume in a volume group?
lvol0
Which command can be used to create a physical volume?
pvcreate
Write the command to remove vg18 volume group along with any logical and physical volumes that it contains?
vgremove -f vg18
VDO uses low memory and other compute resources True False
False
Physical and logical extents are typically of the same size.
True
The command parted /dev/sdd mklabel gpt , creates a GPT type table. True False
True
The fdisk utility can be used to store partition information in GPT format
True
The lvextend command can be used to add unused space within a volume group to an existing logical volume. True False
True
The partition table information is stored on the Master Boot Record. True False
True
VDO volumes use compression techniques, de-duplication, and thin provisioning for storage conservation.
True
A device file _______________________. (Choose all that apply.) a. has no inode section b. has no data section c. has no size d. displays a major and minor number in place of a file size e. has a fixed size of 300 Kilobytes
b. has no data section d. displays a major and minor number in place of a file size
Which of the following statements regarding LVM structure is correct? a. PVs are collections of VGs. b. LVs are created from the free space available within PVs. c. VGs are composed of one or more PVs. d. PVs use the space within LVs to create VGs.
d. PVs use the space within LVs to create VGs
What are the commands that we can use to reduce the number of logical extents from a logical volume?
lvreduce and lvresize
Which command can be used to remove vdo1 volume from /dev/sdd?
lvremove /dev/sdd/vdo1
Which command provided will create a primary partition of size 150MB on the sdb disk starting at the beginning of the disk.
parted /dev/sdb mkpart pri 1 150m
Clint has run the command parted /dev/sdb and wants to display a list of the existing partitions that exist on that drive. Which of the following commands with parted can he use to display the existing partitions?
Which command can be used to initialize the /dev/sdd for use in a volume group.
pvcreate /dev/sdd
Which command displays the physical volume's details?
pvdisplay
Which one represents, the 4th partition on the second serial hard drive?
sdb4
Which of the following would be the device file for the third partition on the second SATA drive on a Linux system?
sdc3
Which command will create a Stratis pool called pool1 containing /dev/sdc device?
stratis pool pool /dev/sdc
Write the command to create a volume group called vg15 with physical extent size set to 250MB and include the second serial hard drive to the volume group.
vgcreate -s 250 vg15 /dev/sdd2
Write the command to add physical volumes /dev/sdb and /dev/sdc to the vg30 volume group
vgextend vg30 /dev/sdb /dev/sdc