Essa semana precisei ver o tamanho de cada bloco de alocação de uma partição no linux! Achei na net o comando abaixo:
dumpe2fs partição
Ex:
dumpe2fs /dev/sda1 |more ou dumpe2fs /dev/mapper/VG01-LV03 |more
Obs: o "|more" é para ele travar no inicio e tu ir passando as paginas aos poucos.
Resultado
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: 9c2f0396-b3d3-48fd-ae90-786226c709bd
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 26836992
Block count: 26828800
Reserved block count: 1341440
Free blocks: 19138731
Free inodes: 26836874
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1017
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 32768
Inode blocks per group: 1024
Filesystem created: Tue May 11 15:17:24 2010
Last mount time: Mon Jun 25 16:34:03 2012
Last write time: Mon Jun 25 16:34:03 2012
Mount count: 50
Maximum mount count: -1
Last checked: Tue May 11 15:17:24 2010
Check interval: 0 (<none>)
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: 3efcdca8-2216-4cb4-80e0-ad34c8441b35
Journal backup: inode blocks
Journal size: 128M
É isso aí!
Feito!
Feito!
Nenhum comentário:
Postar um comentário