From owner-freebsd-current Fri Mar 3 2: 5:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (Postfix) with ESMTP id BA59F37B55C for ; Fri, 3 Mar 2000 02:05:50 -0800 (PST) (envelope-from vallo@matti.ee) Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87]) by solaris.matti.ee (Postfix) with ESMTP id AF44E2CE65; Fri, 3 Mar 2000 12:05:36 +0200 (EET) Received: by myhakas.matti.ee (Postfix, from userid 1000) id 054F01C5629; Fri, 3 Mar 2000 12:05:38 +0200 (EET) Date: Fri, 3 Mar 2000 12:05:38 +0200 From: Vallo Kallaste To: Bruce Evans Cc: Peter Dufault , freebsd-current@FreeBSD.ORG Subject: Re: Crash in currtprio, after dumping no operating system.. Message-ID: <20000303120538.A14750@myhakas.matti.ee> Reply-To: vallo@matti.ee References: <20000303040632.A2942@myhakas.matti.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Bruce Evans on Fri, Mar 03, 2000 at 03:23:17PM +1100 Organization: =?iso-8859-1?Q?AS_Matti_B=FCrootehnika?= Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 03, 2000 at 03:23:17PM +1100, Bruce Evans wrote: > > 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. Thanks for clarifying, but now I have next question. Why sysinstall allows such misconfiguration? As I understand now the right way is start the disk with root partition not swap. The disklabel shown here was created with 4.0-20000228-CURRENT sysinstall. It seems now I'm wrong but I always thought the best place for swap is the beginning of disk. Can you please confirm that the common practise is disklabel with root partition in the beginning of disk? Thanks -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message