[CentOS-devel] Re: xfs volume can not be mounted with uuid or label, only scsi device name /dev/sdb

John Shen

jshen at stumbleupon.com
Sun Oct 5 12:14:36 UTC 2008


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


cn=John Shen,title=Sys. Admin.,ou=Operations,dc=StumbleUpon,dc=com

----- Original Message -----

John Shen wrote:
> kernel 2.6.18-92.1.10.el5.centos.plus
> kmod-xfs-0.4-1.2.6.18_92.1.10.el5.centos.plus
> xfsdump-2.2.46-1.el5.centos
> xfsprogs-2.9.4-1.el5.centos
> 
> the kernel comes back with device not found when i tried label= and uuid=, after changing the fs from ext3 to xfs. with ext3 all 3 works fine, but with xfs only the device name is accepted. any advice is appreciated.

I think you need to use uppercase for LABEL= and UUID=

James Pearson





More information about the CentOS-devel mailing list