Re: Understanding LVM UUIDS
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
> if I look in /dev/disk/by-id I can locate the following
> and in /dev/disk/by-uuid (again excuse the word wrap)
> lrwxrwxrwx 1 root root 10 Jun 21 19:20
> f3408fda-0649-414f-8446-c01cf4e07558 -> ../../dm-0
> There seems to be no correspondence between them
Well, just a bit explanation about the device nomenclature. If you issue:
sm01@stt008:~$ ls -l /dev/disk
drwxr-xr-x 2 root root 280 jun 23 07:29 by-id
drwxr-xr-x 2 root root 80 jun 23 07:29 by-label
drwxr-xr-x 2 root root 180 jun 23 07:30 by-path
drwxr-xr-x 2 root root 100 jun 23 07:29 by-uuid
You will see the 4 available options. You can use/choose whatever you
want for naming your devices. So, having no correspondence between them
is normal (I mean, "by-id" uses a different name than "by-uuid").
> Which do I use, and what does the other one mean?
The most used are "by-uuid" and "by-id". But unless you are experiencing
any problem with your current setup, I would leave it as is right now.