Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 10:16:50 -0600
From:      Ian <freebsd@damnhippie.dyndns.org>
To:        Pete French <pfrench@firstcallgroup.co.uk>, <stable@freebsd.org>
Subject:   Re: odd question about slices
Message-ID:  <B90E7D92.D2A1%freebsd@damnhippie.dyndns.org>
In-Reply-To: <E179kks-0008oH-00@mailhost.firstcallgroup.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B90E7D92.D2A1%freebsd>