?
Solved

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

Posted on 2008-06-26
2
Medium Priority
?
1,089 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
maques earned 1000 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

771 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