victorluiz
(usa Debian)
Enviado em 07/12/2023 - 13:00h
seguindo alguns passos que foi dado aqui no fórum e fiz o seguinte:
Executei o comando para marcar os blocos defeituosos e salvar num arquivo txt:
# badblocks -sv -c 1024 /dev/sda4 -o bad.txt
depois:
para informar ao S.O que não utilize os blocos ruins usei o e2fsck:
e2fsck -l bad.txt /dev/sda4
esse do efsck ficou assim:
2fsck -l bad.txt /dev/sda4
e2fsck 1.47.0 (5-Feb-2023)
Bad block 89773660 out of range; ignored.
Bad block 89773661 out of range; ignored.
Bad block 89773662 out of range; ignored.
Bad block 89773663 out of range; ignored.
Bad block 89864348 out of range; ignored.
Bad block 89864349 out of range; ignored.
Bad block 89864350 out of range; ignored.
Bad block 89864351 out of range; ignored.
Bad block 89920868 out of range; ignored.
Bad block 89920869 out of range; ignored.
Bad block 89920870 out of range; ignored.
Bad block 89920871 out of range; ignored.
Bad block 89994880 out of range; ignored.
Bad block 89994881 out of range; ignored.
Bad block 89994882 out of range; ignored.
Bad block 89994883 out of range; ignored.
Bad block 90284240 out of range; ignored.
Bad block 90284241 out of range; ignored.
Bad block 90284242 out of range; ignored.
Bad block 90284243 out of range; ignored.
Bad block 154939900 out of range; ignored.
Bad block 154939901 out of range; ignored.
Bad block 154939902 out of range; ignored.
Bad block 154939903 out of range; ignored.
Bad block 155003164 out of range; ignored.
Bad block 155003165 out of range; ignored.
Bad block 155003166 out of range; ignored.
Bad block 155003167 out of range; ignored.
Bad block 188271052 out of range; ignored.
Bad block 188271053 out of range; ignored.
Bad block 188271054 out of range; ignored.
Bad block 188271055 out of range; ignored.
/dev/sda4: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda4: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda4: 9879/12804096 files (4.9% non-contiguous), 1263541/51200000 blocks