That was how I got the LABEL and UUID:
[root ~]# /usr/sbin/xfs_admin -lu /dev/sdb label = "/mysql2" UUID = 2560a02a-239b-4ac5-affe-cf71f8e87150
cn=John Shen,title=Sys. Admin.,ou=Operations,dc=StumbleUpon,dc=com
----- Original Message ----- Date: Mon, 06 Oct 2008 11:03:37 +0100 From: James Pearson james-p@moving-picture.com Subject: Re: [CentOS-devel] Re: xfs volume can not be mounted with uuid or label, only scsi device name /dev/sdb
John Shen wrote:
sorry for the confusion, i did use the uppercase in fstab.
# neither of the following works # UUID=2560a02a-239b-4ac5-affe-cf71f8e87150 /var/lib/mysql xfs noatime 0 0 #LABEL=/mysql2 /var/lib/mysql xfs noatime 0 0 # only this works /dev/sdb /var/lib/mysql xfs noatime 0 0
What does xfs_admin report about the label and uuid? :
/usr/sbin/xfs_admin -lu /dev/sdb
James Pearson