From owner-freebsd-stable Mon Apr 9 3:22:42 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dilbert.fcg.co.uk (dilbert.firstcallgroup.co.uk [194.203.69.166]) by hub.freebsd.org (Postfix) with ESMTP id 6D30A37B422 for ; Mon, 9 Apr 2001 03:22:39 -0700 (PDT) (envelope-from pfrench@firstcallgroup.co.uk) Received: from pfrench by dilbert.fcg.co.uk with local (Exim 3.22 #1) id 14mYoZ-0006LJ-00; Mon, 09 Apr 2001 11:22:31 +0100 To: mike@dad.state.vt.us, mwm@mired.org Subject: Re: Disklabel 101? Cc: stable@freebsd.org In-Reply-To: <15055.61547.661230.147704@guru.mired.org> Message-Id: From: Pete French Date: Mon, 09 Apr 2001 11:22:31 +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mike Barton types: > > Are there any issues with placing swap first on the hard drive? Unless you > > insist on filling the drive, it seems to me that this swap arrangement would > > result in less stack travel. > > Not that I know of. In fact, I'm pretty sure that one of my systems > has root on s2, with swap on s1, which is earlier on the hard disk. It doesnt work on the same disc however. Try and do an install of 4.2 creating a swap partition, then a root partition and it fails. Or always has in my expereince anyway. Its a bit of a nasty gotcha actually because it is not obvious what the problem is. I can see that it probably makes sense to have root frst then sawp (and they become a and b) so I dont do it that way anymore, but its still worth knowing about. The order of separate discs is not a problem. We have a Compaq server that insists on booting from da1 rather than da0, so I have / on da1, /usr on da0 and an interleved swap between them. Even in this case, however, I found it necessary to put the filesystems first on each disc, followed by the swap partitions. -pete. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message