writing this for attachment to prevent mailer line wrapping
trying to work with iscsi and local disk
can't have device names as mount points
doing an install (sles11) and selecting
UUID in the fstab options during partitioning
built - rebooted
there are several issues
1) /etc/fstab
ntest1:~ # cat /etc/fstab
UUID= swap swap defaults 0 0
UUID=122b5e09-7ce3-4900-bd2f-88df39ed6b57 / ext3 noatime,acl,user_xattr 1 1
getting the uuid from /dev/disk/by-uuid
for the swap partion and putting that in the fstab
then running
swapon -a
mounted the swap partition just fine
2) blkid
we found that blkid output wasn't order consistent
ntest1:/dev/disk/by-uuid # blkid /dev/sda2
/dev/sda2: TYPE="swap" UUID="0b2c1e9b-9c36-4b30-bb88-8d295d2cf3f5"
ntest1:/dev/disk/by-uuid # blkid /dev/sda1
/dev/sda1: UUID="122b5e09-7ce3-4900-bd2f-88df39ed6b57" TYPE="ext3"
3) autoinst.xml
the generated autoinst.xml still has device
for all the partitions instead of uuid as
expected.
4) grub
restore=/dev/sda2 in grub entry instead of pointing to the UUID