Re: [PATCH 4/4] imsm: monitor: do not finish recovery, when raid goes to read-only

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


On Thu, Apr 5, 2012 at 8:31 AM, Przemyslaw Czarnowski
<przemyslaw.hawrylewicz.czarnowski@xxxxxxxxx> wrote:
> If kernel forces raid to be read-only (eg. during reboot, and root
> partition lies on array) monitor should not finish recovery and leave
> metadata untouched.

I'm not sure I understand the point of this one, can you clarify?
Even though the rootfs is readonly at initial boot it may still
require the root block device to be readwrite.  For example xfs needs
to do journal playback even when mounting ro.  So if the monitor is
running at all it means that the array was started read-write (or at
least read-auto) and should be fine to complete recovery.

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


[ATA RAID]     [Linux SCSI Target Infrastructure]     [Managing RAID on Linux]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device-Mapper]     [Kernel]     [Linux Books]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Photos]     [Yosemite Photos]     [Yosemite News]     [AMD 64]     [Linux Networking]

Add to Google Powered by Linux