4-1 [Create and Configure File Systems] Create, Mount, Unmount and Use VFAT, EXT4 and XFS File Systems Flashcards
mkfs.ext /dev/xvdf1
Create VFAT file system at location
mount /dev/xvdf1 /mnt/location
Mount file system
fsck.vfat /dev/xvdf1
Check for file system consistency on vfat (ext)
mkfs.ext4 /dev/xvdf1
Create EXT4 file system on device
mount /dev/xvdf1 /mnt/location
Mount the file system at location
fsck /dev/xvdf1
Check for file system consistency on ext4
dumpe2fs /dev/xvdf1
Get details of file system on ext4, including UUID
tune2fs -L labelname /dev/xvdf1
Label the device on ext4
mkfs.xfs /dev/xvdf1
Create XFS file system on device
mount /dev/xvdf1 /mnt/location
Mount file system at location
XFS file system must be unmounted
xfs_repair /dev/xvdf1
Check for file system consistency for xfs
xfs_info /dev/xvdf1
Get details of file system for xfs
xfs_admin -L labelname /dev/xdf1
Label the device for xfs
VFAT
Extension of FAT file system, allowing log file names; often used in SAMBA shares or
when sharing files between Linux and Windows computers
EXT4
Common among Linux systems; journaling-based file system that can support up to 16TBs on Red Hat and up to 50TB in file system size