From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 27 12:30:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE246106566B for ; Sun, 27 Dec 2009 12:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC1E48FC20 for ; Sun, 27 Dec 2009 12:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBRCU2YZ004652 for ; Sun, 27 Dec 2009 12:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBRCU2JU004651; Sun, 27 Dec 2009 12:30:02 GMT (envelope-from gnats) Resent-Date: Sun, 27 Dec 2009 12:30:02 GMT Resent-Message-Id: <200912271230.nBRCU2JU004651@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Laabs Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F1801065670 for ; Sun, 27 Dec 2009 12:29:03 +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 5E87D8FC16 for ; Sun, 27 Dec 2009 12:29:03 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBRCT2pi018940 for ; Sun, 27 Dec 2009 12:29:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBRCT2pq018929; Sun, 27 Dec 2009 12:29:02 GMT (envelope-from nobody) Message-Id: <200912271229.nBRCT2pq018929@www.freebsd.org> Date: Sun, 27 Dec 2009 12:29:02 GMT From: Martin Laabs To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/142068: BSD labels are got deleted spontaneously X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2009 12:30:03 -0000 >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@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: