You are not logged in.

#1 2009-09-08 01:08:54

papertigers
Member
Registered: 2009-05-14
Posts: 35
Website

mdadm raid

Hey I have a raid 5 set up with 3 1TB drives on my ubuntu desktop and I want to move the raid to my arch server.
Is this possible with the raid being a software raid using mdadm? How would I go about moving the raid to the new machine.

Offline

#2 2009-09-08 01:25:15

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: mdadm raid

Yep.

Have a look at the "ASSEMBLE MODE" section of 'man mdadm'

Offline

#3 2009-09-08 01:51:09

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: mdadm raid

To enable the raid to be set up upon booting, the server has to have the raid params inserted into initramfs.

This is accomplished as outlined in mkinitcpio wiki.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2009-09-08 04:15:20

papertigers
Member
Registered: 2009-05-14
Posts: 35
Website

Re: mdadm raid

lilsirecho wrote:

To enable the raid to be set up upon booting, the server has to have the raid params inserted into initramfs.

This is accomplished as outlined in mkinitcpio wiki.

Are you talking about booting from a raid or just mounting it via fstab on boot?

Offline

#5 2009-09-08 14:47:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: mdadm raid

Perhaps I interpret your post to provide a raid boot.

If it isn't raid boot then fstab will mount the raid5 with proper entry.

Sorry to be confusing..........

EDIT:  As to the server raid setup, when rebooting the server, mkinitcpio data in initramfs will assemble the raid5 and fstab will mount same...perhaps therein was the confusing part of my post. This would occur when first installing the raid system to the server and rebooting and any reboot thereafter.

Last edited by lilsirecho (2009-09-08 14:52:37)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB