My fucking hard-disk is fucking dying !! Shit ! I wasnt expecting for this !
I was on MSN , firefox , audacious , bla bla bla , 4chan (lulz). So I got I/O errors and every command would not respond properly (A.K.A. I/O ERROR). I tried to soft-reboot... error ---> hard-reset.
OK. All partitions were recovered , except the /home !
Except the directory that all my personal stuff were in ! FUCK !
So. I tried :
fsck.ext3 /dev/sda7 ---> "blablabla zero lenght partition ?"
fsck.ext3 -y -b 32768 /dev/sda7 ---> "blablabla short write on block 1"
then tried to mount:
mount /dev/sda7 /home ---> "wrong partition ,option blablabla"
mount -t ext3 /dev/sda7 /home ---> "wrong partition ,option blablabla"
OK.
Decided to check dmesg:
...
[ 2120.684070] ata1.00: status: { DRDY ERR }
[ 2120.684071] ata1.00: error: { UNC }
...
[ 2120.687056] sd 0
[ 2120.687060] Descriptor sense data with sense descriptors (in hex):
[ 2120.687061] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 2120.687066] 01 17 f1 37
[ 2120.687069] sd 0
[ 2120.687073] end_request: I/O error, dev sda, sector 18346295
...
Nice huh ? xD I was happy when I read that shit.
So. I tried compiling another kernel , as I thought that was a problem with the current kernel(2.6.28-r5) as I upgraded recently ( Kernel Regession )
No results...
So...
mkfs.ext3 -n /dev/sda7 OBS: DONT EVER FORGET THE "-n" OR YOUR PARTITION WILL BE ERASED !!!
to see the superblocks.
I tried 3 more superblocks with "fsck.ext3 -y -b [superblock] /dev/sda7"
didnt work.
Rebooted a dozen times and nothing.
Hard-Drive EPIC FAIL
SOLUTION:
BACKING UP WHILE STILL HAVE TIME. Thats why I recommend having another hd for some sort of backup...
So , if you are in the same trouble , try this.
mkfs.[type] -n /dev/[device]
See the list of superblocks.
In case you use a 4096k allocation, then you must multiply the number of superblocks by 4. So a 32768 superblock will be 131072.
then "mount -o sb=131072 -t [type] /dev/[device] [mount point]"
In my case was "mount -o sb=131072 -t ext3 /dev/sda7 /home"
TADA !
Now you can do your backup.
S.M.A.R.T didnt help.
S.M.A.R.T was completely useless.
I just tried smartd when the problem was already there... so the tests didnt match the current state of the hard-drive. (short , long)
But , I recommend usind smartd on older hard-drives , as smartd could detect these problems when they occur , giving certainty that it is a hardware problem.
Hard-drives usualy have a 3-year guarantee.
I have some old hds here , like 10+ yrs old and no errors.
But dont expect your hd to be immortal and flawless... even if its new.
So... Good luck on your backups ! ^^






To be continued...
--
The bard ~~
--
************************************
'In pencil we trust
Previous PageNext Page