1 개요[ | ]
- 리눅스 dumpe2fs
- /sbin/dumpe2fs
- "dump filesystem information"
- 파일시스템 정보 출력
- 파일시스템의 블록 정보를 보여주는 리눅스 명령어
- 지정한 파일시스템의 슈퍼블록, 블록그룹 정보 출력
2 실행예시 1[ | ]
Console
Copy
[root@zetawiki ~]# fdisk -l /dev/xvda
Disk /dev/xvda: 31.4 GB, 31457280000 bytes
255 heads, 63 sectors/track, 3824 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 13 104391 83 Linux
/dev/xvda2 14 3824 30611857+ 8e Linux LVM
Console
Copy
[root@zetawiki ~]# dumpe2fs /dev/xvda1
dumpe2fs 1.39 (29-May-2006)
Filesystem volume name: /boot
Last mounted on: <not available>
Filesystem UUID: 5976dfab-b217-4dfa-90c3-7c50cc3ed0b9
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 26104
Block count: 104388
Reserved block count: 5219
Free blocks: 64318
Free inodes: 26045
First block: 1
Block size: 1024
Fragment size: 1024
Reserved GDT blocks: 256
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 2008
Inode blocks per group: 251
Filesystem created: Thu Sep 4 09:49:10 2008
Last mount time: Sat May 25 13:13:39 2013
Last write time: Sat May 25 13:13:39 2013
Mount count: 43
Maximum mount count: -1
Last checked: Thu Sep 4 09:49:10 2008
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: 30bd8d42-905e-4d52-bbdc-3d007f720a5f
Journal backup: inode blocks
Journal size: 4114k
Group 0: (Blocks 1-8192)
Primary superblock at 1, Group descriptors at 2-2
Reserved GDT blocks at 3-258
Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
Inode table at 261-511 (+260)
0 free blocks, 1975 free inodes, 2 directories
Free blocks:
Free inodes: 34-2008
Group 1: (Blocks 8193-16384)
Backup superblock at 8193, Group descriptors at 8194-8194
Reserved GDT blocks at 8195-8450
Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
Inode table at 8453-8703 (+260)
0 free blocks, 2008 free inodes, 0 directories
Free blocks:
Free inodes: 2009-4016
Group 2: (Blocks 16385-24576)
Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
Inode table at 16387-16637 (+2)
0 free blocks, 2008 free inodes, 0 directories
Free blocks:
Free inodes: 4017-6024
... (생략)
Group 12: (Blocks 98305-104387)
Block bitmap at 98305 (+0), Inode bitmap at 98306 (+1)
Inode table at 98307-98557 (+2)
5830 free blocks, 2008 free inodes, 0 directories
Free blocks: 98558-104387
Free inodes: 24097-26104
Console
Copy
[root@zetawiki ~]# dumpe2fs /dev/xvda2
dumpe2fs 1.39 (29-May-2006)
dumpe2fs: Bad magic number in super-block while trying to open /dev/xvda2
Couldn't find valid filesystem superblock.
3 실행예시 2[ | ]
Console
Copy
[root@zetawiki ~]# dumpe2fs /dev/mapper/VolGroup00-LogVol00
dumpe2fs 1.39 (29-May-2006)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: c21e396b-113a-439d-bb93-4ef984df081c
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype sparse_super large_file
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 9451456
Block count: 9445376
Reserved block count: 472268
Free blocks: 7103332
Free inodes: 9311254
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1021
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 32704
Inode blocks per group: 1022
Filesystem created: Tue Apr 24 19:59:09 2012
Last mount time: Thu Dec 11 08:56:55 2014
Last write time: Thu Dec 11 10:06:07 2014
Mount count: 20
Maximum mount count: -1
Last checked: Tue Apr 24 19:59:09 2012
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: f40e8c1c-156c-412f-a282-bba10e1c3643
Journal backup: inode blocks
Journal size: 128M
Group 0: (Blocks 0-32767)
Primary superblock at 0, Group descriptors at 1-3
Reserved GDT blocks at 4-1024
Block bitmap at 1025 (+1025), Inode bitmap at 1026 (+1026)
Inode table at 1027-2048 (+1027)
0 free blocks, 32693 free inodes, 2 directories
Free blocks:
Free inodes: 12-32704
... (생략)
Group 288: (Blocks 9437184-9445375)
Block bitmap at 9437184 (+0), Inode bitmap at 9437185 (+1)
Inode table at 9437186-9438207 (+2)
7168 free blocks, 32704 free inodes, 0 directories
Free blocks: 9438208-9445375
Free inodes: 9418753-9451456
4 같이 보기[ | ]
5 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.