Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 11:51:06 +0100
From:      Pete French <pfrench@firstcallgroup.co.uk>
To:        stable@FreeBSD.ORG
Subject:   odd question about slices
Message-ID:  <E179kks-0008oH-00@mailhost.firstcallgroup.co.uk>

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

So,I ussed to have an /etc/fstab that looked like this:

/dev/da1s2a             /               ufs     rw              1       1
/dev/da1s2b             none            swap    sw              0       0
/dev/da1s2e             /var            ufs     rw              2       2
/dev/da1s2f             /usr            ufs     rw              2       2
/dev/da0s1e             /usr/local      ufs     rw              2       2

And I changed it to:

/dev/da0s2a             /               ufs     rw              1       1
/dev/da0s2b             none            swap    sw              0       0
/dev/da0s2e             /var            ufs     rw              2       2
/dev/da0s2f             /usr            ufs     rw              2       2
/dev/da1s1e             /usr/local      ufs     rw              2       2

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.

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?E179kks-0008oH-00>