can't cp _to_ nfs mounted file system

can't cp _to_ nfs mounted file system

Post by Chuck Irvi » Sat, 31 Dec 1994 02:08:57



configuration:
   slip connection via TIA on remote machine
   local computer: P5 running slackware linux 2.0.2
   remote computer: sparc 10 running sunos 4.1.3

Everytime I try to copy files, e.g. "cp nfs-testing.txt /rhome/tmp",
from my local computer to my remote computer, the cp command
hangs. Actually, it seems that the slip connection is hung.

Copying from the other direction works fine. Also, this works:

prompt: echo testing > /rhome/tmp/nfs-testing.txt

I.e. where "rhome" is the nfs mounted directory.

Since the operation that is failing is the main thing I had hoped to
accomplish via nfs, I would GREATLY appreciate some help.

Many thanks.
--
Chuck Irvine
--------------------------------------------------------------------------
Cadence Design Systems, Inc./Alta Group                 FAX (913) 841-1345

1310 Wakarusa Dr.                                       (913) 841-1283
Lawrence, KS 66049
--------------------------------------------------------------------------

 
 
 

can't cp _to_ nfs mounted file system

Post by Chuck Irvi » Mon, 02 Jan 1995 03:01:17




Quote:>> Everytime I try to copy files, e.g. "cp nfs-testing.txt /rhome/tmp",
>> from my local computer to my remote computer, the cp command
>> hangs. Actually, it seems that the slip connection is hung.

ag> I suspect you have a lossy SLIP link, and you are using default (large)
ag> sizes for NFS reads and writes. Try reducing the read and write sizes
ag> (options on the mount command) to something like 512 bytes. This should
ag> avoid fragmentation, which is a killer on bad links because of the need
ag> to retransmit all fragments even if only one is lost.

Well, I was quite hopeful that this was the problem, but, alas, it
wasn't. I would really, really like to solve this problem so if anyone
has any theories I would be more than happy to put them to the test
:-). Or, if you have any ideas on how I would further isolate the
problem, this would be of great benefit also - I'm clueless how to
proceed.

More info:

local host: P5 PC running slackware 2.0.2 Linux
remote host: sparc 10 running sunos 4.1.3
SLIP on the remote side via TIA
--
Chuck Irvine
--------------------------------------------------------------------------
Cadence Design Systems, Inc./Alta Group                 FAX (913) 841-1345

1310 Wakarusa Dr.                                       (913) 841-1283
Lawrence, KS 66049
--------------------------------------------------------------------------

 
 
 

1. cp on NFS mounted files

Hye,

we have a problem with a linux NFS server contacted from a machine
running HP-UX 9:

Following directory contents:

  drwxrwxrwx   3 paul     tecware     1024 Jan 20 09:24 ./
  -rw-rw-r--   1 paul     tecware       20 Jan 20 09:16 yyy
  -rw-rw-rw-   1 nuhn     tecware        2 Jan 20 08:13 zzz

user paul, running on HP, wants to copy file yyy to zzz an gets the
message

  cp: cannot create zzz: Not owner

and zzz IS EMPTY afterwards !!!
    ^^^^^^^^^^^^

What's going wrong, any ideas or help ?

Peter

--

*--------------------------------------------------------------------------*
 \     Dipl.-Inform. Peter Nuhn                e-mail :

  \    TECMATH GmbH                             phone : ++49
6301-606-0      \
   \   Sauerwiesen 2                              fax : ++49
6301-606-70      \
    \  D-67661 Kaiserslautern                     www :
http://www.tecmath.de  \

*--------------------------------------------------------------------------*

2. 64-bit Linux on Sun V2100Z

3. Can't do NFS mount of remote file systems

4. usernames in passwd

5. NFS clients don't follow mount point on server to correct file system device

6. initrd and LILO

7. can't get parent directory on NFS mounted file systems?

8. COLA FAQ 4 of 7 31-Aug-2002

9. Error while cp'ing files from mounted Novell volumes

10. mount a remote file system(NFS) using mount() call

11. solaris 2.5 system mounts an file system on NT server thru NFS

12. mount mount file system using nfs

13. nfs mount problem: mount: can't get address for nfs-server.kauai