From owner-freebsd-questions Fri Aug 16 12:40:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B48F37B400 for ; Fri, 16 Aug 2002 12:40:07 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C9D843E81 for ; Fri, 16 Aug 2002 12:40:04 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g7GJdOS03038; Fri, 16 Aug 2002 14:39:28 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020816143924.018b29d0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 16 Aug 2002 14:39:24 -0500 To: Kent Stewart From: "Jack L. Stone" Subject: Re: How to add more space to the /usr partition || DUMB & DUMBER! Cc: Roman Neuhauser , MET , freebsd-questions@FreeBSD.ORG In-Reply-To: <3D5D4CCE.3070701@owt.com> References: <20020816180015.GC1946@grumpy.dyndns.org> <002801c2454b$60fbbe90$6901a8c0@SURVIVAL> <20020816180015.GC1946@grumpy.dyndns.org> <3.0.5.32.20020816134457.018b29d0@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 12:04 PM 8.16.2002 -0700, Kent Stewart wrote: > > >Jack L. Stone wrote: > >> At 08:13 PM 8.16.2002 +0200, Roman Neuhauser wrote: >> >>>>Date: Fri, 16 Aug 2002 13:00:15 -0500 >>>>From: David Kelly >>>>Subject: Re: How to add more space to the /usr partition || DUMB ! >>>> >>>>If /usr is too lean for future use such as having enough space for >>>>rebuilding the system then "mkdir /home/obj" and "rm -rf /usr/obj; ln -s >>>>/home/obj /usr/obj". Can do the same thing for /usr/ports, and /usr/src, >>>>altho I suggest one use "mv". >>>> >>>>I have moved /usr/obj and /usr/ports this way on several machines. >>>>FreeBSD is quite happy with a symbolic link for these. >>>> >>> but you should be warned that e. g. cvs breaks if your repository >>> path contains symlinks. there's bound to be more boneheaded >>> software, though it might not reach the cvs level. >>> >>>-- >>> >> >> It was also my understanding that "symlinks" can slow things down too..... >> not sure about that, but a consideration for any directories that move a >> lot of data... > > >On my system that does buildworlds the fastest, I created 1.5 GB >partitions on the 2nd and 3rd hard drives for /usr/src and /usr/obj. >Each HD is on its own ATA-100 controller. I mount in them /etc/fstab as >/usr/src and /usr/obj. The 1.5 GB is overkill but I am only using 10% of >what was left, which means I haven't affected anything. > >I also did this so I could NFS mount them. Make knows the real path and >builds on linked fs also have to be linked the same way on the system >doing the nfs_mounting. > >Kent > Taking that a step further, IF one has several servers to maintain, use a "slave box" to keep all of the /usr/src and /usr/obj files and let the other machines be "parasites" and use these directories/files over NFS. Thus, only ONE machine needs to keep those files... and does all of the CVSuping and compiling as was discussed another day on this list. The parasites can mount up through FSTAB too.... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message