Bug 142068 - [ufs] BSD labels are got deleted spontaneously
Summary: [ufs] BSD labels are got deleted spontaneously
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-27 12:30 UTC by Martin Laabs
Modified: 2022-01-24 14:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Laabs 2009-12-27 12:30:02 UTC
After upgrade to 8.0 all disklabels (partitions) of one partition were
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 disklabels
on the partition where my home directory is located were lost again this
morning.

After restoring the disklabels all worked as before and fsck did not
find 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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-12-27 14:56:06 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:14 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2018-02-25 06:37:57 UTC
To submitter: is this aging PR still relevant?