Piersze_21

 0    21 flashcards    michalesq
print play test yourself
 
Question - Answer -
Which file system is best used with LVM volumes?
start learning
XFS
For an MBR partition, what is the max disk size a partition can be?
start learning
2TiB
How many primary partitions can a GPT partition table have?
start learning
128
What is the limit for primary partitions when using the MBR partition type?
start learning
4
Which file on the operating system contains information about which partitions the OS is reading?
start learning
/proc/partitions
Which tool(s) would you use to manage GPT-based partitions?
start learning
gdisk, parted
Which command displays information about a swap device?
start learning
swapon -s
Which command is used to assign a swap signature to a device?
start learning
mkswap
After adding 50 GB more of physical storage to your existing volume group, you need to extend your /dev/battlestar/galactica logical volume group to include an additional 20GB of storage. How might you accomplish this task?
start learning
vextend -L +20G /dev/battlestar/galactica
You are extending a logical volume. To do this, you have to add the /dev/xvdj device to the volume group "battlestar". Which command would you issue to accomplish this task?
start learning
vgextend battlestar /dev/xvdj
What is the maximum disk size for a GPT-based partition?
start learning
8 ZiB
Select the correct order of tasks for creating an LVM for the first time.
start learning
Create the physical volume (pvcreate), create the volume group (vgcreate), create the logical volume (lvcreate)
You're in the middle of the Red Hat certification test and forget which LVM commands you need to use to perform the specified tasks. What option(s) do you have?
start learning
man lvm, info lvm
You've just increased the size of the /dev/battlestar/galactica LVM volume. This volume is mounted in /mnt/mydir; which command would you issue for the operating system and file system to recognize the increase in size on the device?
start learning
xfs_growfs /mnt/mydir
After making partition changes, the partition changes do not appear in the /proc/partitions. How can you force the kernel to reload the partition tables?
start learning
issue the partprobe command
Given the volume group "battlestar" and a physical volume in the volume group /dev/xvdf1, which command would accurately create a 19 G logical volume out of /dev/xvdf1 with a volume name of "galactica"?
start learning
lvcreate -n galactica -L 19G battlestar
Swap space can be created out of GPT-, MBR- and LVM-based partitions/volumes.
start learning
True
What command is used to inform the OS of partition table changes?
start learning
partprobe
What are two ways to find information about swap devices enabled on the system?
start learning
swapon -s, cat /proc/swaps
The file system needs to be created on the device after the logical volume is created (lvcreate).
start learning
True
What command would you use to install the star utility?
start learning
yum install star

You must sign in to write a comment