728x90
반응형
dumpe2fs
- dumpe2fs는 ext2, ext3 파일시스템의 슈퍼블록, 블록 그룹 정보에 대하여 출력해주는 명령어
# dumpe2fs /dev/sda3 | more
위와 같은 형태로 사용하며 다음과 같은 옵션을 사용할 수 있다.
옵션
-b : 파일시스템에 bad system으로 set 되어 있는 블록을 출력한다.
-ob superblock : 파일시스템을 검사할 때 블록 단위로 슈퍼블록을 검사한다.
-oB blocksize : 파일시스템을 사용할 때 블록 단위로 블록 사이즈를 사용하여 검사한다.
-f : dumpe2fs가 제대로 처리하지 못하는 flag가 있더라도 강제적으로 파일시스템을 출력한다.
-h : 슈퍼블록 정보만 출력한다.
-i : e2image로 생성된 이미지파일로부터 파일시스템 정보를 출력한다.
-x : 16진수 형태로 자세한 정보를 보여준다.
-V : 버전 정보를 출력한다.
출력 내용은 아래와 같은 형태
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: ec6043bd-ab6a-4be5-a585-3559d20faa95
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: resize_inode dir_index filetype sparse_super large_file
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 125696
Block count: 251015
Reserved block count: 12550
Free blocks: 246750
Free inodes: 125685
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 61
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 15712
Inode blocks per group: 491
Filesystem created: Wed Aug 4 01:45:05 2010
Last mount time: n/a
Last write time: Wed Aug 4 01:45:05 2010
Mount count: 0
Maximum mount count: 33
Last checked: Wed Aug 4 01:45:05 2010
Check interval: 15552000 (6 months)
Next check after: Mon Jan 31 01:45:05 2011
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: d4d8536a-56e7-4b19-bf27-a3132770fe02
Group 0: (Blocks 0-32767)
Primary superblock at 0, Group descriptors at 1-1
Reserved GDT blocks at 2-62
Block bitmap at 63 (+63), Inode bitmap at 64 (+64)
Inode table at 65-555 (+65)
32206 free blocks, 15701 free inodes, 2 directories
Free blocks: 562-32767
Free inodes: 12-15712
Group 1: (Blocks 32768-65535)
Backup superblock at 32768, Group descriptors at 32769-32769
Reserved GDT blocks at 32770-32830
Block bitmap at 32831 (+63), Inode bitmap at 32832 (+64)
Inode table at 32833-33323 (+65)
32212 free blocks, 15712 free inodes, 0 directories
Free blocks: 33324-65535
Free inodes: 15713-31424
반응형
'Linux' 카테고리의 다른 글
Linux partprobe (0) | 2018.08.08 |
---|---|
Linux partx (0) | 2018.08.08 |
Linux gdisk (0) | 2018.08.08 |
Linux ioping (0) | 2018.08.08 |
Linux LVM snapshot LV로 백업 및 복구 (0) | 2018.08.08 |