Re: write-refresh md array (feature request)

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

 



On Wed, 11 Sep 2013, Dan Williams wrote:
> On Wed, Sep 11, 2013 at 5:37 AM, Henrique de Moraes Holschuh
> <hmh@xxxxxxxxxx> wrote:
> > On Wed, 11 Sep 2013, CoolCold wrote:
> >> You can achieve this with a bit inderect way - there are sync_min and
> >> sync_max params which can be used to operate on certain borders of array,
> >> more info
> >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/md.txt?id=refs/tags/v3.11#n579.
> >
> > Doesn't do anything close to what I requested.  Neither check nor repair
> > will re-write sectors that appear to be good (and are actually returning the
> > correct data after ECC correction by the component device, but will
> > eventually fail if not rewritten to soon).
> 
> Sounds like a modification of the "replace" code to allow replacing
> the with self-same drive. Something like "want_refresh" would mark the

That would do it, if the system considers that the component device is still
valid while it is being replaced in-place with itself :)

> drive as a soft replacement to mark that slot to be re-written.  But
> if the drive is expected to be "weak" you could just rotate in a spare
> drive without degrading the array with the existing code.

Well, that requires a spare device, which is often not the case in small
setups (which are the ones more likely to be using md raid with SATA,
instead of SAS).

Although I really don't know if SAS nearline devices are any better than the
current crop of untrustworthy crap that passes for SATA HDDs.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
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