[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: /usr/local partitioning problem

What does your /etc/fstab file look like?  I bet you're trying to mount
your /usr/local partition before your /usr partition.  You can't do


-----Original Message-----
From: owner-misc_(_at_)_openbsd_(_dot_)_org [mailto:owner-misc_(_at_)_openbsd_(_dot_)_org] On Behalf
Of rogue_(_at_)_ngxweb_(_dot_)_com
Sent: Friday, April 20, 2001 11:19 PM
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: /usr/local partitioning problem

I have tried on 3 different occasions to make /usr/local a separate 
partition.  All 3 times, I have been able to get it to mount as a
partition, but nothing is written to it.  that is, all /usr/local data
being written to the /usr partition and not the /usr/local partition
is set up and mounted.

I have tried it on two installs of 2.9 beta and then thinking that it
be a 2.9 bug, I tried it on 2.8 release (i.e., official cdrom)...same 
outcome.  I have been able to get /usr/local working fine as its own 
partition in freebsd 4.2.

here is the df output from 2.9 beta:

grumpyoldmen# df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/wd0a      53M    18M    33M    35%    /
/dev/wd0d     1.4G   1.0K   1.3G     0%    /usr/local/emul/redhat
/dev/wd1a     1.7G   769M   889M    46%    /usr
/dev/wd1b      95M   4.8M    85M     5%    /var
/dev/wd1d     492M   1.0K   467M     0%    /tmp

in case the sector/block readout is more helpful:

grumpyoldmen# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       54607    18303    33574    35%    /
/dev/wd0d     1487277        1  1412913     0%    /usr/local/emul/redhat
/dev/wd1a     1786895   787621   909930    46%    /usr
/dev/wd1b       96943     4894    87202     5%    /var
/dev/wd1d      503791        1   478601     0%    /tmp

I should note that the first two times i tried,  I just used
as opposed to "/usr/local/emul/redhat".  I used /usr/local/emul/redhat
time just to test a desperate notion my buddy had.  Eventually, what we 
want to do is have the redhat emulation partition mounted by itself
explains this rather odd third attempt.

The only thing that comes to mind is that /usr must be mounted on a 
partition before /usr/local....but my recent freebsd experience

wd0 is faster than wd1 which is why we want to mount the redhat
partition on it...we also want to have as much room as possible for 
it......I guess we could always set it up to be the slave drive, if all 
else fails.  :-/

A search of the archives revealed nothing, which leads me to believe
perhaps it something that I am doing wrong during the fdisk/disklabel

I know this is probably a basic question/problem....I just cant seem to 
find anything to address it.