a hd in my server failed.
I noticed when I went to SSH in and get a copy of some files in /var/www/html I tried to tar the files and I was told No, read-only file system.
I restarted and tried running FSCK manually (without -a or -p) and I get inode errors, short reads, etc.
I tried booting to my CentOS 53 install DVD. I do linux rescue and I get to where it wants to know where CentOS images are. I select local CD-ROM and it just spits it out at me and tells me to try someplace else. Even though I booted from the CD!
I am not sure what else to do. I dont think I can mount this on my macBook to do anything. But I really need just the data from /var/www/html. I have a backup that is a week old, but I know changes were made late last week that I would like to not have to do again....
Where is my backup of the changes I made? Well my SSD drive failed in my laptop and I dont think I have them...
Can anyone provide advice as to what to do next?
Also, what would have caused this all of the sudden? This box has been running fine for months.
On Thursday 18 February 2010, "Slack-Moehrle" mailinglists@mailnewsrss.com wrote:
Also, what would have caused this all of the sudden? This box has been running fine for months.
Every hard drive will fail eventually. Some take days. Some take decades. Most fail somewhere in between those extremes. But every single one of them will eventually die.
That's why backups and RAID are both good ideas.
As for what to do, you can put the drive in any other linux box or boot a live CD from any distro and take a look at it. Attempts to fsck may screw it up more, though. Probably best to mount whatever's left read only and see what you can find.
Do not use fsck on faulty hardware.
I would remove the drive attach it to another linux box with free storage space on a file system larger than that of the whole damaged drive. Use "ddrescue" to rebuild as much of the failed drive as possible them mount the image produced from ddrescue and copy all you can from that.
Best Wishes,
Steve
On Thu, 18 Feb 2010, Slack-Moehrle wrote:
a hd in my server failed.
I noticed when I went to SSH in and get a copy of some files in /var/www/html I tried to tar the files and I was told No, read-only file system.
I restarted and tried running FSCK manually (without -a or -p) and I get inode errors, short reads, etc.
I tried booting to my CentOS 53 install DVD. I do linux rescue and I get to where it wants to know where CentOS images are. I select local CD-ROM and it just spits it out at me and tells me to try someplace else. Even though I booted from the CD!
I am not sure what else to do. I dont think I can mount this on my macBook to do anything. But I really need just the data from /var/www/html. I have a backup that is a week old, but I know changes were made late last week that I would like to not have to do again....
Where is my backup of the changes I made? Well my SSD drive failed in my laptop and I dont think I have them...
Can anyone provide advice as to what to do next?
Also, what would have caused this all of the sudden? This box has been running fine for months. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
2010/2/19 Slack-Moehrle mailinglists@mailnewsrss.com:
a hd in my server failed.
I noticed when I went to SSH in and get a copy of some files in /var/www/html I tried to tar the files and I was told No, read-only file system.
I restarted and tried running FSCK manually (without -a or -p) and I get inode errors, short reads, etc.
I tried booting to my CentOS 53 install DVD. I do linux rescue and I get to where it wants to know where CentOS images are. I select local CD-ROM and it just spits it out at me and tells me to try someplace else. Even though I booted from the CD!
I am not sure what else to do. I dont think I can mount this on my macBook to do anything. But I really need just the data from /var/www/html. I have a backup that is a week old, but I know changes were made late last week that I would like to not have to do again....
Where is my backup of the changes I made? Well my SSD drive failed in my laptop and I dont think I have them...
Can anyone provide advice as to what to do next?
Well, you can use dd_rescue to copy contents of disk to another disk and then mount it (or use expensive data rescue company)
Also, what would have caused this all of the sudden? This box has been running fine for months.
Well, do you think that computer hardware lives forever?
-- Eero
Also, what would have caused this all of the sudden? This box has been running fine for months.
Well, do you think that computer hardware lives forever?
They don't? /me stares at 486dx with a working floppy drive and working floppies from the eighties and early nineties.
And I deal with hardware with drives, and memory, and the occasional m/b failing at less than five years old. Depends on the manufacturer, the q/c they had at the time it was manufactured, and the day of the week, as the old line from car buyers goes.
mark "make mine on a Wed, please"
m.roth@5-cent.us wrote:
Also, what would have caused this all of the sudden? This box has been running fine for months.
Well, do you think that computer hardware lives forever?
They don't? /me stares at 486dx with a working floppy drive and working floppies from the eighties and early nineties.
And I deal with hardware with drives, and memory, and the occasional m/b failing at less than five years old. Depends on the manufacturer, the q/c they had at the time it was manufactured, and the day of the week, as the old line from car buyers goes.
mark "make mine on a Wed, please"
Haha. This is getting OT but stuff today (for the past decade) do tend to die around the end of warranty if not earlier. No greedy^Wsane company makes anything that lasts anymore.
On 2/19/2010 8:48 AM, m.roth@5-cent.us wrote:
Also, what would have caused this all of the sudden? This box has been running fine for months.
Well, do you think that computer hardware lives forever?
They don't? /me stares at 486dx with a working floppy drive and working floppies from the eighties and early nineties.
And I deal with hardware with drives, and memory, and the occasional m/b failing at less than five years old. Depends on the manufacturer, the q/c they had at the time it was manufactured, and the day of the week, as the old line from car buyers goes.
I think of mine about the same way as light bulbs. They'll work for years on the average but it's pretty much random when any individual one will go.