From owner-freebsd-stable Mon May 20 9:55:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from damnhippie.dyndns.org (12-253-177-2.client.attbi.com [12.253.177.2]) by hub.freebsd.org (Postfix) with ESMTP id 1C62537B6C8 for ; Mon, 20 May 2002 09:16:52 -0700 (PDT) Received: from [172.22.42.2] (peace.hippie.lan [172.22.42.2]) by damnhippie.dyndns.org (8.12.3/8.12.3) with ESMTP id g4KGGn6r039932; Mon, 20 May 2002 10:16:49 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) Date: Mon, 20 May 2002 10:16:50 -0600 Subject: Re: odd question about slices From: Ian To: Pete French , Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 05/20/02 04:51, Pete French wrote: > We had a machine here which was, for historical reasons, booting > off drive 2 rather than its normal boot drive. As its a Compaq I > decided one day to swapthe drives round so that it bootd in the normal > way. > > [snip] > > This does not work. In order to get it to work I have to remove the slices > from the fstab so that it looks like this: > > /dev/da0a / ufs rw 1 1 > /dev/da0b none swap sw 0 0 > /dev/da0e /var ufs rw 2 2 > /dev/da0f /usr ufs rw 2 2 > /dev/da1s1e /usr/local ufs rw 2 2 > > Can anyone explain this behaviour to me ? It seems to work O.K., but I > feel sightly uneasy as the partitioning information sseems to act differently > depending on whether the drive is SCSI ID 0 or 1 ! Which doesnt seem right > to me somehow. > > I thought I had a good grip on how this worked, maybe not.... > > (system is running STABLE-RC2) > > -pcf. > It looks like you need to make device entries for the s2 slice of da0. cd /dev ; MAKEDEV da0s2 That should fix things up for you, I think. (I've been burned by this myself more than once when changing the scsi IDs of devices.) -- Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message