[Gllug] UUID of disc devices

Chris Bell chrisbell at chrisbell.org.uk
Thu Jul 21 12:38:19 UTC 2011


On Thu 21 Jul, John Edwards wrote:

> 
> Do you mean something like 'blkid'?
> 
> Example of output:
> --------
> $ sudo blkid 
> /dev/sda1: UUID="c7c2fa19-7790-61d0-b4fa-28499445eeb7" TYPE="linux_raid_member"
> /dev/sda2: UUID="d0d833e4-9278-927f-b4fa-28499445eeb7" TYPE="linux_raid_member"
> /dev/sdb1: UUID="c7c2fa19-7790-61d0-b4fa-28499445eeb7" TYPE="linux_raid_member"
> /dev/sdb2: UUID="d0d833e4-9278-927f-b4fa-28499445eeb7" TYPE="linux_raid_member"
> /dev/md0: UUID="1fd34d71-38c7-41bf-8439-5bec5131741c" TYPE="ext3"
> /dev/md1: UUID="zCcT1w-9dOz-HDNL-Y0Y5-26VL-i0bk-qCAVGA" TYPE="LVM2_member"
> /dev/mapper/vg1-swap: UUID="9baacf91-db57-4c7e-a716-d835810f647d" TYPE="swap"
> /dev/mapper/vg1-home: UUID="37df8b53-f242-40f3-a97c-4da5dd7286f8" TYPE="ext3"
> --------
> 
> Using 'mdadm --examine $device' will get you the RAID details on each
> device.
> 

   Thanks, will try those. It is a fairly recent installation and I do have
backups, but it would take ages to copy again.

-- 
Chris Bell www.chrisbell.org.uk
Microsoft sells you Windows ... Linux gives you the whole house.

--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list