[Gllug] UUID of disc devices
John Edwards
john at cornerstonelinux.co.uk
Thu Jul 21 12:27:11 UTC 2011
On Thu, Jul 21, 2011 at 09:22:59AM +0100, Chris Bell wrote:
> Hello,
> Is there any way to examine the existing UUID of a device, perhaps in
> rescue or maintenance mode? I have a problem where I believe that a disc in
> a RAID1 device may be corrupted so the RAID will not start, and it would
> help to know what the problem is and on which disc. Debian is using UUID
> references to disc devices but does not show either the existing or proposed
> new UUID of any device in the standard installer, so I can see the disc by
> location but not UUID.
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.
--
#---------------------------------------------------------#
| John Edwards Email: john at cornerstonelinux.co.uk |
#---------------------------------------------------------#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 205 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20110721/6722d00b/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list