浏览 7222 次
锁定老帖子 主题:tune2fs命令使用详解
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2008-08-03
-l 查看详细信息 -c 设置自检次数 -I 设置自检天数 -m 设置预留空间 -j 格式转换 [root@rhel4 ~]# tune2fs -l /dev/ram3 tune2fs 1.35 (28-Feb-2004) Filesystem volume name: <none> Last mounted on: <not available> Filesystem UUID: 9f7c895c-88bc-4f33-9b66-2b99214d9ff5 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: resize_inode filetype sparse_super Default mount options: (none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 4096 Block count: 16384 Reserved block count: 819 Free blocks: 15723 Free inodes: 4085 First block: 1 Block size: 1024 Fragment size: 1024 Reserved GDT blocks: 63 Blocks per group: 8192 Fragments per group: 8192 Inodes per group: 2048 Inode blocks per group: 256 Filesystem created: Fri Feb 15 22:05:49 2008 Last mount time: n/a Last write time: Fri Feb 15 22:05:49 2008 Mount count: 0 Maximum mount count: 33 Last checked: Fri Feb 15 22:05:49 2008 Check interval: 15552000 (6 months) Next check after: Wed Aug 13 22:05:49 2008 Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Default directory hash: tea Directory Hash Seed: 9dee2fa5-8d27-44a9-b7b3-a4a2a55d2c32 [root@rhel4 ~]# tune2fs -c 1000 /dev/ram3 tune2fs 1.35 (28-Feb-2004) Setting maximal mount count to 1000 [root@rhel4 ~]# tune2fs -i 30d /dev/ram3 tune2fs 1.35 (28-Feb-2004) Setting interval between check 2592000 seconds [root@rhel4 ~]# tune2fs -m 2 /dev/ram3 tune2fs 1.35 (28-Feb-2004) Setting reserved blocks percentage to 2 (326 blocks) [root@rhel4 ~]# tune2fs -j /dev/ram3 tune2fs 1.35 (28-Feb-2004) Creating journal inode: done This filesystem will be automatically checked every 1000 mounts or 30 days, whichever comes first. Use tune2fs -c or -i to override. [root@rhel4 ~]# tune2fs -l /dev/ram3 tune2fs 1.35 (28-Feb-2004) Filesystem volume name: <none> Last mounted on: <not available> Filesystem UUID: 9f7c895c-88bc-4f33-9b66-2b99214d9ff5 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal resize_inode filetype sparse_super Default mount options: (none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 4096 Block count: 16384 Reserved block count: 326 Free blocks: 14693 Free inodes: 4085 First block: 1 Block size: 1024 Fragment size: 1024 Reserved GDT blocks: 63 Blocks per group: 8192 Fragments per group: 8192 Inodes per group: 2048 Inode blocks per group: 256 Filesystem created: Fri Feb 15 22:05:49 2008 Last mount time: n/a Last write time: Fri Feb 15 22:08:21 2008 Mount count: 0 Maximum mount count: 1000 Last checked: Fri Feb 15 22:05:49 2008 Check interval: 2592000 (1 month) Next check after: Sun Mar 16 22:05:49 2008 Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal inode: 8 Default directory hash: tea Directory Hash Seed: 9dee2fa5-8d27-44a9-b7b3-a4a2a55d2c32 Journal backup: inode blocks 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |