LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Are vg uuid unique ? (https://www.linuxquestions.org/questions/linux-newbie-8/are-vg-uuid-unique-4175452956/)

kavya. 03-06-2013 08:27 AM

Are vg uuid unique ?
 
I tried to search for the answer in various posts but to no avail.

1) vg uuid generated on a single node seems to be unique. Please confirm.

2) But in a cluster (that has a shared storage) can the vg UUID be different for a shared vg containing same pvs ?.

giuliom_95 03-06-2013 09:22 AM

What you mean with 'vg' and 'pvs'? If you mean the disks' UUID is surely unique (UUID means 'universally unique identifier'), but I suggest you to use labels instead UUIDs. They are more friendly and you can use them like UUIDs: for example, for mounting a FAT16 device, that you call "pendrive", in a directory called /media/pendrive, you can run from terminal:
Code:

mount -t vfat LABEL=pendrive /media/pendrive

syg00 03-07-2013 04:28 AM

1) Read the description in the manpage for uuidgen.
2) The uuid is generated once - when the vg is created. It will be common, and is part of the meta-data read at boot/mount time


All times are GMT -5. The time now is 11:10 PM.