LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2009, 09:37 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Recovering Linux RAID Partition Data


I found my old drive which was previously in a RAID 1 mirror. The machine and 2nd drive used for the mirror are no longer available so I would like to know if it's possible to boot from Live CD and recover the data that is on the Linux RAID partition? I used Ubuntu 9.04 to boot into a live environment and was able to see my S-ATA disk with the Linux RAID partition table however I have no idea if it's possible to mount and copy the data straight off the disk. I need many important files that I believe to be on the partition table.

Can anyone please help me?
 
Old 09-23-2009, 03:44 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by Carlwill View Post
I found my old drive which was previously in a RAID 1 mirror. The machine and 2nd drive used for the mirror are no longer available so I would like to know if it's possible to boot from Live CD and recover the data that is on the Linux RAID partition? I used Ubuntu 9.04 to boot into a live environment and was able to see my S-ATA disk with the Linux RAID partition table however I have no idea if it's possible to mount and copy the data straight off the disk. I need many important files that I believe to be on the partition table.

Can anyone please help me?
create a directory, then mount this disk to the directory.
from here you should be able to see the data and copy/move as normal.
 
Old 09-23-2009, 09:45 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
No, I get the following error:

Code:
root@ubuntu:~# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001fd14

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30401   244196001   fd  Linux raid autodetect

root@ubuntu:~# mount /dev/sda1 /recov/
mount: unknown filesystem type 'linux_raid_member'

root@ubuntu:~# cd /recov/

root@ubuntu:/recov# ls -l
total 0
 
Old 09-23-2009, 11:14 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Maybe if 'mdadm --verbose --examine --scan /dev/sda' returns something of use you could build a degraded RAID1?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering Data from Remaining RAID 1 Disk nko Linux - Software 18 01-10-2016 10:43 PM
recovering data from a software raid partition f14f21 Linux - Newbie 3 11-06-2008 07:29 AM
Recovering data on RAID 5 with semi-faulty hdd davidsaxton Linux - Hardware 2 09-16-2006 04:45 PM
Recovering Lost Picture Data From NTFS Partition Using Linux YianniM Linux - Software 1 05-06-2006 03:35 AM
recovering data from an old RAID -0 dominant Linux - Software 1 01-26-2005 03:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration