Solved

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

Posted on 2008-06-26
2
1,079 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 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

732 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