Thread (1 message) 1 message, 1 author, 2004-11-01

Re: Question regarding mdadm and RAID boxes

From: Neil Brown <hidden>
Date: 2004-11-01 03:06:15

On Sunday October 31, ngc4013@cox.net wrote:
Now the question: Is there anything in mdadm allowing one to take a 
previously setup RAID box from another server and attach it to a second 
SCSI port and modify only the superblocks to change out the /dev/md0 to 
/dev/md1 or md2 or ....... so on?
Yes.  --update=super-minor during --assemble

It is best to identify array by "uuid".  Use "mdadm --examine" on
various component devices to discover the uuid or
e.g.
   mdadm --examine --scan --config=partitions

Once you have determined a particular UUID use
e.g.
   mdadm --assemble /dev/mdX --update=super-minor --uuid=ebe07606:c0b4c223:3f00e978:949a6a60  /dev/sd*a

This will find all devices with the right uuid, assemble them in
/dev/mdX (you choose X) and update the superblock to reflect the
correct md number.

NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help