Re: raidctl: fail (rebuild later) VS wait for parity

2005-07-08 Thread engineer
Hi, engineer. > Hmm... I done this trisk, but it's not works ;). I add > CHECK=`raidctl -s raid1 | grep '/dev/wd1e: optimal'` > if [ -n "$CHECK" ]; then > raidctl -f /dev/wd1e raid1 > fi > # Check parity on raid devices. > raidctl -P all > into /etc/rc on /dev/wd0a (where live system exist

Re: raidctl: fail (rebuild later) VS wait for parity

2005-07-08 Thread engineer
Hi, engineer. Hmm... I done this trisk, but it's not works ;). I add CHECK=`raidctl -s raid1 | grep '/dev/wd1e: optimal'` if [ -n "$CHECK" ]; then raidctl -f /dev/wd1e raid1 fi # Check parity on raid devices. raidctl -P all into /etc/rc on /dev/wd0a (where live system exist and kernel bo

raidctl: fail (rebuild later) VS wait for parity

2005-07-08 Thread engineer
Further with RAID. Let's assume, that we have 2 RAID's: raid0 (wd0d, wd1d), 10 G - system (/, swap, /usr, /var) raid1 (wd0e, wd1e), 160 G - files, logs (/var/log, /var/www, /usr/[src,obj,ports]) Let's imagine, what if I add "raidctl -f /dev/wd1e raid1" (let it look's like failed) before "raid