[root@zetawiki ~]# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00050f39
Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 2358 18631680 83 Linux
/dev/sda3 2358 2611 2031616 82 Linux swap / Solaris
Jmnote bot (토론 | 기여) 잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki)) |
(→같이 보기) |
||
69번째 줄: | 69번째 줄: | ||
*[[CHKDSK]] | *[[CHKDSK]] | ||
*[[리눅스 fdisk]] | *[[리눅스 fdisk]] | ||
*[[리눅스 e2fsck]] | |||
*[[리눅스 badblocks]] | *[[리눅스 badblocks]] | ||
*[[리눅스 dumpe2fs]] | *[[리눅스 dumpe2fs]] |
2015년 12월 13일 (일) 01:27 판
1 개요
- filesystem check; fsck
- /sbin/fsck
- 리눅스 파일시스템 점검 프로그램
- 특정 조건(마운트 횟수, 점검기간)에 맞을 경우 부팅시 자동 실행됨
- (주의) 마운트된 상태에서 수행할 경우 망가질 수 있음
- 특별한 일이 없는 한 하지 않는 게 좋겠다. ;;
2 실행예시 1
Copy
Copy
[root@zetawiki ~]# fsck /dev/sda1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sda1 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
Do you really want to continue (y/n)? yes
Copy
/dev/sda1: recovering journal
/dev/sda1: clean, 38/76912 files, 42806/307200 blocks
3 실행예시 2
Copy
[root@zetawiki ~]# fsck
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/dev/VolGroup00/LogVol00: recovering journal
Clearing orphaned inode 1962250 (uid=0, gid=0, mode=0100600, size=130)
Clearing orphaned inode 1962247 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962246 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962245 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962244 (uid=27, gid=27, mode=0100600, size=0)
Clearing orphaned inode 1962243 (uid=27, gid=27, mode=0100600, size=0)
/dev/VolGroup00/LogVol00: clean, 140202/9451456 files, 2342044/9445376 blocks
e2fsck 1.39 (29-May-2006)
/dev/vda1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
/boot: recovering journal
/boot: clean, 47/26104 files, 30099/104388 blocks
4 같이 보기
- CHKDSK
- 리눅스 fdisk
- 리눅스 e2fsck
- 리눅스 badblocks
- 리눅스 dumpe2fs
- scrub
- Has gone x days without being checked, check forced.
5 참고 자료
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.