https://bugzilla.novell.com/show_bug.cgi?id=483939 Summary: xfs label of the root filesystem does not appear in /dev/disk/by-label/ and is not addressable by "root=LABEL=root" Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bcihelp@merck.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081213 SUSE/1.1.14-1.1 SeaMonkey/1.1.14 After giving the root partition (better said - its XFS filesystem) a new label with xfs_admin -f -L root /dev/sda3 and specifying "root=LABEL=root" in /boot/grub/menu.lst and rebooting, the kernel acts as if the root device were not there: Waiting for /dev/root to appear.................................... Would you like me to fail back to /dev/sda3 [Y/n]? Being dropped into /bin/bash, there is in fact no label entry for /dev/sda3: lrwxrwxrwx 1 root root 10 2009-03-10 15:39 boot -> ../../sda1 lrwxrwxrwx 1 root root 10 2009-03-10 15:39 data -> ../../sdb1 lrwxrwxrwx 1 root root 10 2009-03-10 15:39 swap -> ../../sda2 lrwxrwxrwx 1 root root 10 2009-03-10 15:39 unused -> ../../sda4 The label in fact is there: # xfs_admin -l /dev/root or # xfs_admin -l /dev/sda3 warning: AG 1 label differs warning: AG 2 label differs warning: AG 3 label differs label = "root" Even after booting into runlevel 5 with "root=/dev/sda3", the root filesystem's label is again not recognized - the listing above lacks "root -> ../../sda3", despite the label still really being set in the superblock. It is NOT - I repeat - NOT a problem with XFS in itself! The second disk's /dev/sdb1 is as well XFS and has got a label of "data" - this in fact shows up in /dev/disk/by-label/ (as shown above)! Reproducible: Always Steps to Reproduce: 1. chose XFS filesystem on root device 2. give it a label: xfs_admin [-f] -L root /dev/sda3 3. reboot (or restart udev) Actual Results: The XFS label is not shown in /dev/disk/by-label/, though another XFS's label does show up (/dev/sdb1 with LABEL=data is also XFS in the listing above). Expected Results: The label should appear in /dev/disk/by-label/ Kernel: 2.6.27.19-3.2-pae xfsprogs-2.10.1-1.26 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.