I also tried
e2fsck -d -c -c -v -f /dev/sda1
then rebooting, but I keep getting the ata1.00 errors
I also tried
e2fsck -d -c -c -v -f /dev/sda1
then rebooting, but I keep getting the ata1.00 errors
Do you have the desktop live CD? The server edition is just an installer and it doesn't have a lot of tools available as you can see (no fsck).
If you can't connect to it there's really no other option.Also next time I have a power failure, how can I get it to fix itself automatically? I couldn't SSH into my server, and this lugging out monitors and keyboards is a pain.
Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 1 X 1TB, 2 X 3TB HDD
Please don't request support via PM
From ubuntu live CD:
Reboot still has same ata1.00 errorsCode:ubuntu@ubuntu:~$ sudo fsck /dev/sda1 fsck from util-linux-ng 2.17.2 e2fsck 1.41.11 (14-Mar-2010) /dev/sda1: clean, 204/124496 files, 35686/248832 blocks
Hmmm. Well it doesn't appear to be file system corruption. If there was in fact a power surge then I would start suspecting a hardware problem. Perhaps try unplugging and replugging everything inside the server. Sometimes that has some magical effect.
Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 1 X 1TB, 2 X 3TB HDD
Please don't request support via PM
Okay so now I tried using smartmontools - I'm trying to follow http://smartmontools.sourceforge.net/badblockhowto.html
I note that the LBA_of_first_error matches this line:Code:sudo smartctl -t short /dev/sda1 ... sudo smartctl -l selftest /dev/sda1 ... Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 90% 317 541835248 sudo fdisk -lu /dev/sda1 Disk /dev/sda1: 254 MB, 254803968 bytes 255 heads, 63 sectors/track, 30 cylinders, total 497664 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk Identifier: 0x00000000 Disk /dev/sda1 doesn't contain a valid partition table
end_request: I/O error, dev sda, sector 541835248
Now when I try this though:
Now I'm unsure what to do to resolve my problem.Code:sudo fdisk -lu /dev/sda Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk Identifier: 0x00051561 Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 501758 625141759 312320001 5 Extended /dev/sda5 501760 625141759 312320000 8e Linux LVM
I just had a laptop running windows give those same errors at my job and it turned out to be a bad harddrive. I suggest backing up all your data ASAP and then try fixing drive maybe with something like hirens boot disc. In my situation the drive was literally unreadable so i had am in the process of trying out forensics on the drive.
Ubuntu Christian Edition chat on irc at server: OFTC/channel: #ubuntuCE
BootInfoScript DualBooting
Grub Grub2 MBR/GRUB
Boot Info Script courtesy of community member meierfra and ghulselmans
Well I can still access all my data, so I doubt that its a broken hard drive - the hard drive is a high quality one, and its only several months old.
Unplugging everything did not have the desired magical effect.
I posted a Bug report here:
https://bugs.launchpad.net/ubuntu/+bug/613880
It has several log files.
Hi,
Have you tried replacing your wiring? I was getting { DRDY ERR } errors from my RAID5 array until I replaced all the sata cables.
Regards
Ian Dobson
Walking on water and writing software to specification is easy if they're frozen.
My corner of the internet http://www.planet-ian.com
Bookmarks