From owner-freebsd-questions Wed Oct 17 13:18: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 23EBE37B407 for ; Wed, 17 Oct 2001 13:17:57 -0700 (PDT) Received: from oneworld.owt.com (oneworld.owt.com [204.118.6.2]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA20505; Wed, 17 Oct 2001 13:17:56 -0700 Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by oneworld.owt.com (8.11.4/8.11.4) with ESMTP id f9HKHtt19205; Wed, 17 Oct 2001 13:17:55 -0700 Message-ID: <3BCDE770.2501D6A2@owt.com> Date: Wed, 17 Oct 2001 13:17:52 -0700 From: Kent Stewart X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: xphilius@yahoo.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems upgrading a machine with limited disk space References: <20011017200211.82409.qmail@web11807.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG X Philius wrote: > > 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. Mine is also a tri-boot but is W2K, XP-Pro, and FreeBSD. Since my systems go back to NT, my "C" drive is where I store stuff. Win98, for example would be on my "D" drive. As you can see from my df, you need ~700MB for /usr/src and /usr/obj. I think that you would need a FreeBSD filesystem to mount or link for system builds. You could squeeze /space down with something like Partition Magic and add another primary partition. Win98 and W2K wouldn't care about it and you would have the additional space you need. With only 1GB, you probably couldn't build something like kde-2.2 before you ran out of space because of /usr/ports. My /usr was full because I had all 5-iso's for 4.4-release on it. Kent > > Jason > > > --- Kent Stewart 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 -- 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