- Posted on
- Rameshkumar Muthusamy
- No Comments
What is a Linux Filesystem?
All data in Linux is organized into files. All files are organized into directories and these directories are organized into a tree-like structure called the Linux file system. So, a filesystem is the logical representation of the physical entity. All operating system uses a filesystem-specific driver to read from and/or write to a partition.
The most widely used native filesystem types in Linux are XFS, ext4, ext3, ext2, global file system, NFS, CIFS, SMB and FS-Cache. ext4 is the default file system used in most Linux distributions.
How to Gather a Filesystem Information?
DF command – the df commands allows to displays the system’s disk space usage with various options (-k, -g, -h,)
#df -h

In above,
  Filesystem – shows the absolute filesystem path
 Size  –  shows total  filesystem size in GB
 Used – used spaced in GB
 Avail – Available space in GB
 Mounted on – Displays filesystem mount point path
 DU command – The du command allows to displays the amount of space that is being used by files in a directory.
Â
[root@poclinux /]# du -sh *
123MÂ Â Â boot
24KÂ Â Â Â dev
24MÂ Â Â Â etc
52KÂ Â Â Â home
2.1GÂ Â Â mnt
204MÂ Â Â opt
28KÂ Â Â Â root
9.0MÂ Â Â run
1.2TÂ Â Â webmedia
86MÂ Â Â Â tmp
1.5GÂ Â Â usr
567MÂ Â Â var
[root@poclinux
Â
Â
Conclusion:Â
Unix/Linux filesystems acts like  backbone of the operating system data. It’s crucial to understand the fundamental structure of the same for easier administration.