Re: Understanding LVM UUIDS

2010-07-02 Thread Daniel Barclay
Aaron Toponce wrote: UUIDs are unique to the device/filesystem. Are these (disk) UUIDs stored somewhere in the partition (in the filesystem), or are they stored at or generated from a lower level? In particular, if one used dd to copy the contents (a file system) of one partition to another

Re: Understanding LVM UUIDS

2010-07-02 Thread Ron Johnson
On 07/02/2010 12:40 PM, Daniel Barclay wrote: Aaron Toponce wrote: UUIDs are unique to the device/filesystem. Are these (disk) UUIDs stored somewhere in the partition (in the filesystem), or are they stored at or generated from a lower level? In the superblock. # dumpe2fs -h

Re: Understanding LVM UUIDS

2010-06-25 Thread Aaron Toponce
On 06/23/2010 03:30 PM, Camaleón wrote: On Wed, 23 Jun 2010 13:02:36 -0600, Aaron Toponce wrote: Whether or not these are his reasons, I can tell you why that is a wise move. UUIDs are unique to the device/filesystem. The major advantage of using UUIDs is that you don't have to worry about

Re: Understanding LVM UUIDS

2010-06-25 Thread Camaleón
On Fri, 25 Jun 2010 07:42:28 -0600, Aaron Toponce wrote: On 06/23/2010 03:30 PM, Camaleón wrote: On Wed, 23 Jun 2010 13:02:36 -0600, Aaron Toponce wrote: Whether or not these are his reasons, I can tell you why that is a wise move. UUIDs are unique to the device/filesystem. The major

Re: Understanding LVM UUIDS

2010-06-24 Thread Paul E Condon
On 20100623_054331, Ron Johnson wrote: On 06/23/2010 05:20 AM, Javier Barroso wrote: On Wed, Jun 23, 2010 at 10:40 AM, Alan Chandler a...@chandlerfamily.org.ukwrote: I feel I should move my entire /etc/fstab over to using uuids [snip] Which do I use, and what does the other one mean?

Understanding LVM UUIDS

2010-06-23 Thread Alan Chandler
I feel I should move my entire /etc/fstab over to using uuids However after installation I added the following line /dev/raid/bak /bakext4defaults0 2 which I now need to convert to a uuid (/dev/raid/bak is an lv on the raid volume group) if I look in

Re: Understanding LVM UUIDS

2010-06-23 Thread Javier Barroso
On Wed, Jun 23, 2010 at 10:40 AM, Alan Chandler a...@chandlerfamily.org.ukwrote: I feel I should move my entire /etc/fstab over to using uuids However after installation I added the following line /dev/raid/bak /bakext4defaults0 2 which I now need to convert

Re: Understanding LVM UUIDS

2010-06-23 Thread Ron Johnson
On 06/23/2010 05:20 AM, Javier Barroso wrote: On Wed, Jun 23, 2010 at 10:40 AM, Alan Chandler a...@chandlerfamily.org.ukwrote: I feel I should move my entire /etc/fstab over to using uuids [snip] Which do I use, and what does the other one mean? Get your uuid from dumpe2fs -h /dev/vg/lv

Re: Understanding LVM UUIDS

2010-06-23 Thread Tom H
On Wed, Jun 23, 2010 at 4:40 AM, Alan Chandler a...@chandlerfamily.org.uk wrote: I feel I should move my entire /etc/fstab over to using uuids However after installation I added the following line /dev/raid/bak /bak            ext4    defaults        0       2 which I now need to convert to

Re: Understanding LVM UUIDS

2010-06-23 Thread Camaleón
On Wed, 23 Jun 2010 09:40:22 +0100, Alan Chandler wrote: I feel I should move my entire /etc/fstab over to using uuids Mmm... any strong reason for doing that? :-) I'm with Lenny and the old naming method (/dev/sdx) is the default for /etc/fstab. (...) if I look in /dev/disk/by-id I can

Re: Understanding LVM UUIDS

2010-06-23 Thread Alan Chandler
On 23/06/10 11:20, Javier Barroso wrote: On Wed, Jun 23, 2010 at 10:40 AM, Alan Chandler a...@chandlerfamily.org.uk mailto:a...@chandlerfamily.org.uk wrote: I feel I should move my entire /etc/fstab over to using uuids ... Get your uuid from dumpe2fs -h /dev/vg/lv | grep UUID But

Re: Understanding LVM UUIDS

2010-06-23 Thread Aaron Toponce
On 06/23/2010 09:47 AM, Camaleón wrote: On Wed, 23 Jun 2010 09:40:22 +0100, Alan Chandler wrote: I feel I should move my entire /etc/fstab over to using uuids Mmm... any strong reason for doing that? :-) Whether or not these are his reasons, I can tell you why that is a wise move. UUIDs are

Re: Understanding LVM UUIDS

2010-06-23 Thread Camaleón
On Wed, 23 Jun 2010 13:02:36 -0600, Aaron Toponce wrote: On 06/23/2010 09:47 AM, Camaleón wrote: On Wed, 23 Jun 2010 09:40:22 +0100, Alan Chandler wrote: I feel I should move my entire /etc/fstab over to using uuids Mmm... any strong reason for doing that? :-) Whether or not these are