Wednesday, July 1, 2015

LVM - UUID info

 The Universally Unique Identifier [UUID] is assigned to the device which can be used to identify a device

Do a long listing ..
# ls -l /dev/disk/by-uuid

Use blkid to find the UUID which can be used on fatab.
#  blkid /dev/sdb1
/dev/sdb1: UUID="32343v98-c43v-8787-d765-8sy558e48be-776k7d54" TYPE="ext4"

To display rar device output.
# lsblk -r

# dmsetup ls --tree -o ascii or vt100

# For RHEL 6 systems
# for fs in `ls /dev/sd*`; do udevadm info -q all -n $fs; done | grep DEVPATH;

# For RHEL5 systems
# for i in `cat /proc/partitions | awk {'print $4'} |grep sd`; do
# echo "### $i: `scsi_id -g -u -s /block/$i`"

No comments:

Post a Comment