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 12-02-2014, 03:43 PM   #1
MtnBikeMike
LQ Newbie
 
Registered: Dec 2014
Posts: 8

Rep: Reputation: Disabled
RAID 1 Recovery Help


I have RAID 1 BusyBox NAS that is not booting. Disk one reports no SMART issues, but Disk two has lots and why I assume the RAID failed.

I can boot to grub with the both disks installed, or either one plugged in by itself to the SATA port BIOS is looking to boot from.

There are two raid arrays on the disks. One for the operating system (/dev/sda1) with a ext file system. The other for data (/dev/sda3) with a LVM container file system.

The system seems to fail to mount the necessary folders to boot properly. My main goal is simply recovering the data in the LVM container. I've made multiple clones, but all my sector-to-sector clones state there is no superblock for /dev/sda3, only the original shows the proper info so while I am trying to be extremely cautious, it appears I can not work with the clones.

Options to edit Grub


mdadm --examine of the FAILED drive. This image was taken when it was the only drive installed yet does not report anything faulty or missing.


mdadm --examine of the WORKING drive. This image was taken when it was the only drive installed. It shows /dev/sdb1 and sdb3 (not in the photo) as "faulty removed".


If I boot a clone, mdadm --examine /dev/sda1 works properly. But /dev/sda3 reports no md block found. Which is odd because the clones are sector to sector clones.

Here is what I get when I let it boot normally. You can see it does not seem to mount anything and states the container that holds all the data needs to be cleaned.


Any assistance would be VERY appreciated. I promise to reply to any questions quickly if anyone is willing to help me resolve this. Thank you!
 
Old 12-02-2014, 07:16 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Quote:
Originally Posted by MtnBikeMike View Post
Here is what I get when I let it boot normally. You can see it does not seem to mount anything and states the container that holds all the data needs to be cleaned.
No, it says the filesystem needs cleaning - presumably your XFS (note, not ext) root. Running xfs_repair might fix it - can you boot a USB ?.

If you're really lucky, that may be your immediate issue - can you mount the LVM from a liveUSB ?. If so you can get the data off at least. The smart data may just be a distraction - or not. Can't tell until you can start isolating the real error(s).
 
1 members found this post helpful.
Old 12-02-2014, 07:21 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Duplicate deleted.

Last edited by syg00; 12-02-2014 at 07:23 PM.
 
Old 12-02-2014, 10:05 PM   #4
MtnBikeMike
LQ Newbie
 
Registered: Dec 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks for the reply syg00! I booted a clone with a Knoppix live CD and successfully started the volume group and mounted the data partition! I'm currently copying all the data off of it to an external drive and couldn't be more relieved. The OS partition in the VG is un-mountable, so I think the file system became corrupt. And you are correct, both partitions are XFS.

I'm not sure if there is an easy way to repair the OS partition as Linux is really not my strong suit, but getting the NAS back up and running, particularly with just one disk, would simply be icing on the cake at this point.
 
  


Reply

Tags
raid1


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
[SOLVED] Need help with Linux software RAID 5 / RAID 6 and LVM disaster recovery Nogitsune Linux - General 2 10-15-2014 03:12 AM
RAID 5 Recovery cyberblitz Linux - Newbie 1 03-03-2012 09:18 AM
Broken raid 5 (11 drives in mdadm) -- data recovery/raid reconstruction needed -- ple jml48197 Linux - Server 4 07-27-2010 12:57 PM
[SOLVED] Hardware RAID vs Software RAID and DATA RECOVERY bskrakes Linux - General 7 07-04-2008 01:09 PM
RAID Recovery DavidPhillips Linux - General 0 10-03-2001 10:59 AM

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

All times are GMT -5. The time now is 10:59 PM.

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