리눅스 badblocks

1 개요[편집]

리눅스 badblocks
/sbin/badblocks
  • 디스크에 배드 섹터가 있는지 검사하는 리눅스 명령어

2 실행 예시[편집]

[root@CentOS57 ~]# fdisk -l

Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          38      305203+  83  Linux
/dev/sda2              39        2353    18595237+  83  Linux
/dev/sda3            2354        2610     2064352+  82  Linux swap / Solaris
[root@CentOS57 ~]# badblocks -v /dev/sda1
Checking blocks 0 to 305203
Checking for bad blocks (read-only test): done                                
Pass completed, 0 bad blocks found.

3 같이 보기[편집]

4 참고[편집]

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