(→같이 보기) |
|||
43번째 줄: | 43번째 줄: | ||
==같이 보기== | ==같이 보기== | ||
*[[CHKDSK]] | *[[CHKDSK]] | ||
*[[fdisk]] | *[[리눅스 fdisk]] | ||
*[[리눅스 badblocks]] | |||
*[[scrub]] | *[[scrub]] | ||
*[[Has gone x days without being checked, check forced.]] | *[[Has gone x days without being checked, check forced.]] |
2014년 7월 20일 (일) 17:27 판
1 개요
- filesystem check; fsck
- /sbin/fsck
- 리눅스 파일시스템 점검 프로그램
- 특정 조건(마운트 횟수, 점검기간)에 맞을 경우 부팅시 자동 실행됨
- (주의) 마운트된 상태에서 수행할 경우 망가질 수 있음
- 특별한 일이 없는 한 하지 않는 게 좋겠다. ;;
2 실행 예시
bat
Copy
[root@jmnote ~]# 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
bat
Copy
[root@jmnote ~]# 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
bat
Copy
/dev/sda1: recovering journal
/dev/sda1: clean, 38/76912 files, 42806/307200 blocks