Solved

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

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.

695 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