"리눅스 fsck"의 두 판 사이의 차이

5번째 줄: 5번째 줄:
*리눅스 파일시스템 점검 프로그램
*리눅스 파일시스템 점검 프로그램
*특정 조건(마운트 횟수, 점검기간)에 맞을 경우 부팅시 자동 실행됨
*특정 조건(마운트 횟수, 점검기간)에 맞을 경우 부팅시 자동 실행됨
==실행 예시==
<source lang='dos'>
[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
</source>
<source lang='dos'>
[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
</source>
<source lang='dos'>
/dev/sda1: recovering journal
/dev/sda1: clean, 38/76912 files, 42806/307200 blocks
</source>


==같이 보기==
==같이 보기==

2013년 12월 19일 (목) 01:51 판

1 개요

filesystem check; fsck
/sbin/fsck
  • 리눅스 파일시스템 점검 프로그램
  • 특정 조건(마운트 횟수, 점검기간)에 맞을 경우 부팅시 자동 실행됨

2 실행 예시

[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
[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
/dev/sda1: recovering journal
/dev/sda1: clean, 38/76912 files, 42806/307200 blocks

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}