xfs
[Top] [All Lists]

Re: Proposal/RFC: new metadata-specific UUID for V5 supers

To: "Carlos E. R." <carlos.e.r@xxxxxxxxxxxx>
Subject: Re: Proposal/RFC: new metadata-specific UUID for V5 supers
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 28 Apr 2015 11:42:24 +1000
Cc: XFS mailing list <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <553EE3FA.9050603@xxxxxxxxxxxx>
References: <553EB3D1.10602@xxxxxxxxxxx> <20150427233754.GT21261@dastard> <553ED9D8.4050106@xxxxxxxxxxx> <20150428012003.GS15810@dastard> <553EE3FA.9050603@xxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Apr 28, 2015 at 03:35:54AM +0200, Carlos E. R. wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 2015-04-28 03:20, Dave Chinner wrote:
> 
> >> Well, it's just the loss of ability to change UUID, which is
> >> something People Used To Do(tm), and now can't.  It does come up.
> >> Honestly if it had been done from day 0, it'd be a no-brainer I
> >> think.  Doing it now, with an incompat flag, might not be a
> >> reasonable tradeoff.
> > 
> > I think that labels are a far better way of dealing with this 
> > problem. Get rid of the UUID mount checking (and hence the nouuid 
> > mount option), and tell people to use by-label instead of by-uuid
> > to identify their filesystems when doing clones and snapshots.
> > Labels make it much easier for humans to identify the filesystem
> > than UUIDs...
> 
> As a plain user, I can say that I have needed to mount both the
> filesystem and its backup image, but Linux refused on the basis of the
> id being the same. Of course, all identifiers are the same, label and
> uuid.

Yes, that's the XFS UUID mount checking refusing to mount without the
"nouuid" mount option because of the duplicate UUID. XFS doesn't care
about whether there are duplicate labels or not, so removing the
UUID checking would solve your problem.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>