Re: Cutting power without breaking RAID

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

 



On Thursday June 29, davidsen@xxxxxxx wrote:
> Why should this trickery be needed? When an array is mounted r/o it 
> should be clean. How can it be dirty. I assume readonly implies noatime, 
> I mount physically readonly devices without explicitly saying noatime 
> and nothing whines.

The 'filesystem' is mounted r/o.  The 'array' is not read-only, and
you cannot set an array to read-only while a filesystem is mounted
(because the array cannot tell that the mount is read-only).

A little while after the last write, an array will mark itself as
clean.  The effect of the 'kill -9', is to reduce this 'little while'
to 0.

So 
  remount readonly
  wait a little while
  kill machine 

would work too.

NeilBrown
-
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

[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