I'll tell you what - take my thanks for your advice and a running jump for the rest. I told the forum that
Linux is not my OS but you clearly didn't get that in your ivory tower. I'll seek help elsewhere where
they are not so up their own A**e.
I am getting the following. Is this how you intend I use the command?
mint@mint ~ $ sudo /home/mint/humaxrw
Humax disk not found
mint@mint ~ $ /home/mint/humaxrw
Humax disk not found
mint@mint ~ $ sudo -i /home/mint/humaxrw
Humax disk not found
mint@mint ~ $ ./home/mint/humaxrw
bash...
I can try badblocks again now if you still need it but it does take several hours to run as you no doubt know, so i will only do it after you have revised the above?
I tried various versions of humaxrw code and they gave:
mint ~ # humaxrw /dev/sdc -l
humaxrw: command not found
mint ~ #
mint ~ # ./humaxrw /dev/sdc -l
-bash: ./humaxrw: No such file or directory
mint ~ # sudo ./humaxrw /dev/sdc -l -r
sudo: ./humaxrw: command not found
mint ~ # ./humaxrw...
This what first part produced:
mint ~ # while read block; do hdparm --repair-sector $block --yes-i-know-what-i-am-doing /dev/sdc; done </tmp/bad
/dev/sdc:
re-writing sector 566106440: succeeded
/dev/sdc:
re-writing sector 566106441: succeeded
/dev/sdc:
re-writing sector 566106442: succeeded...
After running above it produced:
mint mint # sudo -i
mint ~ # badblocks -b 512 -sv /dev/sdc 1>/tmp/bad
Checking blocks 0 to 625142447
Checking for bad blocks (read-only test): 0.00% done, 0:00 elapsed. (0/0/0 errdone
Pass completed, 40 bad...
OK trev will do
=== START OF INFORMATION SECTION ===
Model Family: Western Digital AV-GP
Device Model: WDC WD3200AVVS-63L2B0
Serial Number: WD-WCAV15967067
LU WWN Device Id: 5 0014ee 1584c4864
Firmware Version: 01.03A01
User Capacity: 320,072,933,376 bytes [320 GB]
Sector Size: 512 bytes...
Ran sudo smartctl -a /dev/sdc again and it gave:
mint@mint ~ $ sudo smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-37-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family...
Here is output of running tools:
mint@mint ~ $ sudo smartctl -a /dev/sdc
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-37-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.