Buy CSG Merchandise:
http://tee.pub/lic/csg
Buy me a coffee: https://ko-fi.com/csg_yt
Your support on Patreon is much appreciated: / computers_servers
More information on Sophos Home Antivirus:
http://bit.ly/SophosHP
More information about Hostinger VPS:
http://bit.ly/H-VPS
This video is based on RHEL 8.
Video to cover the section 'Create, mount, unmount, and use vfat, ext4, and xfs file systems' for the RHCSA (Red Hat Certified System Administrator).
More information on the required learning: http://bit.ly/rhcsa8
File system details:
VFAT: https://en.wikipedia.org/wiki/File_Al...
EXT4: https://en.wikipedia.org/wiki/Ext4
XFS: https://en.wikipedia.org/wiki/XFS
Notes from the video:
Vfat File System
To create an vfat file system:
mkfs.vfat /dev/vg1/lv1
To mount this file system:
mount /dev/vg1/lv1 /mnt
To mount it permanently, edit the /etc/fstab file and add the following line:
/dev/vg1/lv1 /mnt vfat defaults 1 2
To repair an unmounted file system consistency:
fsck.vfat /dev/vg1/lv1
Ext4 File System
To create an ext4 file system:
mkfs.ext4 /dev/vg1/lv1
To mount this file system:
mount /dev/vg1/lv1 /mnt
To mount it permanently, edit the /etc/fstab file and add the following line:
/dev/vg1/lv1 /mnt ext4 defaults 1 2
To check an unmounted file system consistency:
fsck /dev/vg1/lv1
To get details about a file system, type:
dumpe2fs /dev/vg1/lv1
Xfs File System
To create an xfs file system:
mkfs.xfs /dev/vg1/lv1
To mount this file system:
mount /dev/vg1/lv1 /mnt
To mount it permanently, edit the /etc/fstab file and add the following line:
/dev/vg1/lv1 /mnt xfs defaults 1 2
To repair an unmounted file system consistency:
xfs_repair /dev/vg1/lv1
To get details about a mounted file system:
xfs_info /dev/vg1/lv1
#rhcsa #rhel #linux