From owner-freebsd-current Thu Mar 2 20:24:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id BACFC37B5B1 for ; Thu, 2 Mar 2000 20:24:03 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id PAA29147; Fri, 3 Mar 2000 15:28:39 +1100 Date: Fri, 3 Mar 2000 15:23:17 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Vallo Kallaste Cc: Peter Dufault , freebsd-current@FreeBSD.ORG Subject: Re: Crash in currtprio, after dumping no operating system.. In-Reply-To: <20000303040632.A2942@myhakas.matti.ee> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 3 Mar 2000, Vallo Kallaste wrote: > But, anybody out there who knows _why the hell_ the dump routine wiped > off my disklabel? Here's the disklabel, it's exactly same as before. > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 131072 524288 4.2BSD 1024 8192 16 # (Cyl. 32*- 40*) > b: 524288 0 swap # (Cyl. 0 - 32*) > c: 8899947 0 unused 0 0 # (Cyl. 0 - 553*) > e: 8244587 655360 vinum # (Cyl. 40*- 553*) The dump fills up precisely the entire 'b' partition. Since the partition begins at offset 0, the dump overwrites the label at sector offset 1 and any bootblocks at sector offsets 0-15. This misconfiguration is handled for swapping but not for dumping. This shouldn't lose any data. Just restore the label from a backup and write new bootblocks. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message