특정 파일시스템의 상세정보와 그 사용내역 확인하기
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,220 조회
- 0 추천
- 목록
본문
특정 파일시스템의 상세정보와 그 사용내역 확인하기
특정 파일시스템의 사용내역을 확인하고자 한다면 다음과 같이 dumpe2fs다음에 파일시스템 장치명만 주시면 됩니다.
다음 예는 /dev/sda3파일시스템의 상세정보를 확인하기 위하여 “dumpe2fs /dev/sda3”를 실행한 것입니다.
결과내용이 좀 길기는 하지만 파일시스템의 정보에 어떤 내용들이 들어있는가를 확인하기 위하여 모두 나타낸 것입니다.
[root@su250 ~]# dumpe2fs /dev/sda3 dumpe2fs 1.41.3 (12-Oct-2008) 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 2008 Last mount time: Mon Jan 5 19:23:03 2009 Last write time: Mon Jan 5 19:23:03 2009 Mount count: 31 Maximum mount count: -1 Last checked: Mon Dec 1 21:47:55 2008 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@su250 ~]# |
위의 결과를 보시면 이번 장의 서두에서 설명드린 파일시스템의 세부정보들이 결과로 출력되었다는 것을 알 수 있습니다.
즉, 우리는 /dev/sda3 파일시스템에 대한 다음 정보들을 알 수 있습니다.
. 파일시스템 레이블명(Volume name) : /home
. 파일시스템(Filesystem) state : clean
. 파일시스템(Filesystem) OS type : Linux
. Inode 개수(count) : 65808
. Block 개수(count) : 263064
. 예비블록 개수(Reserved block count) : 13153
. 미사용(유휴) 블록수(Free blocks) : 250021
. 미사용(유휴) inodes(Free inodes) : 65595
. 첫번째블록번호(First block) : 0번 블록
. 블록 크기(Block size) : 4096 bytes
. 프레그먼트 크기(Fragment size) : 4096 bytes
. 블록그룹 당 블록수(Blocks per group) : 32768 blocks
. 블록그룹 당 프레그먼트수(Fragments per group) : 32768 blocks
. 블록그룹 당 Inode수(Inodes per group) : 7312
. 블록그룹 당 Inode블록수(Inode blocks per group) : 457
. 파일시스템 생성날짜(Filesystem created) : Mon Dec 1 21:47:55 2008
. 최근 마운트시간(Last mount time) : Mon Jan 5 19:23:03 2009
. 최근 저장시간(Last write time) : Mon Jan 5 19:23:03 2009
. 마운트 횟수(Mount count) : 31
. 최대 가능한 마운트횟수(Maximum mount count) : -1
. 최종 점검시간(Last checked) : Mon Dec 1 21:47:55 2008
. 첫번째 INODE (First inode) : 11
. INODE 사이즈(Inode size) : 256
그리고 각 블록그룹별( 0번 블록그룹부터 N번 블록그룹까지) 수퍼블록 및 백업 수퍼블록등의 정보를 모두 확인할 수 있습니다.
관련자료
-
이전
-
다음