Solved

Recover Linux RAID

Posted on 2010-08-13
1
395 Views
Last Modified: 2013-12-16
I have an openfiler box that uses mdadm to create a RAID array (RAID 1).

The openfiler box has some issue with it that doesn't let it authenticate with the domain anymore. Everything else works, and the file system is in tact.

I just want to kill it and turn it into an Ubuntu server box.

Question:

The two drives (/dev/sda1 and /dev/sdb1) are configured as a RAID array and the array is in tact. How do I read the array from those drives to re-configure mdadm via the ubuntu desktop live CD?
0
Comment
Question by:DrDamnit
1 Comment
 
LVL 32

Accepted Solution

by:
DrDamnit earned 0 total points
ID: 33434489
1. mdadm --assemble --scan
2. cat /proc/mdstat to see the results
3. mount the device shown in #2. (/dev/md0 and /dev/md1 in my case).
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question