kern/132273: glabel failing on journaled partition
Nick Sayer
nsayer at kfu.com
Mon Mar 2 19:50:01 PST 2009
>Number: 132273
>Category: kern
>Synopsis: glabel failing on journaled partition
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 03 03:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Nick Sayer
>Release: FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD quack.kfu.com 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #12: Fri Jan 9 12:01:41 PST 2009 root at quack.kfu.com:/usr/obj/usr/src/sys/QUACK i386
disk is GPT partitioned. ad0p5 is the data provider and ad0p7
is a 10G journal partition. The filesystem has a UFS label of
"home". I have set the label geom debug sysctl to 2.
>Description:
The label for ufs/home is not there when the system attempts to mount
it. Dmesg says:
GEOM_LABEL[2]: Tasting ad0.
GEOM_LABEL[1]: MSDOSFS: ad0: FAT12/16 volume not valid.
GEOM_LABEL[2]: Tasting ad0p1.
GEOM_LABEL[1]: MSDOSFS: ad0p1: no FAT signature found.
GEOM_LABEL[2]: Tasting ad0p2.
GEOM_LABEL[1]: UFS2 file system detected on ad0p2.
GEOM_LABEL[0]: Label for provider ad0p2 is ufs/root.
GEOM_LABEL[1]: MSDOSFS: ad0p2: no FAT signature found.
GEOM_LABEL[2]: Tasting ad0p3.
GEOM_LABEL[1]: UFS2 file system detected on ad0p3.
GEOM_LABEL[0]: Label for provider ad0p3 is ufs/var.
GEOM_LABEL[1]: MSDOSFS: ad0p3: no FAT signature found.
GEOM_LABEL[2]: Tasting ad0p4.
GEOM_LABEL[1]: UFS2 file system detected on ad0p4.
GEOM_LABEL[0]: Label for provider ad0p4 is ufs/usr.
GEOM_LABEL[1]: MSDOSFS: ad0p4: no FAT signature found.
GEOM_LABEL[2]: Tasting ad0p5.
GEOM_LABEL[1]: UFS2 file system detected on ad0p5.
GEOM_LABEL[0]: Label for provider ad0p5 is ufs/home.
GEOM_LABEL[1]: MSDOSFS: ad0p5: no FAT signature found.
GEOM_JOURNAL: Journal 3505265168: ad0p5 contains data.
GEOM_LABEL[2]: Tasting ad0p6.
GEOM_LABEL[1]: MSDOSFS: ad0p6: no FAT signature found.
GEOM_LABEL[2]: Tasting ad0p7.
GEOM_LABEL[1]: MSDOSFS: ad0p7: no FAT signature found.
GEOM_JOURNAL: Journal 3505265168: ad0p7 contains journal.
GEOM_JOURNAL: Journal ad0p5 clean.
GEOM_LABEL[2]: Tasting ufs/root.
GEOM_LABEL[2]: Tasting ufs/var.
GEOM_LABEL[2]: Tasting ufs/usr.
GEOM_LABEL[2]: Tasting ufs/home.
GEOM_LABEL[0]: Label ufs/home removed.
GEOM_LABEL[2]: Tasting ad0p5.journal.
GEOM_LABEL[0]: Label for provider ad0p5.journal is label/home.
GEOM_LABEL[1]: UFS2 file system detected on ad0p5.journal.
GEOM_LABEL[1]: Label home(ufs/home) already exists (ad0p5.journal).
GEOM_LABEL[1]: MSDOSFS: ad0p5.journal: no FAT signature found.
GEOM_LABEL[2]: Tasting label/home.
Trying to mount root from ufs:/dev/ufs/root
Note, in particular, that when geom journal comes along, it removes the
label for ufs/home, presumably because it "takes over" ad0p5. When it
then presents ad0p5.journal to GEOM_LABEL, label complains that ufs/home
already exists (ignore the refernce to label/home - that is my current
work-around).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list