Re: Controlling Reading and Writing in RAID 1 configuration

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

 



On Thursday April 27, mingz@xxxxxxxxxxx wrote:
> 
> On Fri, 2006-04-28 at 08:04 +1000, Neil Brown wrote:
> > On Tuesday April 25, rikherrin@xxxxxxxxx wrote:
> > > Hi,
> > >   I have a setup where I want to use RAID 1 to mirror
> > > my data over the LAN.  I am exposing 2x500 GB-sized
> > > devices via iSCSI and was wondering if I could
> > > configure the RAID 1 to write to both members of the
> > > RAID 1 configuration but only read from one as one
> 
> only read from one disk, shall this be a "--read-preferred" ?

No.  The one(s) you don't read from is the odd-one-out.  The one(s)
you read from are 'normal' and don't get a special flag.

> 
> i checked email archive, but still not quite understand on this
> "--write-mostly". for raid1, u anyway need to write all components, so
> why there is a "mostly"?
> 

Mostly it will just write to this device.
But if all the non-write-mostly device fail, then it will read from
this device.  So it isn't write-only.  It is write-mostly.

Make sense?

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