View Single Post
  #1   (View Single Post)  
Old 5th May 2022
ripe's Avatar
ripe ripe is offline
Package Pilot
 
Join Date: Feb 2013
Location: France
Posts: 175
Default wdok: uncorrectable data error reading

Hi,
My hdd seems to have problems. I was listing to music on Internet and recording it with aucat when the system stop to respond and I have to do a manual reboot.
At the reboot, the system check and I have this message:
Code:
The following file system had an unexpected inconsistency:
ffs: 70dd...........(/home)
Automatic file system check failed; help!
Enter pathname of shell or Return for sh:
I hit enter and type:
Code:
fsck -y
and some messages like this appear:
Code:
wdok: uncorrectable data error reading fsbn 24053952 of 24053952-24053983 (wd0 bn 5394480032; cn 9224 tn 208 sn 48), retrying
...
Cannot read: BLK 24053952
Continue? yes
fsck finish his job and I have to reboot.

I think I wrote on a bad sector and this stop system.
Trying this method https://caoua.org/alex/obsd/badsect.html seems to not help.e
Code:
# umount /dev/wd0k   
umount: /home: Device busy

if=/dev/rwd0k skip=24053952 of=/dev/null count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.016 secs (31810 bytes/sec)

e# dd if=/dev/zero of=/dev/rwd0k seek=24053952 count=1 
dd: /dev/rwd0k: Device busy

Any idea?
Thanks
Attached Files
File Type: txt dmesg_05_05_2022.txt (6.8 KB, 18 views)

Last edited by ripe; 5th May 2022 at 10:41 AM. Reason: Bad typo
Reply With Quote