Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 13:02:11 -0700 (PDT)
From:      X Philius <xphilius@yahoo.com>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problems upgrading a machine with limited disk space
Message-ID:  <20011017200211.82409.qmail@web11807.mail.yahoo.com>
In-Reply-To: <3BCDDD09.33B29DA3@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent,
Here is the output of 'df -m'

Filesystem  1M-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s2a       193       97       80    55%    /
/dev/ad0s2f       787      683       41    94%    /usr
/dev/ad0s2e        48        0       43     2%    /var
procfs              0        0        0   100%    /proc
/dev/ad2s5      11579     1982     9596    17%    /space

It is a tri-boot machine, /space is an extended DOS partition that I share with Win98 and Win2K.
As you can see, plenty of room there, but I am only devoting about a Gig to FreeBSD.

Jason
 

--- Kent Stewart <kstewart@owt.com> wrote:
> 
> 
> X Philius wrote:
> > 
> > Folks,
> > I'm upgrading a machine using CVsup, and I have limited disk space. There is not enough room
> for
> > /usr/src and /usr/obj on the same hard drive (I'm at 94% with only the new source loaded). So,
> I
> > am trying to move (ie mv) all of /usr/src over to another drive which has more space,
> hopefully
> > giving myself enough room to 'make buildworld'. I am moving /usr/src under the impression that
> I
> > cannot get 'make' to put my new binaries anywhere else other than /usr/obj after a 'make
> > buildworld'. I get an odd error when trying to move the whole src folder, the error is pasted
> > below:
> > 
> > mv: /space/Everything/hell/src/usr.bin/window/:tty: Invalid argument
> > mv: /space/Everything/hell/src/usr.bin/window/:var: Invalid argument
> > mv: /space/Everything/hell/src/usr.bin/window/:ww: Invalid argument
> > mv: /space/Everything/hell/src/usr.bin/window/:tt: Invalid argument
> > mv: /space/Everything/hell/src/lib/libc/mips/:errfix: Invalid argument
> > mv: /bin/cp: terminated with 1 (non-zero) status: Cross-device link
> > 
> > Naturally this makles me nervous to run make using this source. Ant suggestions? I used the mv
> > command with no special flags.
> 
> First of all, how much space do you have on your HD's? I have ln'ed
> /usr/src and /usr/obj to other drives just fine. When I set up a system
> to build and install on other systems, I changed my setup a little bit
> and created a 1.5GB partition for both /usr/src and /usr/obj. Then, I
> could nfs_mount them as /usr/... My df looks like
> 
> coral# df
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/ad0s3a    248047    52450   175754    23%    /
> /dev/ad0s3f    992239      581   912279     0%    /tmp
> /dev/ad0s3g   9477547  8691552    27792   100%    /usr
> /dev/ad0s3e    992239   108429   804431    12%    /var
> /dev/ad4s2e   1486814   382915   984954    28%    /usr/obj
> /dev/ad4s3e  12712841        1 11695813     0%    /usr2
> /dev/ad6s2e   1486814   311915  1055954    23%    /usr/src
> /dev/ad6s3e  12712841        1 11695813     0%    /usr3
> procfs              4        4        0   100%    /proc
> 
> With the system on one controller and /usr/src and /usr/obj on different
> controllers, I was able to drop my buildworld time from 40 minutes to 29
> minutes.
> 
> I just noticed that /usr was running a 100%. I am doing something about
> that right now.
> 
> Kent
> 
> -- 
> Kent Stewart
> Richland, WA
> http://users.owt.com/kstewart
> 
> Carl Sagan quote on Seti@home
> http://setiathome.ssl.berkeley.edu/pale_blue_dot.html
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011017200211.82409.qmail>