檢視linux檔案系統的塊大小

tonykorn97發表於2007-04-17

學習tune2fs命令


[root@test tapeback]# man tune2fs
TUNE2FS(8) TUNE2FS(8)

NAME
tune2fs - adjust tunable filesystem parameters on second extended
filesystems

SYNOPSIS
tune2fs [ -l ] [ -c max-mount-counts ] [ -e errors-behavior ] [ -f ] [
-i interval-between-checks ] [ -j ] [ -J journal-options ] [ -m
reserved-blocks-percentage ] [ -o [^]mount-options[,...] ]

[ -r reserved-blocks-count ] [ -s sparse-super-flag ] [ -u user ] [ -g
group ] [ -C mount-count ] [ -L volume-name ] [ -M last-mounted-direc-
tory ] [ -O [^]feature[,...] ] [ -T time-last-checked ] [ -U UUID ]
device

DESCRIPTION
tune2fs adjusts tunable filesystem parameters on a Linux second
extended filesystem.

[root@test tapeback]# tune2fs -l /dev/sda1
tune2fs 1.32 (09-Nov-2002)
Filesystem volume name: /boot
Last mounted on:
Filesystem UUID: 2e3012cb-d100-4bb3-a31d-04925d91e801
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype needs_recovery sparse_super
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 26104
Block count: 104391
Reserved block count: 5219
Free blocks: 91706
Free inodes: 26069
First block: 1
Block size: 1024
Fragment size: 1024
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 2008
Inode blocks per group: 251
Filesystem created: Tue Apr 10 23:02:26 2007
Last mount time: Tue Apr 10 16:09:17 2007
Last write time: Tue Apr 10 16:09:17 2007
Mount count: 5
Maximum mount count: -1
Last checked: Tue Apr 10 23:02:26 2007
Check interval: 0 ()
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal UUID:
Journal inode: 8
Journal device: 0x0000
First orphan inode: 0

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-245643/,如需轉載,請註明出處,否則將追究法律責任。

相關文章