kern/142068: BSD labels are got deleted spontaneously

Martin Laabs info at martinlaabs.de
Sun Dec 27 12:30:03 UTC 2009


>Number:         142068
>Category:       kern
>Synopsis:       BSD labels are got deleted spontaneously
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 27 12:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Martin Laabs
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD pc.martinlaabs.de 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Dec 16 13:58:33 CET 2009     martin at pc.martinlaabs.de:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
After upgrade to 8.0 all disklables (partitions) of one partition where lost. Fortunately I found a saved bsdlabel output file so I was able to recover the disklabels. This was 4 weeks ago and I that time I thought it was my fault.
However - yesterday I began porting beagle (desktop search program) to freebsd and run it some hours. During that time it created heavy (reading) disk load because it began to index my home directory. After clean shutdown of the computer/filesystem yesterday afternoon the disklables on the partition where my home directory is located were lost again this morning.
After restoring the disklables all worked as before and fsck did not found any inconsistencies within the partitions.

I did a dd if=/dev/ad4s4.before of=ad4s4 count=200 before restoring the original disklabels. You can find this file at http://martinlaabs.de/tmp/ad4s4.before
The corresponding restored file is available at http://martinlaabs.de/tmp/ad4s4.after

The disklabel of the partition is 
su:~$ bsdlabel /dev/ad4s4
# /dev/ad4s4:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 683180190        0    unused        0     0         # "raw" part, don't edit
  d: 104857600        0    4.2BSD        0     0     0 
  e: 62914560 104857600    4.2BSD        0     0     0 
  f: 515408030 167772160    4.2BSD        0     0     0 

Partitions ad4s4f, ad4s4e and ad4s4d are gbde encrypted.

You can find a dmesg dump at http://martinlaabs.de/tmp/dmesg.txt

Please remember also kern/138967 that occurred on the same system. There might be a relation between them.

Greetings,
 Martin Laabs
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list