From owner-freebsd-questions Wed Oct 17 12:33:37 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 10C3037B401 for ; Wed, 17 Oct 2001 12:33:33 -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 MAA14674; Wed, 17 Oct 2001 12:33:32 -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 f9HJXVt10572; Wed, 17 Oct 2001 12:33:31 -0700 Message-ID: <3BCDDD09.33B29DA3@owt.com> Date: Wed, 17 Oct 2001 12:33:29 -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: <20011017182911.70703.qmail@web11808.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: > > 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