hi! just encountered a bug with evms shutdown code .. it resynced raid(1) stuff every boot cuz of the error.. this fixes it .. greetings, LordVan
here's the patch: --- old/drivers/evms/evms.c Thu Oct 24 10:38:05 2002 +++ new drivers/evms/evms.c Thu Oct 24 10:38:34 2002 @@ -3511,7 +3511,7 @@ * NOTE: the delete operation will * clear the bits in the flags field. */ - dv.command = is_open(i); + dv.command = (is_open(i)) ? 0 : 1; dv.minor = i; dv.status = 0; rc = evms_delete_volume(volume, &dv); @@ -5444,7 +5444,7 @@ * is mounted, and 'hard' delete * if it is not. */ - dv.command = is_open(i); + dv.command = (is_open(i)) ? 0 : 1; dv.minor = i; dv.status = 0; evms_delete_volume(volume, &dv);
Submitted patch fixes raid1 resync on reboot. Patch has been accepted into EVMS 1.2.1.
hmm... I'll do one more _rc of lolo-sources with evms-1.2.1, thanks.
wait, what am I talking about I already have 1.2.1 in the latest lolo-sources... so... wtf are we dealing with here? Does it work in teh latest or not?
afaik it should be in 1.2.1 ... haven't tried tough ..