How to list an UUID?

Felipe Figueiredo philsf at ufrj.br
Fri Mar 30 12:58:38 UTC 2007


On Quinta 29 Março 2007, Daniel Pittman wrote:
> Felipe Figueiredo <philsf at ufrj.br> writes:
> On Thursday 29 March 2007 03:11:22 Daniel Pittman wrote:
> >
> >> Perhaps you had some other question in mind though?
> >
> > Maybe something like: "can one use UUIDs from LVM volumes?", or "if I
> > resize the LVM volume, will its UUID change?"
> >
> > I only know the answer to the first one, and it's a yes.
> 
> I don't quite follow these questions either, but I do understand why I
> don't follow them:

The question Michael asked was about substituting a full disk for another 
larger. This is a problem LVM solves, so if he is prepared to change/add 
disks in his system, he would just worry about the relationship between UUID 
and LVM when fs resizing takes place.

I didn't think it was such a long shot, but then again, I use LVM on all my 
systems. ;)

> 
> The UUID that is used to mount is a *filesystem* property: ext3, XFS,
> Linux swap, etc all have their own UUID somewhere in their headers.

snip
 
> 
> So: if you resize your LVM volume the UUID stays the same.

For all you said, I still would think resizing the filesystem *might* change 
its UUID. Not knowing for sure, I didn't assert that. Actually *I* don't 
really care, because I removed UUIDs from my fstab as soon as I spotted 
them. ;)

Guess old habits die hard.

regards
FF




More information about the kubuntu-users mailing list