Date: Fri, 3 Mar 2000 15:23:17 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Vallo Kallaste <vallo@matti.ee> Cc: Peter Dufault <dufault@hda.com>, freebsd-current@FreeBSD.ORG Subject: Re: Crash in currtprio, after dumping no operating system.. Message-ID: <Pine.BSF.4.21.0003031513550.2455-100000@alphplex.bde.org> In-Reply-To: <20000303040632.A2942@myhakas.matti.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003031513550.2455-100000>