Disk management in Linux involves tasks such as partitioning disks, formatting partitions with filesystems, mounting and unmounting filesystems, monitoring disk usage, and managing disk volumes. Here are some common tools and commands used for disk management in Linux:
| #df -h | it will show disk space usage |
| #df -i | it will show disk space with inode size |
| #lsblk | it will show all the connected disks |
| #fdisk -l | same as #lsblk but it will give more information about disks |
| #mkfs.ext4 #mkfs.xfs | it will make files system (ext4,xfs) |
| #mount -a | it will used for temorary mount |
| #etc/fstab | it will contains all the permanent mount disks details |
Leave a comment