How to list an UUID?

Daniel Pittman daniel at rimspace.net
Sat Mar 31 01:19:03 UTC 2007


Felipe Figueiredo <philsf at ufrj.br> writes:
> 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. 

Really?  Well, I guess I didn't follow the question well at all. ;)

[...]

>> 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.
>> 
>> 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. 

Let me make it perfectly clear: *resizing* a filesystem will not, on any
current Linux filesystem that I am aware of.

My *resize* I mean: run a tool that makes the filesystem larger without
disrupting the existing content.

If you reformat and then copy data back to it the UUID will change. :)

> Not knowing for sure, I didn't assert that. 

Sorry if I seemed to imply that -- it was my best guess at meaning.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/





More information about the kubuntu-users mailing list