Thread (1 message) 1 message, 1 author, 2006-01-15

Re: raidtools mdadm conversion query

From: Neil Brown <hidden>
Date: 2006-01-15 21:43:37

On Sunday January 15, dalonso@u.washington.edu wrote:
I upgraded a system from FC2 to FC4,
The system had a working raidtools linear raid partition 
(md0 = sda1 and sdb1)
I now need to get the partition going using mdadm, while maintaining the data.

I used raidtabtomdadm.sh to create /etc/mdadm.conf
================================================================
DEVICE partitions
ARRAY /dev/md0 level=linear num-devices=2 UUID=ba95446a:6fe4d353:9ba80e0f:181c0117 auto=yes
================================================================
but I am unsure of the next step. I imagine I do somethink like:
  mdadm --assemble --verbose /dev/md0 --level=linear --raid-devices=2 /dev/sda1 /dev/sdb1
but I don't want to blunder ahead and wipe out the existing data.
Just
  mdadm --assemble /dev/md0
or even
  mdadm -As

should be all you need.

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