Date: Wed, 17 Oct 2001 12:33:29 -0700 From: Kent Stewart <kstewart@owt.com> To: xphilius@yahoo.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems upgrading a machine with limited disk space Message-ID: <3BCDDD09.33B29DA3@owt.com> References: <20011017182911.70703.qmail@web11808.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BCDDD09.33B29DA3>