Re: [PATCH 2/2] DDF: new algorithm for subarray UUID

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

 



On Sat, 07 Sep 2013 21:23:22 +0200 Martin Wilck <mwilck@xxxxxxxx> wrote:

> On 09/06/2013 11:26 PM, mwilck@xxxxxxxx wrote:
> > Some fake RAID BIOSes (in particular, LSI ones) change the
> > VD GUID at every boot. These GUIDs are not suitable for
> > identifying an array. Luckily the header GUID appears to
> > remain constant.
> > 
> > We construct a pseudo-UUID from the header GUID and those
> > properties of the subarray that we expect to remain constant.
> 
> Thinking about it once more, it may actually be better to construct the
> subarray UUID only from the container GUID and the member number (and
> name), because if we implement Grow or Reshape for DDF, the other
> properties might change.
> 
> I'm open for comments and suggestions.
> 
> Martin

I'd probably just base it on the container GUID and the member number.
Exclude even the name.

It is unfortunate that this change will cause all existing DDF uuids to
change even for controllers where they are currently stable.

Is it possible to detect whether a VD GUID is likely to change, and to only
use the new algorithm for those?

Thanks,
NeilBrown

Attachment: signature.asc
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