# 디스크 badblock 확인방법

<table border="1" id="bkmrk-perplexity%EC%97%90%EC%84%9C-%EC%83%9D%EC%84%B1%ED%95%9C-ai%EC%9D%B4" style="border-collapse: collapse; width: 100%; height: 59.757px;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr style="height: 29.8785px;"><td style="height: 29.8785px;">[![image.png](http://igoni.kr/uploads/images/gallery/2026-02/scaled-1680-/CxTimage.png)](http://igoni.kr/uploads/images/gallery/2026-02/CxTimage.png)

</td></tr><tr style="height: 29.8785px;"><td class="align-right" style="height: 29.8785px;">perplexity에서 생성한 AI이미지</td></tr></tbody></table>

1. smartctl을 이용한 디스크 상태 확인 ```shell
    $ smartctl -l selftest /dev/sda
    ```
2. badblock 명령어를 이용한 배드블록 확인 ```shell
    $ badblocks -v /dev/sda
    ```