Maintain Filesystem Integrity (2) Flashcards
Objective 104.2 Weight 2
Which of the following commands are used to tune filesystems?
- mke2fs
- tune2fs
- xfs_admin
- xfs_repair
- xfs_fsr
- btrfstune
- mke2fs
- tune2fs
- xfs_admin
- xfs_fsr
- btrfstune
The tune2fs, xfs_admin, xfs_fsr, and btrfstune utilities all tune a filesystem after it has been formatted. The mke2fs utility can format a filesystem and tune it at the same time.
You need to change a partition’s UUID, and the filesystem is an XFS filesystem. What utility should you use to accomplish this task?
- xfs_repair
- xfs_db
- xfs_repair
- xfs_repair -n
- xfs_admin
- xfs_fsr
- xfs_admin
The xfs_admin utility will allow you to change an XFS filesystem’s UUID through the use of the -U option.
Which of the following are filesystem mount points that should be on their own filesystem?
- /usr
- /etc
- /opt
- /var
- /tmp
- /usr/local
- /usr, 3. /opt, 4. /var, 5. /tmp AND 6. /usr/local
The /var, /tmp, /usr, /home, /opt, /boot, and /usr/local filesystem mount points should be on their own filesystem.
Which of the following are filesystem mount points that should not be on their own filesystem?
- /usr
- /etc
- /opt
- /bin
- /sbin
- /usr/local
- /etc, 4. /bin AND 5. /sbin
The /etc, /sbin, /dev, /bin, and /lib filesystem mount points should NOT be on their own filesystem.
Which of the following is true concerning systemd mount unit files?
- systemd reads /etc/fstab at boot to creates mount unit files
- systemd mounts filesystems at system boot time
- View systemd mounted filesystems via systemctl show-units
- Customized mount unit files are in /etc/systemd/system/
- Mount unit files have the .mnt file extension
- systemd reads /etc/fstab at boot to creates mount unit files
- systemd mounts filesystems at system boot time
- Customized mount unit files are in /etc/systemd/system/
systemd reads /etc/fstab at boot to creates mount unit files on-the-fly, and mounts the filesystems. To view systemd mounted filesystems use the systemctl -t mount list-units command. Customized mount unit files are in /etc/systemd/system/ and mount unit files have the .mount file extension.
You need to check and repair an XFS filesystem. What utility should you use to accomplish this task?
- xfs_chk
- xfs_db
- xfs_repair
- xfs_repair -n
- xfs_admin
- xfs_fsr
- xfs_repair
The xfs_repair utility will allow you to check and repair an XFS filesystem. The xfs_repair -n command only performs checks.