Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-17-2010, 11:37 PM   #1
LQ Newbie
Registered: May 2010
Location: Reston, VA
Distribution: Mint
Posts: 3

Rep: Reputation: 1
Recover data from Raid 1 drive

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?).
Old 10-18-2010, 12:29 AM   #2
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137

if the disk is really part of a software RAID the output of
 fdisk -l /dev/sdb
should show you a partition of type "Linux raid auto".

If such a partition exists you can try to reassemble the raid with the following command:
mdadm --assemble /dev/md0 /dev/sdb6
This provides the possibility to assemble a pre-existing raid also in case of problems.

After that try to mount your device
mount -t xfs /dev/md0 /mnt
Hope this will help.
Old 10-18-2010, 09:36 AM   #3
LQ Newbie
Registered: May 2010
Location: Reston, VA
Distribution: Mint
Posts: 3

Original Poster
Rep: Reputation: 1
Pre-existing raid disk mounting solved

I'm not sure what did the trick, but the disk is now appearing properly as a managed raid device, and all the data is accessible. I tried a number of things I found on the Web in attempting to get it to mount, and this involved power cycling the computer so that I could safely remove the drive. I tried to get it running in "safe" mode in the old Buffalo box, but the box still crashed. After one of those attempts, I remounted it in the external USB enclosure, booted up Linux, and the array showed up as a Linus array. I then mounted it and all my data was available to be copied elsewhere.
1 members found this post helpful.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot recover data, raid problem enid Linux - Hardware 2 06-26-2009 12:19 PM
Cannot recover data, raid problem enid Linux - Software 1 06-26-2009 12:18 PM
Recover data from RAID 0 (fake RAID) from Win XP KiAnKo Linux - Hardware 4 04-23-2009 12:28 PM
recover data from raid 0 drives.... Peter_Karlsen Linux - Hardware 8 12-02-2008 01:12 PM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:10 AM.

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