Chapter 14: Managing Storage Flashcards
- Which tool do you use to create GUID partitions?
- gdisk is used to create GUID partitions.
- Which tool do you use to create MBR partitions?
- fdisk is used to create MBR partitions.
- What is the default file system on RHEL 8?
- XFS is the default file system on RHEL 8.
- What is the name of the file that is used to automatically mount partitions while booting?
- /etc/fstab is used to automatically mount partitions while booting.
- Which mount option do you use if you want a file system not to be mounted automatically while booting?
- The noauto mount option is used to specify a file system should not be mounted automatically while booting.
- Which command enables you to format a partition that has type 82 with the appropriate file system?
- mkswap enables you to format a partition that has type 82 with the appropriate file system.
- You have just added a couple of partitions for automatic mounting while booting. How can you safely test if this is going to work without actually rebooting?
- mount -a enables you to test, without actually rebooting, whether automatic mounting of the partitions while booting is going to work.
- Which file system is created if you use the mkfs command without any file system specification?
- Ext2 is created if you use the mkfs command without specifying a file system.
- How do you format an Ext4 partition?
- Use either mkfs.ext4 or mkfs -t ext4 to format an Ext4 partition.
- How do you find UUIDs for all devices on your computer?
- Use blkid to find UUIDs for all devices on your computer.
- Which of the following is not an advantage of using a GUID partition table over using an MBR partition table?
a. Access time to a directory is quicker.
b. A total amount of 8 ZiB can be addressed by a partition.
c. With GUID partitions, a backup copy of the partition table is created automatically.
d. There can be up to 128 partitions in total.
A.
In GPT, there is no longer a need to differentiate between primary, extended, and logical partitions; in fact, it is not even possible. Using logical
partitions is not an advantage due to the limited number of primary partitions available on MBR disks.
You want to create a partition with a size of 10245 bytes. What size should it be?
a. 1 PB
b. 1 PiB
c. 1 EB
d. 1 EiB
B. 1 pebibyte (PiB) is 1024 × 1024 × 1024 × 1024 × 1024 bytes.
Which partition type is commonly used to create a Linux partition?
a. 81
b. 82
c. 83
d. 8e
C.
Partition type 83 is normally used to create Linux partitions.
What is the default disk device name you would expect to see in KVM virtual machines?
a. /dev/sda
b. /dev/hda
c. /dev/sda
d. /dev/xsda
C.
KVM virtual machines use the virtio driver to address hard disks. This driver generates the device /dev/vda as the first disk device.
Which of the following statements is not true?
a. Do not ever use gdisk on an MBR disk.
b. fdisk offers support to manage GPT partitions as well.
c. Depending on your needs, you can create MBR and GPT partitions on the same disk.
d. If your server boots from EFI, you must use GPT partitions.
C.
A disk can have one partition table only. For that reason, it is not possible to
have MBR and GPT partitions on the same disk.