[PLUG] Identifying Device UUID

Pete Lancashire pete at petelancashire.com
Fri Oct 29 15:56:25 UTC 2010


check the /dev/disk entries for example

ls -l /dev/disk/by-uuid

-pete



On Fri, Oct 29, 2010 at 8:33 AM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>   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
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list