CentOS 5 :: Recovery From Crashed Hard Drive With No Backup?
Aug 4, 2010
Recently I built a web server for my clients to host in house. After talking with the web developer they informed me that i needed a CentOS computer with Drupal for them to design the website. This is my first Linux install and after spending hours upon hours configuring the server with FTP, SSH, and configuring our DD-WRT router with proper port forwarding we turned it over to the web designers to start work on the website.
A month goes by and the website is almost done, at this point we go to make a full backup of the hard drive. Due to a hardware problem it fried the circuit board of the hard drive. After attempting to recover the files myself we opted to send it to a HD data recovery facility to recover the information. We have received back a DVD containing the 2GB's worth of data from the CentOS hard drive. It contained 2 folders one for each of the partitions. I can view and see all the files on my windows machine and it appears that all of the data was recovered successfully. I harbored some hope that i could simply reinstall CentOS with the same account information and then just drop the recovered files on top of the new installation and have it start working.
I then reinstalled CentOS on another hard drive in the same computer and used the same credentials for installation. After i successfully booting into CentOS i turned off the machine and connected the hard drive it to my Windows bench machine. After booting into Windows i was unable to browse the hard drive. After doing more research and installing Ext2fsd i was able to see the 2 partitions CentOS had just created, but only able to access the Boot partition. After more research i discovered the default installation of CentOS creates a Raw file type for the 2nd partition and that is why i am having issues reading it inside of Windows.
I then downloaded a copy of Knoppix to see if this would allow me to write the old files over the new ones. After booting up the CD i could only browse to the /boot drive(and im not even sure if this is Knoppix's Virtual /boot or my CentOS /boot).
My question is what would be the best steps to recovery for my scenario? Can the files be placed to the drive and have everything restored? Is the only way to recovery thru reinstalling all applications and reconfiguring from scratch? How difficult is Drupal DB to recover in this type of scenario?
I was busy making backups to my external hard drive just now, but Ubuntu crashed 10 mins into the backups. After rebooting the affected folders are now Read only, and I cannot add or remove anything. This is extremely annoying, I already threw away two USB flash disks because the same thing happened to me in the past. I don't want to throw away the external because it's far more expensive and packed with backups.
Symptoms: I can write or delete a file to the hard drive, in any folder, accept the folders that was being accessed when the computer crashed. I have tried to change permissions, but I get an error. I tried opening a terminal and sudo rm -r that folder, but I get a input/output error. I'm running Karmic. Backups were made by Back-in-time.
I have a new HP ML150 G6 Server. I had some trouble getting CentOS to recognise the RAID array, but with some help from a LQ user, I got it sorted :-)Now I need to make an exact copy of the system. Normally I would use Acronis Echo Workstation, or the newer Acronis Backup and Recovery 10. However, this software doesn't recognise the RAID array eitherAcronis tell me that they can't help as HP won't supply the source code for the driver, and a quick phone call to HP Support confirms this.So, finally you might say, I come to my question: Is there a Linux based tool that can perform the same action as Acronis? Or... does anyone know of alternative software that would do the trick
I am having on trying to backup my crashed laptop with ubuntu 9.10 when i double click on my hard drive, it says "unable to mount location" and it says "unable to mount location" a job is pending on /dev/sda2 when i right click on my hard drive and select mount.
My macbook pro stopped booting yesterday due to some file system corruption in the hard drive. I am able to access this drive through a linux live cd which I am using now but when I go to some folders it says "Could not enter folder /media/Macintosh HD/..." My question is how do I give myself the permissions to be able to access these files and transfer them to a network drive?
i can only boot to MSDOs with floppy msdos bootup on A:. I want to install ubuntu 10.10 and completely erase HDD but the ubuntu disc won't bootup even when bios is set for cd only. This is older HP pavillion that I have retired but HDD scans out good so I thought i would run Ubuntu only and maybe put MS out of business but not having any luck with install. When booting from HDD error is system 32hal dll is missing or corrupt but HDD C: is 0 anyway. I just want to install so I can play with Ubuntu.
I'm running 10.04 LTS (64 bit) During a recent attempt at dual booting Windows 7, the Windows installer made a boot partition on the wrong drive, formatting the drive, and therefore destroying all my data.
The original partition was NTFS, and the new (unwanted partition) is NTFS.
Is there something in Linux I can do to recover the data that was there, or am I going to have to install Windows on yet another drive and use some Windows tools?
The data on this drive is extraordinarily important, containing ten years of digital photos, my source codes, and musical compositions (protools sessions etc).
I've been using ubuntu about a year, so I have a fair amount of experience with it. Today I was trying to install ubuntu on my new laptop, which doesn't have an optical drive. I don't have a usb stick, so I attempted to partition my external hard drive. I stupidly clicked "erase disk" on startup disk creator and erased the entire drive instead of the partition. I want to get back the files I had on this external. I searched and managed to find that people had been successful with testdisk. when I choose to analyse, it only finds the partition I created for the live cd.
When I choose advanced, I can find my older partition (FAT32) but when I choose to undelete I get: Code: No file found, filesystem seems damaged.
When I choose boot I get: Code: Boot sector Bad Backup boot sector Bad Sectors are identical.
A valid FAT Boot sector must be present in order to access. Any data; even if the partition is not bootable. I searched but I couldn't find anyone receiving this error message or how to deal with it. So I tried using photorec. Photorec is recovering all of my documents currently but without the filenames and file structure, it's more or less worthless.
I have an hp laptop with 2 hdd slots, both are sata. it came with a 320gb hdd with vista ultimate 64. i added another 320gb hard drive to my laptop and installed kubuntu on the second hard drive. Since vista was my primary hard drive, parts of grub were installed on it i.e. stage 1.5. And the rest was installed on the kubuntu hard drive. Because of that neither os would boot independently of one another.
I eventually got tired of kubuntu and in wanted to uninstall it. I formatted that disk. Now vista gave me grub errors, like I knew it would.I was going to fix the vista boot sector and mbr by running bootrec.exe off of the vista disc. But since I have an hp laptop, hp doesnt provide a recovery disc with just vista, it is an install of the factory image of the os plus software and therefore doesnt have the utilities I need to fix my problem.I ended up navigating to some sort of command line in the windows recovery environment and tried running it there, but no luck.
I tried navigating in the hp recovery environment, and accidently had vista start to reinstall itself on the drive, and actually I did that 3-4 times, each of which I stopped the recovery early on, within 30 seconds, but it had managed to mess up my partition table. I was wondering if there is some utilities in linux/ windows that will help me restore the partitions back the way they should be? I have done a data recovery with get data back for ntfs, and was pretty successful getting some stuff back, figures since the mft was screwed up.
So first of all I want to make an exact clone of the hard drive. Something like dd but just make an image file for now. Since there are no partitions on the drive I dont think I can use partimage, or drive image xml and I wonder if clonezilla will work. And I dont know how to test it without have to reload the image and wiping the drive in the process. I have imaged the drive with get data back but it does me no good cause I cannot restore that image back to the drive, or at least dont think I can.
Second I would like to see if I can recover the partition table , or mft that was over written. Here is a list of programs I can use for imaging or recovering. [URL]Third, since I have 2 320gb hard drives, one that is corrupted, and one that I took kubuntu off of and loaded vista with the recovery disks. Can I take the mbr, and partition table, or boot sector off of the working vista and move it to the broken 320 and fix it that way?
I would like to build an oem style install partions that is bootable with menu to choose if I want to run install or boot already installed system. I would like to include current source packages on the same dive so if I don't have internet access at time of install, can can still install what I need.I know with Windows Vista and Windows 7, you can get this but how can I do this with Debian?
I have a fresh install of Ubuntu 10.04 and have configured it the way I like. Is there a way I can make a restore image to use for backups? I know there's software like Acronis for Windows to make bootable images, can you do something similar in Linux?
I have spent considerable time installing and getting my Ubuntu 10.04 LTS (Lucid Lynx) to where I want it. I am looking for something that would BackUp my entire hard drive to a CD/DVD (preferably bootable) --so-- if I crash -or- want to clone to another hard drive I would have the ability to a 'Restore' of the CD/DVD and simply be able to load the CD/DVD to an old / new hard drive and be back-in-business without a lot of hassle.
How to backup from an old mysql in a hard drive?I have this HD which used to have an Ubuntu 7.04... However, the system crashed and it is not possible to boot anymore.I have moved the HD to another computer and made a copy for every important file and folder... But I am facing trouble to backup mysql... To copy /etc/lib/mysql doesn't work because it is probably in an older version from the mysql I use on Ubuntu 10.10
I have a script that I'm trying to use to backup my hard drive every night. The full backups are working flawlessly. I haven't figured out the incrementals yet. I thought they were working when I first wrote the script a few weeks ago, but it doesn't seem to be working anymore. I have a long script that I have a whole bunch of statements like this.
To be honest, I'm not a Linux expert and I was really surprised when I started this venture that Linux filing system doesn't have an archive bit like NTFS does and we have to use a file to store the archiving information. But there's the file at /var/log/usr.snar. My theory is I just leave that file for a week so I can create one full and incrementals through the week. Then when I want to create another full backup (when I swap hard drives), I then delete that usr.snar file. I thought that worked a few weeks ago, but it doesn't anymore. When I start my backups, they backup every folder I have listed and not just the files that changed. My full backups are 165 GB, so I'd like to use the incremental feature.
but I have literally just starting using Linux (Centos) in the last week or so. I am using a standalone PC that is not networked, and as I will be downloading and generating a lot of data on this machine, I would like to regularly backup onto an external hard driveIdeally I would likethis to happen automatically as there will be other people using the machine.There seem to be many different ways of doing this, and I am getting a bit confused about the best method to use.
I currently use two laptops: a macbook which dual boots OSX and Ubuntu 10.10 and a Dell Latitude which dual boots Vista and Fedora 14 64bit. I would like to know if it is possible to backup the Hard drive as a whole rather than on a per OS basis. If this is possible a linux program for doing such would be the preferred method as it is common to both machines.
I am open to anything that effectively and reliably backs up both machines respective disks in such a manner which allows for practical restoration. This does not have to be done from one OS though this is my preference.
My laptop has only Debian on it. Except for /boot, the entire hard drive is a giant encrypted LVM partition. It takes Clonezilla 13 hours to back up to a USB hard drive without verification, long enough to make sure backups aren't done much. Is there some way to make an encrypted bare-metal backup of only what is used (except swap) instead of every sector? Backing up across the LAN would be ok.
I've been working at this for the past 2 days now. My computer got some kind of virus or something that has caused it to loop at startup and continually reset. I run an XP OS on a Gateway. I desperately need to backup my files, because the person who had my backup absently deleted my stuff. I was able to boot up using an Ubuntu disc and I'm in it right now, I've found my files, I have an external hard drive. The problem:First, it wont let me paste into the hard drive. If I drag, it says "Error while copying to "/media/FreeAgent Drive". You do not have permissions to write to this folder." I've mounted the external drive, nothing changes.
I've gone in to properties, is says under permissions that the owner is root, folder access is "Access files" and at the bottom is says "You are not the owner, so you can't change these permissions." The drop downs where I need to change permissions is in gray, so I can;t change it.So next, I tried "gksu nautilus", went to the drive through there, and it let me use the drop down selection under permissions. I tried to change the folder access and I got this message: "The permissions could not be changed. Couldn't change the permissions of "FreeAgent Drive" because it is on a read-only disk." So I tried changing the file access to Read and Write. It didn't give an error, so I thought perhaps it finally worked. I hit apply, and tried to put my files in. Once again I got the message from before that said I didn't have permission. I tried to change the owner so it was no longer root and I got "The owner could not be changed. Couldn't change the owner of "FreeAgent Drive" because it is on a read-only disk."I'm getting so frustrated right now. These files are VERY important to me! The hard drive I have is a Seagate FreeAgent desk 500GB
Recently, Ubuntu was doing a standard update. It got stuck in some kind of strange loop. So i put the boot disk in cleared the master drive and reinstalled ububtu 10.4. I have a backup 500gb drive that use to keep the contents of my important information for my fileserver. After the completed install and found the backup drive STILL named "FILESERVER" and still has my folders aka: our pictures, our music, and our video. I opened them up and they're all empty. Am I missing some informaton? I swear i didn't format the drive. I couldn't have since the folders are still there. Where are all my files at?
What is the best way to create a complete hard drive backup to restore and boot Ubuntu in case of a crash? Only Ubuntu 10.04 Desktop is installed on this Dell Hard Drive. I searched the forums but no info and now that my install is running so good I want to protect it.
Does anybody know any programs that might facilitate the spanning of a hard drive over multiple DVDs? I would like to backup a windows system that may have become corrupted however; but I don't know how to automatically span the files over multiple DVDs (which is what I'd like to do.) I may or may not use Ubuntu, but does anyone know any good applications for this?
Have been using mint 11 for past few weeks with no problem but failed to boot correctly. menu appeared giving options for booting but kept returning to this menu without going further so I opted to go for safe booting option, after loading a few files it asked for password but kept giving me the message incorrect password so I could get no further. Fortunately I had a cop of clonezilla and was able to restore a backup from a second hard drive but would be grateful for any observations anyone would like to make about this (in case it happens again)
I have set up a Ubuntu box that is a proxy server. Everything works great and I would like to somehow make a complete disc backup of everything on that hard drive, incase it fails. Took me quite a while how to figure out everything and get it working. The box has an 80gb drive, with Ubuntu 9.10 loaded, standard default setup. Could I just install a 2nd hard drive and somehow give it a command to mirror everything to the 2nd hard drive?
We have had a hardisk crash in our RAID1 webhosting server running CentOS5 and Plesk. We first realized something was wrong when our main site didn't load but showed MySQL errors. We then found out that the system was in read-only state. Something that also happened the day before yesterday, but we could fix with a FSCK. Then the system worked well til around 18 hours later when it crashed with the same sympoms. So, we rebooted the server and wanted to do a filesystem check again. But the HDD wouldnt even load. It was gone. Unfortunatelly it was not realized that the second disk in the system was also not working any more for some time now. Fortunatelly we had our main site backed up externally though. So we could re-install a fresh box and mounted the two drives to the system. We checked the harddisk. One is practically empty (the older one), the other has almost only files in 'lost + found' but these are all "numbered", no real filenames or so.
We are in the process of pruning our directories to recuperate some disk space.
The 'algorithm' for the pruning/backup process consists of a list of directories and, for each one of them, a set of rules, e.g. 'compress *.bin', 'move *.blah', 'delete *.crap', 'leave *.important'; these rules change from directory to directory but are well known. The compressed and moved files are stored in a temporary file system, burned onto a blue ray, tested within the blue ray, and, finally, deleted from their original locations.
I am doing this in Python (basically a walk statement with a dictionary with the rules for each extension in each folder).
Do you recommend a better methodology for pruning file systems? How do you do it?