Fixing a Linux RAID 1 software mirror

Michael Mansour micoots at yahoo.com
Sat Jul 17 05:11:06 UTC 2004


Hi,

I've just noticed I have the following issue on my
/home (/dev/md5) software RAID mirror:

[root at gazelle root]# lsraid -a /dev/md5
[dev   9,   5] /dev/md5        
6A995494.6BAA9433.BC09B08A.778BCE84 online
[dev   ?,   ?] (unknown)       
00000000.00000000.00000000.00000000 missing
[dev  34,   8] /dev/hdg8       
6A995494.6BAA9433.BC09B08A.778BCE84 good

With the raidtab showing:

raiddev             /dev/md5
raid-level                  1
nr-raid-disks               2
chunk-size                  64
persistent-superblock       1
nr-spare-disks              0
    device          /dev/hde8
    raid-disk     0
    device          /dev/hdg8
    raid-disk     1

and the /proc/mdstat shows:

md5 : active raid1 hdg8[1]
      20972736 blocks [2/1] [_U]

As /dev/md5 is my /home directory, I don't want to
lose any data. How can I fix this to get /dev/hde8
into the md5 raidset without losing my data?

Thanks.

Michael.



Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com





More information about the fedora-list mailing list