[linux] raid question

A. Mathes mathes at u.washington.edu
Wed May 7 17:11:45 PDT 2003


so, i set up a server this weekend using 3 hd's. It wouldn't boot off
RAID-5 for /boot partition, so, I ended up setting up /boot as RAID-1 and
/ as RAID-5.
It seems like everything is going well, except when I cat /proc/mdstat:

Personalities : [raid1] [raid5]
read_ahead 1024 sectors
md1 : active raid1 ide/host0/bus1/target0/lun0/part1[2]
ide/host0/bus0/target1/lun0/part1[1] ide/host0/bus0/target0/lun0/part1[0]
96256 blocks [2/2] [UU]
resync=DELAYED
md2 : active raid5 ide/host0/bus1/target0/lun0/part3[2]
ide/host0/bus0/target1/lun0/part3[1] ide/host0/bus0/target0/lun0/part3[0]
236010752 blocks level 5, 32k chunk, algorithm 3 [3/3] [UUU]
[=========>...........] resync = 47.6% (56217208/118005376)
finish=837.0min speed=1229K/sec
unused devices: <none>

well, it's resyncing, to say the least. What's confusing me is I had
thought resync happened when a drive went down. But all 3 drives are
functional ... and I did the install to the raid itself. (mounted
/dev/md1 and md2 before install) So nothing ever should have been out of
sync.
Any help as to why it's resynching or as to why it's already taken 24
hours (and how to avoid this in the future) would be appreciated ...

it's running gentoo

Andrew Mathes




More information about the Linux mailing list