Re: auto-read-only question

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

 



On Fri Feb 25, 2011 at 05:07:48PM +0100, Albert Pauw wrote:

>   Can anybody explain to me what "active (auto-read-only)" mean in 
> /proc/mdstats?
> 
When the array is assembled, it's set in "auto-read-only" mode. As soon
as anything tries to write to it, it gets set to normal write mode (or
you can trigger this manually by doing "mdadm -w" on the array). I'm not
sure why this is done - possibly it make it simpler for md to skip
running various internal processes on that array (as it knows that the
array isn't being dirtied).

I usually see this with swap arrays - most filesystems will immediately
open the array in read/write mode, so trigger the switch.

Cheers,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgpa0SgQxiWtm.pgp
Description: PGP signature


[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