Fedora :: Recover Software RAID After OS Reinstall?
May 24, 2010
I recently installed Fedora 12 on a system with 3 HDs, using the first hard drive for root and swap, and the other two as a RAID 1 device mounted to the folder /data. This was all set up while installing from CD. /data appeared as a folder under Filesystem in the GUI
After trashing the OS, I reinstalled from CD. I formatted only sda to recreate the OS; sdb1, sdc1, and RAID MD0 were not changed during the reinstall. When the newly built system is started up, RAID MD0 does not appear when I run fdisk -l. It does show up in the GUI when I open "Computer" as RAID-1 Drive. When I open it and authenticate as root, it then appears as RAID-1 Drive 320 GB Filesystem. I can open that and authenticate as root again to access the files that were on the initial RAID 1 device when I reinstalled. At this point MD0 is listed when fdisk -l is run, with the message "Disk /dev/md0 doesn't contain a valid partition table"I am able to mount the opened RAID-1 device to a folder, but each time I reboot the system I have to open and authenticate the RAID device twice to access the files in it. Is there a way to configure the OS to recognize this RAID 1 device as it did before I reinstalled? My goal is to recreate the RAID device without having to move the files on it to another drive.
View 2 Replies
ADVERTISEMENT
Apr 23, 2009
My friend has a DELL DIMENSION 9150 computer with 2 harddisk (250 GB each) in RAID 0 (fake raid) with Windows XP installed. There are a lot of documents and pictures installed - and no backup ever done! I have found some pages regarding recovery data from RAID 0 () but My friend have bought 2 new harddisks(WESTERN DIGITAL 2500AAJS) which is almost the same as the ones inside.
My plan:
1. copy each harddisk
2. replace original HDDs with my copies
3. try to recover
4. change RAID 0 to normal HDD in BIOS
5. reinstall Windows XP
I have some LINUX distros (DSL, SystemRescCD, UltimateBootCD on Live-CD and UBUNTU installed on one other computer) which I can use. I read about "dmraid" and then try to mounting the RAID in a UBUNTU live-CD version...
View 4 Replies
View Related
Oct 17, 2010
I was using a Buffalo LinkStation Duo to store pictures and the OS in the unit failed. As far as I know, the data on the two 1 TB drives is fine, and since Buffalo uses a Linux kernel in their LinkStation and the format is xfs, it should be possible to get the data off if I can mount one of the drives on a Linux box. I've put one of the drives into an external USB enclosure and attached it to my Linux system, but I cannot get the drive to mount, probably because it is one element of a Raid 1 array.
Most of what I can find on the Web concerns setting up a new Raid array, not creating an array around a drive that already contains data. I have installed mdadm, and I'm running Mint Linux release 9 (Isadora) on an Intel box. When I run mdadm -D /dev/sdb or sdb6, the device and the partition where the data is located, it reports that the device does not appear to be an md device. I'm not sure what that means. Any help would be greatly appreciated, as I've got around 13,000 photos on these disks that have no backup (I figured what could go wrong with mirrored copies?).
View 2 Replies
View Related
Jan 27, 2010
I had a raid 5 + lvm 2 array and lost a disk. While it was recovering the array, the power was down and recovery stopped. When I recovered the power and start the machine the array was unable to start, it was degraded and the states were different between disks. Every disk watched the array in a different way. I put you the states:
Quote:
/dev/sdd1
Number Major Minor RaidDevice State
this 0 8 33 0 active sync /dev/sdc1
[code]....
The first part in /dev/sdc1 is the same for all the devices, I just post you the states. Another thing is tha all the devices say that there is no superblock It seems that 3 disks are "active sync" but the states of the others doesn't match between them. And /dev/sdd1 is spare, the disk I added manually at first to start the recovery process.
View 3 Replies
View Related
Aug 21, 2010
I HAD a fedora 11 server with md RAID 1 across two 1TB SATA drives. The md0 space was set up to be an LVM PV and the single LVM VG was carved up into 5 or 6 LVs. The MB on this system died and I wound up buying a new one.
Now I want to recover the data from the RAID1 setup on the new server. However, when I attach the two 1TB drives to a new fedora 13 setup, mdadm is only able to find one of the two drives. The partition on the second drive shows "busy" during an mdadm -A -s -v to scan for md volumes.
Well, one drive should be enough since this is RAID1, right? Well, when I do a pvscan -v, the other drive shows up as a "NEW" pv not allocated to a VG. In addition, vgscan does print "Invalid metadata header checksum" when it runs but it doesn't point at any particular PV. I'm afraid to go any further with LVM since I can't afford to lose the data on this system. It is backed up offsite, but the restore will take several days and I can't afford to be down that long.
Are there any tools or techniques where I can dig deeper into what each drive, in the RAID1 pair, has right and wrong with it and pick one that I can force into a usable VG so that I can recover the data?
View 2 Replies
View Related
Aug 20, 2009
In a nutshell, our RAID 1 array was rendered broken and we were advised that core lib files were missing and the OS needed to be reloaded... a quote from our server host:"The OS is not healthy.This server will need a reinstall.
Libs are missing." This was after having replaced what we though was a faulty /dev/sdb. So they reloaded the OS (Debian 5.0.2 x86_64) on 2 FRESH drives, and installed the old /dev/sda as /dev/sdc once the reload was completed. Here's the output of /etc/fstab on the fresh install so we know what we're working with:
Code:
debian:/BAK# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]....
The one problem I see myself running into is /dev/md1 and /dev/md2 are currently in use by the new system, so I cannot mount it there. I should also note, reloading the OS is a viable option if needed as we haven't started configuring the server yet. So if we need to reinstall the OS and assign the NEW RAID arrays to something other than /dev/md1 and /dev/md2 then we can do that.
View 3 Replies
View Related
Jan 12, 2010
I have 8.04 running mdadm raid 1. I selected the wrong drive in gparted and managed to hose my partition tables.
View 7 Replies
View Related
Jun 7, 2011
I recently upgraded a server from Fedora 6 to Fedora 14. In addition to the main hard drive where the OS is installed, I have 3 1TB hard drives configured for RAID5 (via software). After the upgrade, I noticed one of the hard drives had been removed from the raid array. I tried to add it back with mdadm --add, but it just put it in as a spare. I figured I'd get back to it later.Then, when performing a reboot, the system could not mount the raid array at all. I removed it from the fstab so I could boot the system, and now I'm trying to get the raid array back up.
I ran the following:mdadm --create /dev/md0 --assume-clean --level=5 --chunk=64 --raid-devices=3 missing /dev/sdc1 /dev/sdd1I know my chunk size is 64k, and "missing" is for the drive that got kicked out of the array (/dev/sdb1).That seemed to work, and mdadm reports that the array is running "clean, degraded" with the missing drive.However, I can't mount the raid array. When I try:mount -t ext3 /dev/md0 /mnt/fooI get:
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
[code]....
View 1 Replies
View Related
May 31, 2010
I have a MSI Board that had this hard drive configuration.
200GB x Single EXT4 Ubuntu
320GB x Raid Mirror NTFS
320GB x Raid Mirror NTFS
[code]....
View 6 Replies
View Related
Jan 20, 2011
The situation: computer based on Asus P6T motherboard. Two RAIDS:
- 'boot', on motherboard built-in RAID controller (CentOS 5.5 installed on this RAID)
- 'data' on 3dware RAID card
At one moment a CPU fan fails and the system halts. After the fan is replaced, BIOS informs it's reset and all the inner controller data are forgotten. After I switch it to 'RAID' mode, it remembers it was a mirror raid (RAID 1) installed, but the file system on it is completely trashed.
The 'data' RAID run by external controller isn't affected by the system failure. Three questions:
- is it worth trying to install OS on the rebuilt 'boot' RAID once again? Looks like if BIOS settings are lost for some reason, there's chance of completely losing RAID data
- has someone encountered similar problem with built-in RAID nd was it possible to recover data?
- will the software RAID be worth creating instead of using hardware RAID to replace the 'boot' drive?
View 2 Replies
View Related
Jun 24, 2009
I've tried to install Fedora 11, both 32 and 64 on my main machine.It could not install as it stops on the first install window. I've already filed a bug but really haven't seen any feed back yet.The bug has something to do with Anaconda and the Raid array but I really can't tell.
I have an Intel Board (see signature). I am running intel raid software under W7 currently.It works fine. But, I'm wondering, when I attempt to install F!!, is my current raid set-up causing problems? Do I need to get rid of the intel raid software and use a Fedor/Linux raid program to manage the raid array??
View 2 Replies
View Related
Jan 19, 2011
I have (had) Debian Testing running on a 250GB IDE hard drive, partitioned normally.
I also have 4x 1TB drives in a raid 5 using mdadm, and 2x 500GB drives in a raid 1 also with mdadm.
I put the two arrays in lvm using:
I then used "lvcreate" to make storage/backup 300GB, and the rest went to storage/media (approx. 2TB usable). I put an xfs filesystem on both and mounted them.
All was working fine until the system drive shorted out and died on me this morning. As far as I can tell, all my other drives and everything else is fine. I do a daily rsnapshot of the filesystem, which of course is residing on storage/backup (stupid, I know). So I have full backups of everything, but I'll have to put a new hard drive in and reinstall Debian before I can restore everything.
I've reinstalled before and simply reassembled mdadm arrays and remounted them before with no problems, but this is the first time I've used lvm, so I'm not sure what I have to do to restore everything. Is it as simple as reinstalling the system then doing a:
View 4 Replies
View Related
Feb 1, 2011
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
I was able to examine the disks though:
Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....
Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
View 4 Replies
View Related
Apr 29, 2010
I recently installed opensuse 11.2 on my laptop which also had windows vista and windows 7, i created a new partition and the installation went smoothly, after i went to boot back into windows 7 i got a blue screen of death, strangely vista boots perfectly.I could just reinstall windows 7 but its a pain to reinstall all my programs and such
View 6 Replies
View Related
May 2, 2010
So I was messing around trying to uninstall Nibbles and reinstall since I have an issue starting that game and something happened and removed the submenu under Games called "Logic", which had another whole list of games.
Is it possible to reinstall the games package or reinstall the update?I'm thinking more of the lines of a system restore or something so back 2 days from today.
View 2 Replies
View Related
Feb 4, 2011
how do I retrieve/reinstall Grub without having to reinstall Ubuntu?
View 1 Replies
View Related
Dec 6, 2010
i have ubuntu 10.04 64 bit installed and configured and working sweet. I have reinstalled windows 7 and now i can't boot ubuntu i've tried easybcd to add ubuntu to win boot loader which failed and tried to follow the instructions to reinstall grub through a live cd which i am in at the moment. i go to a terminal and type sudo grub and it brings up the grub prompt. i have mounted all discs and entered the command find /boot/grub/stage1 and it keeps spitting this back at me Error 15: File not found
my hd is a 80gb with partions like this
/dev/sda1 105mb ntfs system reserved
/dev/sda2 45gb ntfs win 7 home premium 64 bit
/dev/sda3 34gb ext4 ubuntu 10.04 64 bit
/dev/sda4 1.5gb linux swap
View 9 Replies
View Related
Aug 10, 2009
How to recover ext3
Quote:
View 11 Replies
View Related
Oct 30, 2009
I occasionally enter "rm -rf /bin" instead "rm -rf ./bin" under root. How can I recover /bin directory on my Fedora 10. Or may be reinstall with minimal tesualties?
View 6 Replies
View Related
Jul 15, 2010
By mistake I have deleated my mozilla setup. Now can anybody guide me how to recover the setupfile .I dont have access to yum command in this network otherwise I cudhave downloaded it and use it.Now since I dont have any other browser so I can't download mozilla too
View 3 Replies
View Related
Feb 18, 2009
I reinstalled winXP and lost grub loader. I have LiveCD with Fedora 10. How can I reinstall GRUB using this CD ?
View 14 Replies
View Related
Jun 20, 2009
I've restored a Clonezilla image of my Fedora 11 ext4 installation but realised that I hadn't backed up the ext3 /boot partition. I decided to create a Clonezilla image of the ext3 /boot partition from my laptop, as that has exactly the same partition scheme. I've restored that. I realise it may not work but it might save me reinstalling F11 from scratch. How does one reinstall grub in Fedora 11 given that /boot is on a separate partition? Booting from the F11 DVD in rescue mode, running chroot /mnt/sysimage and grub-install /dev/sda doesn't work.
View 4 Replies
View Related
Oct 10, 2009
I have just reinstalled my fedora, because I messed up with the unsuccessful installation f the Beta Nvidia driver. The problem I am having is that when I try to update KDE to 4.3 (currently is 4.1) I get this
Code:
I understand I need KDE 4.2 at least, but can I exclude somehow this update, because I dont need marble anyway. Or at least how do I update first to 4,2 and then to 4.3.1.
View 9 Replies
View Related
Mar 5, 2011
For backwards testing reasons I had to uninstall my php package. Now that I've done I need to reinstall php 5.3.x. What is the full package name to reference as I'm coming up blank looking for a reference. I normally use yum or apt-get to install things.
View 2 Replies
View Related
Feb 17, 2011
I had fedora 13 installed on my computer which is used a server for my php development. I had all my projects on that server. Not sure what caused this but my linux is not loading at all. It tries to load the kernel but fails and restart the machine.I confirmed that there is no hardware failure. I am planning to reinstalling fedora on the machine but I can't loose my projects which were in /var/www folder and the /home directory. Unfortunately I didn't take back for last 1 month.I wanted to know:
1) Is there any way I can recover the data for www and home folder
2) If I reinstall the fedora again then will it delete my old data on machine.
Really in a difficult situation as my projects development is halted due to this. Want to have some advice before reinstalling fedora.
View 5 Replies
View Related
Jan 16, 2009
I have enabled desktop effects in KDE on Fedora 10.
I clicked "everything is OK", and accepted the settings and then everything went black ...
Then I have restarted X, logged again, still nothin' ... all black .... windows and action is present, but I can't see anything ...
How can I recover this ? I am using gnome now, ...
View 5 Replies
View Related
Sep 5, 2009
For several weeks now I have been experiencing a problem with GNOME keyrings in Fedora 10 x86. Here is the thing: somehow out of the sudden GNOME started requesting the "Default Keyring" in order to connect to protected wireless networks it already knows. I don't remember having set one, maybe I did, and just in case I tried all my passwords to no avail.
On the other hand, XFCE, the desktop environment I use the most in that machine, has lost its ability to 'remember' passwords, which is a little painful in the long run.
I wouldn't want to just delete the keyrings because there are many stored already, and I want them back. Needless to say I have root access to the machine. Is it possible somehow as root (or as user) to fix that problem and restore both access to the stored passwords and the ability for Network Manager to remember them?
Just to be on the safe side I created another user and that one 'remembers' the stored passwords and is not prompted for the "Default Keyring".
View 4 Replies
View Related
Jan 6, 2011
Because a customer of mine is inefficient in doing backups I have to do a recovery if possible. Drive had vista on it and was really bug infested to point of a reload. I reloaded vista from scratch and then my customer says "Oh, I guess I forgot to back those files up...".Is it possible to recover some files even though vista was reloaded? I suppose the basic answer is "As long as they havent been overwritten yet".
Im running testdisk and its made a ton of directories with files in them that I assume it has recovered. Im going to have to write a script I guess to grab the files as there are about 600 directories!I guess what Im asking is 1. What are my chances of success? 2. Has anyone ever recovered files from a vista re-install? 3. Is testdisk the best way of going about it (with photorec).
View 4 Replies
View Related
Jan 31, 2011
I had a back-up of the files of someone . He realized that he wants those files , after I had deleted them . And now I need to recover them . How can I do that?
View 5 Replies
View Related
Aug 7, 2011
I'm running Fedora 15 64bit on a HP Elitebook 8740w. I have both Gnome and XFCE installed, and have only noticed this problem while using XFCE, but that may just be because I am using XFCE more than Gnome (that's another story - which I won't go into!). Anyhow, twice in the past 3 days I've been in the middle of using the PC, and it has "locked up". By that I mean, using the keyboard and mouse have no effect. The display does not change, moving the mouse does not move the cursor from it's current position. And keyboard commands seem to have no effect (I've tried ctrl-alt-backspace, ctrl-alt-delete, and alt-F1, alt-F2, etc.). The only way I can continue using the computer is to hold in the power button until it powers off.
I suspect, but can't be sure, that it may only be a problem while I'm in XFCE. The reason I say this is that the first time it happened, I was trying to do a screen capture using The Gimp while in XFCE. Today I also tried to do another screen capture (again whilst in XFCE), and X kicked me out back to the login prompt. I then logged into Gnome and was able to successfully do the screen capture. Later in the day I was using XFCE and programming in SpringSource Tool Suite, when the "lock up" occurred again, requiring me to switch the PC off again. I've had a bit of a look in /var/log/Xorg.0.log.old and it finishes like this. I'm not sure if it is enough info to track down the problem though?
[Code]....
View 2 Replies
View Related