在linux系统上,可以用命令tune2fs ,测试如下
[root@localhost test10g]# tune2fs -helptune2fs 1.35 (28-Feb-2004)tune2fs: invalid option -- hUsage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group] [-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] [-m reserved-blocks-percent] [-o [^]mount-options[,...]] [-r reserved-blocks-count] [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device[root@localhost test10g]# dfFilesystem 1K-blocks Used Available Use% Mounted on/dev/sda2 8776068 7576504 753764 91% //dev/sda1 497829 16303 455824 4% /bootnone 517300 0 517300 0% /dev/shm/dev/sda5 1035660 96452 886600 10% /tmp[root@localhost test10g]# tune2fs -l /dev/sda1|grep BlockBlock count: 514048Block size: 1024 Blocks per group: 8192[root@localhost test10g]# tune2fs -l /dev/sda2|grep BlockBlock count: 2229018Block size: 4096Blocks per group: 32768
评论列表()