The never-ending upgrade: RAID problem/question

Derek Atkins warlord at MIT.EDU
Mon Jan 16 22:18:52 EST 2006


Yea, after sending out that mail I noticed that my FC4 server doesn't
have raidtools anymore..  It looks like you might be able to use something
like:

  mdadm --manage /dev/md0 -a /dev/hdb1

I don't know the answer to your second question.  I haven't messed
around enough with mdadm control of raid devices.  All my previous
testing was with raidtools.  At some point I'll try to test the
mdadm stuff when I can blow away some machines safely.

-derek

Quoting Don Levey <lug at the-leveys.us>:

> I figured I'd need to do something like that - but raidhotadd doesn't exist
> on this machine anymore.  The old configuration was under Fedora 2, and the
> new is Fedora 4 (FC2 had it).  I've seen the following, though:
>
> 	mdadm /dev/md0 –add /dev/hdb1
>
> Any reason why this is a bad idea?  By the way, here's the /etc/mdadm.conf
> file:
>
> # mdadm.conf written out by anaconda
> DEVICE partitions
> MAILADDR root
> ARRAY /dev/md3 level=raid1 num-devices=2
> uuid=1d85d30a:0e76aa12:3d0f1ebd:1df6ad15
> ARRAY /dev/md2 level=raid1 num-devices=2
> uuid=89ab5084:b8d7c8e6:a7d80406:ebcc7482
> ARRAY /dev/md4 level=raid1 num-devices=2
> uuid=9057f97a:b9502b33:79662356:951c6033
> ARRAY /dev/md5 level=raid1 num-devices=2
> uuid=7d7e06d3:95dd40a2:ff4a20d4:6ffedb48
> ARRAY /dev/md1 super-minor=1
> ARRAY /dev/md0 super-minor=0
> ARRAY /dev/md6 level=raid1 num-devices=2
> uuid=5d252297:7c1a6bbe:03a8a685:59d3af95
>
> Note that the two lines for the original RAID don't seem to hold the correct
> config information.  Is this something I could manually edit (minus the
> uuid), or will mdadm -add do it for me?
>
> -Don
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available




More information about the Discuss mailing list