![Blk_update_request: I/O 오류 재부팅 오류](https://rvso.com/image/1071684/Blk_update_request%3A%20I%2FO%20%EC%98%A4%EB%A5%98%20%EC%9E%AC%EB%B6%80%ED%8C%85%20%EC%98%A4%EB%A5%98.png)
Windows와 Ubuntu 20.04의 이중 부팅을 사용하는 컴퓨터가 다음 오류 메시지와 함께 검은색 화면으로 부팅됩니다.
[ 647.729444] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x40000 action 0x0
[ 647.729482] ata1.00: irq_stat 0x40000001
[ 647.729498] ata1: SError: {CommWake }
[ 647.729516] ata1.00: failed commands: READ DMA EXT
[ 647.729534] ata1.00: cmd 25/00:00:20:64:63/00:01:11:00:00/e0 tag 28 dfma 131072 in
[ 647.729534] res 51/40:68:b8:64:63/00:01:11:00:00/f1 Emask 0x9 (media error)
[ 647.729590] ata1.00: status: { DRDY ERR }
[ 647.729606] ata1.00: error: { UNC }
[ 647.730346] blk_update_request: I/O error, dev sda, sector 291726520 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
답변1
이 디스크를 불량 차단하고 다시 작동할 수 있는지 살펴보겠습니다.
참고: 불량 블록 스캔을 중단하지 마십시오!
참고: SSD를 잘못 차단하지 마십시오.
참고: 중요한 파일을 먼저 백업하세요!
참고: 이 작업은 몇 시간이 걸립니다.
참고: 보류 중인 HDD 오류가 있을 수 있습니다.
"Try Ubuntu" 모드에서 Ubuntu Live DVD/USB로 부팅합니다.
안에 terminal
...
sudo fdisk -l
# 모든 "Linux 파일 시스템" 파티션을 식별합니다.
sudo e2fsck -fcky /dev/sdXX
# 읽기 전용 테스트
또는
sudo e2fsck -fccky /dev/sdXX
# 비파괴 읽기/쓰기 테스트(권장)
-k는 이전 불량 블록 테이블을 저장하고 새 불량 블록을 해당 테이블에 추가하므로 중요합니다. -k를 사용하지 않으면 이전 불량 블록 정보가 모두 손실됩니다.
-fccky 매개변수...
-f Force checking even if the file system seems clean.
-c This option causes e2fsck to use badblocks(8) program to do
a read-only scan of the device in order to find any bad blocks.
If any bad blocks are found, they are added to the bad block
inode to prevent them from being allocated to a file or direc‐
tory. If this option is specified twice, then the bad block scan
will be done using a non-destructive read-write test.
-k When combined with the -c option, any existing bad blocks in the
bad blocks list are preserved, and any new bad blocks found by
running badblocks(8) will be added to the existing bad blocks
list.
-y Assume an answer of `yes' to all questions; allows e2fsck to be
used non-interactively. This option may not be specified at the
same time as the -n or -p options.