is there any way to delay reconstruction?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this weekend i was trying to diagnose a system instability, and i kept on
having to hard cycle my system.

i was generally doing this from "init=/bin/sh" boots with all filesystems
mounted ro ... however i've got LVM on top of md here, and perhaps LVM was
doing some writing even when the filesystems were ro.

because of the hard cycle, every time i booted, md was convinced the disks
were out of sync and it went and reconstructed parity.

one of the things i was attempting to do with this system was reduce it
from ata5 to ata2 -- because i suspect my main issues are with cable
length.  the only way i see to do this presently is with "hdparm -X66",
but hdparm won't be able to do this successfully when md is busy doing
reconstruction...

and i saw no way to stop or delay reconstruction.

is there a way to stop reconstruction?

is there a way to force md to be read-only?

it'd be rad if there was an inexpensive bit of battery backed ram which
could be added to a system so md had somewhere to keep track of the state
of the raid... so that a hard cycle doesn't necessarily require parity
reconstruction :)

-dean

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux