[PLUG] Identifying Device UUID

Rich Shepard rshepard at appl-ecosys.com
Fri Oct 29 15:33:43 UTC 2010


   I've searched with Google but despite headings that imply how to find the
UUID of a specific device, the page contents do not really tell me how to do
this.

   In /etc/fstab the entry for my external backup disk is

UUID=436bc83a-1d2b-4c58-b3a9-5dbe8efc4112  /media/hd0  ext3  defaults 0 0

   The past couple of mornings I see a mail message that the dirvish backup
could not unmount the drive. When I tried from the command line this morning
the attempt failed because the UUID did not match what the kernel saw.
Turning off the drive, and back on about a hour later allowed me to umount
the drive.

   How do I determine the UUID for devices such as this external drive? I've
tried 'vol_id', but 'vol_id -u /media/hd0' responds that it's an unknown or
unique media type and I see the same response if I use --uuid as the option
to vol_id.

   A clue stick is needed.

Rich



More information about the PLUG mailing list