Maintain the integrity of filesystems Flashcards
What command will check the configutation of ext2 or ext3 partitions?
dumpe2fs /dev/sda1
What command will show the configuration of a xfs partition?
xfs_info /dev/sda1
What command could be used to send xfs data for debugging to the xfs devs?
xfs_metadump
What command is used to change the parameters that are output in dumpe2fs?
tune2fs
What command and switch will change the mount count needed before a check on ext2 and ext3?
tune2fs /dev/sdb1 -c 100
What command and switch will change the mount count on ext2 and ext3?
tune2fs /dev/sdb1 -C 100
What command and switch will add jounaling on ext2?
tune2fs /dev/sdb1 -j
What command and switch will change the reserved blocks percentage on ext2 and ext3?
tune2fs /dev/sdb1 -m 10
Before using tune2fs, what should you do?
Unmount the disk
What xfs command will set the 2 jounal format?
xfs_admin /dev/sdb2/ -j
What xfs_admin command will show the UUID?
xfs_admin -u /dev/sda1
What xfs_admin command will show the label?
xfs_admin -l /dev/sda1
What xfs_admin command will change the UUID?
xfs_admin -U xxxx /dev/sda1
What xfs_admin command will change the label?
xfs_admin -L xxxx /dev/sda1
What should be done to an xfs partition before editing its atttributes?
unmount