From nobody@FreeBSD.org  Thu Apr  3 13:52:22 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BD80A10656A8
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Apr 2008 13:52:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A7CB68FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Apr 2008 13:52:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m33DqHAG012894
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 3 Apr 2008 13:52:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m33DqHJf012893;
	Thu, 3 Apr 2008 13:52:17 GMT
	(envelope-from nobody)
Message-Id: <200804031352.m33DqHJf012893@www.freebsd.org>
Date: Thu, 3 Apr 2008 13:52:17 GMT
From: Anatoly Borodin <anatoly.borodin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: UFS labels are being constantly created and removed.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122415
>Category:       kern
>Synopsis:       [geom] UFS labels are being constantly created and removed.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-geom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 14:00:01 UTC 2008
>Closed-Date:    Tue Nov 23 20:38:02 UTC 2010
>Last-Modified:  Tue Nov 23 20:38:02 UTC 2010
>Originator:     Anatoly Borodin
>Release:        7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD fractal.home 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 29 17:44:33 EET 2008     anatoly.borodin@gmail.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
# dmesg | fgrep GEOM_LABEL
GEOM_LABEL: Label for provider ad4s1a is ufs/root.
GEOM_LABEL: Label ufs/root removed.
GEOM_LABEL: Label for provider ad4s1a is ufs/root.
GEOM_LABEL: Label ufs/root removed.

# tunefs -p /
tunefs: ACLs: (-a)                                         enabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 root

# glabel list
(none)

# ls /dev/ufs
total 0

Such behavior was has been seen with other labeled UFS partitions too.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Thu Apr 3 15:11:14 UTC 2008 
Responsible-Changed-Why:  
Over to -geom mailing list 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122415 
State-Changed-From-To: open->feedback 
State-Changed-By: pjd 
State-Changed-When: ndz 6 kwi 07:00:00 2008 UTC 
State-Changed-Why:  
My guess is that you don't use /dev/ufs/root, but /dev/ad4s1a directly. 
First removal is probably due to fsck of /dev/ad4s1a and second due mount 
of /dev/ad4s1a. Try replacing /dev/ad4s1a with /dev/ufs/root in your 
/etc/fstab and tell me how it goes. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122415 

From: "=?UTF-8?B?0JDQvdCw0YLQvtC70LjQuSDQkdC+0YDQvtC00LjQvQ==?=" <fractalizator@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/122415: [geom] UFS labels are being constantly created and removed.
Date: Tue, 15 Apr 2008 16:30:10 +0300

 SGkhCgoKUGxlYXNlIHRlbGwgbWUgaG93IHRvIHRlc3QgaXQgYW5kIG5vdCB0byBicmVhayB0aGUg
 Ym9vdCBwcm9jZXNzIGlmCnRoZXJlIGFyZSBhbnkgdHJvdWJsZXMuCgoKLS0gCk1pdCBmcmV1bmRs
 aWNoZW4gR3LDvMOfZW4sCkFuYXRvbHkgQm9yb2RpbgpidXNpbmVzczogYW5hdG9seS5ib3JvZGlu
 QGdtYWlsLmNvbQpwcml2YXQ6IGZyYWN0YWxpemF0b3JAZ21haWwuY29tCg==
State-Changed-From-To: feedback->closed  
State-Changed-By: lulf 
State-Changed-When: Tue Nov 23 20:36:43 UTC 2010 
State-Changed-Why:  
- Timeout. I think this issue is a non-issue. Moreover, we do not have this verbose information anymore either. Re-open if this is still a problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122415 
>Unformatted:
