Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had an old server with FC6, one of the hard disks get damage and I'm trying to recover the mirrored data on the other disk; I could'n boot from the only good disk and couldn't see the disk installing it on other machine with SLES 10(I don't know how to mount a disk). Then I tried installing FC6 on the disk in the only partition wich was not mirrored, the swap partition wich had 2Gb; I can't see the data, only can see the raid partition using fdisk:
[root@localhost ~]# fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 9703 77939316 fd Linux raid autodetect
/dev/hda2 9704 9716 104422+ 83 Linux
/dev/hda3 9717 9964 1992060 83 Linux
Disk /dev/md0: 79.8 GB, 79809740800 bytes
2 heads, 4 sectors/track, 19484800 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
WHAT CAN I DO TO RECOVER THE DATA FROM THE dev/hda1 PARTITION?????
AS YOU SUPOSSE NOW I'M REALLY NEW WITH LINUX, I NEED SOMETHING LIKE A STEP BY STEP GUIDE.
PLEASE YOUR HELP EXPERTS.
First off, could you provide a little more information? It looks like your using a software RAID, is that right? What kind of RAID where you doing? It looks like you only have 2 disks, so I'm guessing RAID1? (Or am I getting 0 and 1 backwards again?).
Yes, I was using a software RAID, the original wich comes with FC6.I had 2 disks, but one of them is not working any more, then I installed FC6 on the old swap partition (2Gb) and that's what is working now, the remain good disk, with FC6 installed on the old swap partition; the RAID partition shown with fdisk command was created with the previus installation wich had 2 disks.
Quote:
Originally Posted by wsduvall
Hey,
First off, could you provide a little more information? It looks like your using a software RAID, is that right? What kind of RAID where you doing? It looks like you only have 2 disks, so I'm guessing RAID1? (Or am I getting 0 and 1 backwards again?).
Number Major Minor RaidDevice State
0 0 0 0 removed
1 3 1 1 active sync /dev/hda1
Quote:
Originally Posted by wsduvall
Hey,
First off, could you provide a little more information? It looks like your using a software RAID, is that right? What kind of RAID where you doing? It looks like you only have 2 disks, so I'm guessing RAID1? (Or am I getting 0 and 1 backwards again?).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.