Solved

Proper way to move a Linux MD Raid6 array to another server?

Posted on 2008-06-26
2
1,067 Views
Last Modified: 2013-11-15
I am wanting to move a linux md raid6 array to a new server.  I want to know the proper way of doing this without losing my data:

The new system has all the appropriate tools AND drivers installed so it will recognize all 16 disks and have mdadm running in the background ready.

I have NOT configured mdadm.conf on the new system.

The current drives do NOT have partitions set to 'fd' Linux RAID Auto-Detect.

The RAID devices should have the md uuid in their superblock right?


I have all of my data backed up.


Also, for the future, should you 100% always make partitions for a software raid?
0
Comment
Question by:daylightdm
2 Comments
 
LVL 5

Accepted Solution

by:
maques earned 250 total points
ID: 21891041
If you don't change hostname or mix with different array, then it would pretty much work the way in a different hardware environment as now.
If you changed hostname and your raid6 was created with superblock style above 0.90 then you would have to issue a command to update homehost, like:
mdadm --assemble --update homehost=xxx ...
http://linux.die.net/man/8/mdadm

Of course if it is/was your boot array then it is not so good [need to boot and issue it from a "helper" harddisk with linux installed].

Backing up data is always a good thing, so that's good, but in general you shouldn't lose data (unless you do some stupid thing like force an array to be up with several disks missing or recreate the array, etc. or of course hardware failure). Without doing stupid things, the "worst" thing can occur is that the array won't became up (no disk driver loaded, missing members, changed hostname etc.), but then you can still examine and do accordingly or move back the array to the old system if there are some problems cannot be solved for some time.

Some interesting stuff on auto-assembly for mdadm:
(http://neil.brown.name/blog/20060521092609)
0
 

Author Closing Comment

by:daylightdm
ID: 31471020
Thanks!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now