kern/142068: BSD labels are got deleted spontaneously

Martin Laabs info at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 27 12:30:02 UTC 2009
>Originator:     Martin Laabs
>Release:        FreeBSD 8.0-STABLE
FreeBSD 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Dec 16 13:58:33 CET 2009     martin at  i386
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
The corresponding restored file is available at

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

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

 Martin Laabs



More information about the freebsd-bugs mailing list