dumpe2fs실무1편: 특정 파일시스템의 상세정보와 그 사용내역 확인하기
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,174 조회
- 0 추천
- 목록
본문
dumpe2fs실무1편: 특정 파일시스템의 상세정보와 그 사용내역 확인하기
특정 파일시스템의 사용내역을 확인하고자 한다면 다음과 같이 dumpe2fs다음에 파일시스템 장치명만 주면 된다.
다음 예는 /dev/sda3파일시스템의 상세정보를 확인하기 위하여 “dumpe2fs /dev/sda3”를 실행한 것이다.
결과내용이 좀 길기는 하지만 파일시스템의 정보에 어떤 내용들이 들어있는가를 확인하기 위하여 모두 나타낸 것이다.
[root@sulinux ~]# dumpe2fs /dev/sda3 dumpe2fs 1.41.3 (12-Oct-2018) Filesystem volume name: /home Last mounted on: <not available> Filesystem UUID: e258fd21-3bda-4c09-8e71-bb0519d6b2cc 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 Filesystem flags: signed_directory_hash Default mount options: user_xattr acl Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 65808 Block count: 263064 Reserved block count: 13153 Free blocks: 250021 Free inodes: 65595 First block: 0 Block size: 4096 Fragment size: 4096 Reserved GDT blocks: 64 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 7312 Inode blocks per group: 457 Filesystem created: Mon Dec 1 21:47:55 2018 Last mount time: Mon Jan 5 19:23:03 2019 Last write time: Mon Jan 5 19:23:03 2019 Mount count: 31 Maximum mount count: -1 Last checked: Mon Dec 1 21:47:55 2018 Check interval: 0 (<none>) Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 256 Required extra isize: 28 Desired extra isize: 28 Journal inode: 8 Default directory hash: half_md4 Directory Hash Seed: d8d9df44-8e11-4cbc-a345-a394c6bec699 Journal backup: inode blocks Journal size: 32M
Group 0: (Blocks 0-32767) Primary superblock at 0, Group descriptors at 1-1 Reserved GDT blocks at 2-65 Block bitmap at 66 (+66), Inode bitmap at 67 (+67) Inode table at 68-524 (+68) 24033 free blocks, 7301 free inodes, 2 directories Free blocks: 8735-32767 Free inodes: 12-7312 Group 1: (Blocks 32768-65535) Backup superblock at 32768, Group descriptors at 32769-32769 Reserved GDT blocks at 32770-32833 Block bitmap at 32834 (+66), Inode bitmap at 32835 (+67) Inode table at 32836-33292 (+68) 32231 free blocks, 7296 free inodes, 6 directories Free blocks: 33293-45179, 45181-45190, 45192-51199, 51208-55295, 55297-57343, 57345-65535 Free inodes: 7326-7329, 7331, 7333-7334, 7336-14624 Group 2: (Blocks 65536-98303) Block bitmap at 65536 (+0), Inode bitmap at 65537 (+1) Inode table at 65538-65994 (+2) 32309 free blocks, 7312 free inodes, 0 directories Free blocks: 65995-98303 Free inodes: 14625-21936 Group 3: (Blocks 98304-131071) Backup superblock at 98304, Group descriptors at 98305-98305 Reserved GDT blocks at 98306-98369 Block bitmap at 98370 (+66), Inode bitmap at 98371 (+67) Inode table at 98372-98828 (+68) 32235 free blocks, 7304 free inodes, 5 directories Free blocks: 98829-126975, 126984-131071 Free inodes: 21945-29248 Group 4: (Blocks 131072-163839) Block bitmap at 131072 (+0), Inode bitmap at 131073 (+1) Inode table at 131074-131530 (+2) 32309 free blocks, 7312 free inodes, 0 directories Free blocks: 131531-163839 Free inodes: 29249-36560 Group 5: (Blocks 163840-196607) Backup superblock at 163840, Group descriptors at 163841-163841 Reserved GDT blocks at 163842-163905 Block bitmap at 163906 (+66), Inode bitmap at 163907 (+67) Inode table at 163908-164364 (+68) 32234 free blocks, 7303 free inodes, 5 directories Free blocks: 164365-169983, 169992-192519, 192521-196607 Free inodes: 36569-36570, 36572-43872 Group 6: (Blocks 196608-229375) Block bitmap at 196608 (+0), Inode bitmap at 196609 (+1) Inode table at 196610-197066 (+2) 32309 free blocks, 7312 free inodes, 0 directories Free blocks: 197067-229375 Free inodes: 43873-51184 Group 7: (Blocks 229376-262143) Backup superblock at 229376, Group descriptors at 229377-229377 Reserved GDT blocks at 229378-229441 Block bitmap at 229442 (+66), Inode bitmap at 229443 (+67) Inode table at 229444-229900 (+68) 31900 free blocks, 7143 free inodes, 81 directories Free blocks: 229974-231423, 231446-231463, 231485-237567, 237572-239615, 239620-241663, 241665-241676, 241724-241727, 241729-243719, 243775-245759, 245762-247807, 247824, 247826-247827, 247831-247833, 247838-247842, 247845-247850, 247860, 247864, 247866-247877, 247880-249855, 249857-249862, 249867-249871, 249873-251903, 251906, 251917-253951, 253953-253959, 253963-253968, 253974, 253997-255999, 256007, 256012-258049, 258051-260095, 260107-262143 Free inodes: 51353-51356, 51358-58496 Group 8: (Blocks 262144-263063) Block bitmap at 262144 (+0), Inode bitmap at 262145 (+1) Inode table at 262146-262602 (+2) 461 free blocks, 7312 free inodes, 0 directories Free blocks: 262603-263063 Free inodes: 58497-65808 [root@sulinux ~]# |
위의 결과를 보면 서두에서 설명한 파일시스템의 세부정보들이 결과로 출력되었다는 것을 알 수 있다.
즉 우리는 /dev/sda3 파일시스템에 대한 다음 정보들을 알 수 있다.
관련자료
-
이전
-
다음