指令
e2fsck
e2fsck - check a Linux ext2/ext3/ext4 file system
==============================================
resize2fs
resize2fs - ext2/ext3/ext4 file system resizer
It can be used to enlarge or shrink an unmounted file system located on device
If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel and the file system supports on-line resizing.
Modern Linux 2.6 kernels will support on-line resize for file systems mounted using ext3 and ext4;
ext3 file systems will require the use of file systems with the resize_inode feature enabled.
Filesystem features: resize_inode
tune2fs -l /dev/sda3
tune2fs - adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems
-l List the contents of the filesystem superblock, including the current values of the parameters that can be set via this program.
For a detailed description of the file system features, please see the man page ext4(5).