From owner-freebsd-questions Sun Apr 8 9:54:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by hub.freebsd.org (Postfix) with SMTP id 2810837B422 for ; Sun, 8 Apr 2001 09:54:43 -0700 (PDT) (envelope-from bsd140870@yahoo.co.uk) Received: from unknown (HELO as2.kptn.org) (203.106.174.237) by smtp.mail.vip.sc5.yahoo.com with SMTP; 8 Apr 2001 16:54:41 -0000 X-Apparently-From: Date: Mon, 9 Apr 2001 00:53:40 +0800 From: bsd140870 X-Mailer: The Bat! (v1.52 Beta/1) Reply-To: bsd140870 Organization: n/a X-Priority: 3 (Normal) Message-ID: <18438106924.20010409005340@yahoo.co.uk> To: FreeBSD Questions Subject: Re[4]: nfs and cp problem: file system full In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sunday, April 08, 2001, 11:32:46 PM, you wrote: AM> You are correct, the client shouldn't run out of space. All things being AM> equal then /usr should have more than enough space for ports. Which AM> confused me for a while...until I read your original post again a few AM> times. I think I might have nailed it this time...here goes... >> p200(as1) as an nfs server and duron650(as3) as an nfs client. nfs >> mounts ok w/ no problems. >> >> mount as1:/usr/ports /portstmp wrong. my apologies. that should've been: mount as1:/usr/ports /usr/ports since there is nothing in /usr/ports on the client (as3). AM> Assuming you're executing this command on the client (as3) then that AM> should mount the server's /usr/ports as /portstmp, correct? >> cp -R /usr/ports/* /portstmp AM> Also assuming you execute this on the client (as3) then that looks to me AM> like you're trying to copy everything from the client's /usr/ports/ AM> directory into /portstmp (which is an nfs mount of the ports collection on AM> as1). If this is the case then I suspect this isn't what you want to do AM> and is the reason you are running out of space. AM> First off you will probably want to kick yourself (I always find it helps AM> to kick oneself at times like this...and trust me when I say that AM> everybody on this list has made this kind of mistake many times before) it is so true :) again, my mistake. AM> Once that's done, what I would do, as this will probably have damaged the AM> ports collection on as1, would be to rm -rf * in /usr/ports on the AM> client (as3) cvsup the ports on the server (as1) and then execute: AM> mount as1:/usr/ports /portstmp AM> cp -R /portstmp/* /usr/ports AM> on the client (as3). AM> My apologies for not spotting this earlier. Hope this helps. AM> Andy AM> *************************************** AM> Andrew McKay AM> Located near Birmingham, England AM> Catalogue available on request AM> *************************************** -- bsd140870 mailto:bsd140870@yahoo.co.uk _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message