[NTLUG:Discuss] HOW?? - Remirroring a software RAID-1 that doesn't autoremirror.

Richard Geoffrion ntlug at rain4us.net
Wed May 28 08:10:26 CDT 2003


OK..so there should be nothing TO it.  I should just have to reboot the box
and the raid mirror should just autorecover...only it's not.  AND since this
is on the [/] root partition I can't just stopraid, raidhotadd, or any other
raid command on the silly thing because its always active.

I don't even remember the question at this point so I'll just include some
information.  Any ideas on how to get a happy [UU] out of /dev/md1?

-Richard

root at gwifs:~# cat /proc/mdstat
Personalities : [raid0] [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] sda1[0]
      32000 blocks [2/2] [UU]

md1 : active raid1 sdb5[1]
      4000064 blocks [2/1] [_U]
<snip>

root at gwifs:~# cat /etc/fstab
/dev/sda2        swap             swap        defaults         0   0
/dev/sdb2        swap             swap        defaults         0   0
/dev/md1        /                reiserfs        defaults         1   1
<snip>

root at gwifs:~# cat /etc/raidtab | more
<snip>
raiddev                 /dev/md1
raid-level              1
nr-raid-disks           2
chunk-size              32
nr-spare-disks          0
persistent-superblock   1
device                  /dev/sda5
raid-disk               0
device                  /dev/sdb5
raid-disk               1
<snip>




More information about the Discuss mailing list