Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2001 00:53:40 +0800
From:      bsd140870 <bsd140870@yahoo.co.uk>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re[4]: nfs and cp problem: file system full
Message-ID:  <18438106924.20010409005340@yahoo.co.uk>
In-Reply-To: <Pine.BSF.4.21.0104081619490.8098-100000@fluoxetine.openirc.co.uk>
References:  <Pine.BSF.4.21.0104081619490.8098-100000@fluoxetine.openirc.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <birminghamweb@freeuk.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18438106924.20010409005340>