9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] nfs timeouts
@ 2021-08-08 10:55 pouya+lists.9fans
  2021-08-08 11:01 ` pouya+lists.9fans
  2021-08-09  3:32 ` ori
  0 siblings, 2 replies; 4+ messages in thread
From: pouya+lists.9fans @ 2021-08-08 10:55 UTC (permalink / raw)
  To: 9fans

I recently set up NFS exports on a server on my local intranet.  I can mount NFS directories after running nfs(4) but when I tried to do a small dircp(1) it invariably failed at the same point for each of the directories I tried:

        term% nfs -p 666 -u /lib/ndb/glenda.passwd /lib/ndb/glenda.group somehost
        term% mount -a /srv/somehost /n/somedir /somepath
        term% dircp somelocaldir /somepath/someremotedir

        [after a while...]

        tar: error writing same/path/same/file: timeout

NetBSD, Linux, and macOS clients don't seem to have any issues.

Am I doing something wrong or does nfs(4) not work very well?

Thanks,
Pouya



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T060ac082dfe82490-M97f91963d4812f828e60d92e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] nfs timeouts
  2021-08-08 10:55 [9fans] nfs timeouts pouya+lists.9fans
@ 2021-08-08 11:01 ` pouya+lists.9fans
  2021-08-09  3:32 ` ori
  1 sibling, 0 replies; 4+ messages in thread
From: pouya+lists.9fans @ 2021-08-08 11:01 UTC (permalink / raw)
  To: 9fans

> I recently set up NFS exports on a server on my local intranet.  I can mount NFS directories after running nfs(4) but when I tried to do a small dircp(1) it invariably failed at the same point for each of the directories I tried:
> 
>         term% nfs -p 666 -u /lib/ndb/glenda.passwd /lib/ndb/glenda.group somehost
>         term% mount -a /srv/somehost /n/somedir /somepath
>         term% dircp somelocaldir /somepath/someremotedir

Sorry, meant:
        term% dircp somelocaldir /n/somedir/someremotedir

> 
>         [after a while...]
> 
>         tar: error writing same/path/same/file: timeout
> 
> NetBSD, Linux, and macOS clients don't seem to have any issues.
> 
> Am I doing something wrong or does nfs(4) not work very well?
> 
> Thanks,
> Pouya

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T060ac082dfe82490-M2c8b34834df52fc5f02e2afc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] nfs timeouts
  2021-08-08 10:55 [9fans] nfs timeouts pouya+lists.9fans
  2021-08-08 11:01 ` pouya+lists.9fans
@ 2021-08-09  3:32 ` ori
  2021-08-09  7:55   ` Steve Simon
  1 sibling, 1 reply; 4+ messages in thread
From: ori @ 2021-08-09  3:32 UTC (permalink / raw)
  To: 9fans

Quoth pouya+lists.9fans@nohup.io:
> I recently set up NFS exports on a server on my local intranet.  I can mount NFS directories after running nfs(4) but when I tried to do a small dircp(1) it invariably failed at the same point for each of the directories I tried:
> 
>         term% nfs -p 666 -u /lib/ndb/glenda.passwd /lib/ndb/glenda.group somehost
>         term% mount -a /srv/somehost /n/somedir /somepath
>         term% dircp somelocaldir /somepath/someremotedir
> 
>         [after a while...]
> 
>         tar: error writing same/path/same/file: timeout
> 
> NetBSD, Linux, and macOS clients don't seem to have any issues.
> 
> Am I doing something wrong or does nfs(4) not work very well?
> 

It's probably NFS. It's likely been rarely used,
even relative to other plan 9 software.

If you can capture debug traces on both client
and server side, that may be helpful in debugging.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T060ac082dfe82490-M3545d53ef2507d07336327bc
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] nfs timeouts
  2021-08-09  3:32 ` ori
@ 2021-08-09  7:55   ` Steve Simon
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Simon @ 2021-08-09  7:55 UTC (permalink / raw)
  To: 9fans

hi

i am afraid there are long standing issues in nfs(4). i had problems years ago using it to read image files from a pluto video disk store.

from memory the issue was when doing a directory scan of the pluto it would take so long nfs(4) would timeout, and this was not gracefully handled properly and nfs would fault.

i never managed to get to the bittom of it and just used cifs(4) instead.

-Steve




------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T060ac082dfe82490-M52b311702c9489b902170f3d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-09  7:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-08 10:55 [9fans] nfs timeouts pouya+lists.9fans
2021-08-08 11:01 ` pouya+lists.9fans
2021-08-09  3:32 ` ori
2021-08-09  7:55   ` Steve Simon

9fans - fans of the OS Plan 9 from Bell Labs

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/9fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9fans 9fans/ https://inbox.vuxu.org/9fans \
		9fans@9fans.net
	public-inbox-index 9fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git