Linux Tutorials - Herong's Tutorial Examples
∟File Systems
This chapter provides introductions and tutorial on Linux file systems. Topics include 'df' to see disk free spaces of mounted file systems; 'mount' to access USB drive file systems; 'fdisk' to list partitions and file system types; 'dd' to copy data and test I/O speed; 'hdparm' to manage hard disk parameters; install 'ntfs-3g', 'cifs-utils', 'nfs-utils' to support Windows NTFS/shared folders and Linux NFS.
"df" - Display Free Space of File System
Mount USB Drive as File System
"dd" - Copy Data from/to Storage Devices
Use "dd" Command to Test I/O Speed
"du" - Display Disk Usage of Directories
Mount Windows NTFS File System
Access Persmissions on "ntfs-3g" File System
Mount Windows Shared Folders
W95 Ext'd (LBA) Partition
Reformat NTFS Partition into EXT4 Partition
NFS (Network File System)
Mount NFS (Network File System) on macOS
/etc/mtab and /etc/fstab Files
Unreachable Remote File Systems
Takeaways:
- "df” command can be used to display free spaces of mounted file systems.
- "mount" command can be used to bring file system partitions online.
"umount" command can be used to bring them offline.
- "fdisk -l " command can be used to list file system partitions and their
format types of a given storage device.
- "dd" command can be used to copy data as continuous blocks of bytes from one device to another
bypassing file system structures.
- "dd" command can also be used to test I/O (Input and Output) speed
of a given storage device.
- Mounting Windows NTFS file systems requires installation of the ntfs-3g device driver.
- Mounting Windows shared folders requires installation of the cifs-utils device driver.
- "parted" is a better alternative tool than "fdisk" to manipulate hard disk partitions.
- "fsmk -t ext4" command can be used to format a partition into an EXT4 file system.
- NSF (Network File System) allows you to share sub-directories between Linux systems.
- you must append "/"
at the end of the NFS file system name when mounting it on macOS computers.
- /etc/mtab holds currently mounted file systems.
- /etc/fstab holds file systems to be mounted at boot time.
Table of Contents
About This Book
Introduction to Linux Systems
Cockpit - Web Portal for Administrator
Process Management
Memory Management
Files and Directories
Users and Groups
►File Systems
Block Devices and Partitions
LVM (Logical Volume Manager)
Installing CentOS
SELinux - Security-Enhanced Linux
Network Connection on CentOS
Internet Networking Tools
SSH Protocol and ssh/scp Commands
Software Package Manager on CentOS - DNF and YUM
vsftpd - Very Secure FTP Daemon
LDAP (Lightweight Directory Access Protocol)
Administrative Tasks
References
Full Version in PDF/EPUB