unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47706: nfs mount in file-system works only if "nfs4" type is used for "mount" syscall
@ 2021-04-11  8:33 fsdfsdfsd3 via Bug reports for GNU Guix
  2021-04-14  6:56 ` bug#47706: Acknowledgement (nfs mount in file-system works only if "nfs4" type is used for "mount" syscall) fsdfsdfsd3
  2021-08-08  3:19 ` bug#47706: nfs mount in file-system works only if "nfs4" type is used for "mount" syscall Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: fsdfsdfsd3 via Bug reports for GNU Guix @ 2021-04-11  8:33 UTC (permalink / raw)
  To: 47706

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

Hello,

I ran into an issue with trying to mount an nfs file-system in an operating-system config.. I managed to trace it back to being an issue with the mount syscall.

The following did not work:
(mount "192.168.1.10:/nas-server" "/mnt/nas-client" "nfs" 0 "addr=192.168.
1.10")
and would result in an error "No route to host"

I changed the type from "nfs" to "nfs4" however and this did work (For context; at the command line, both mount.nfs and mount.nfs4 also work fine., mount.nfs also works fine without nfs-utils installed).

This might be fixable by adding another check-procedure option for "nfs4" in addition to nfs, but I am sending it your way in case there is something else going on.

Thank you!

[-- Attachment #2: Type: text/html, Size: 907 bytes --]

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

end of thread, other threads:[~2021-08-08  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-11  8:33 bug#47706: nfs mount in file-system works only if "nfs4" type is used for "mount" syscall fsdfsdfsd3 via Bug reports for GNU Guix
2021-04-14  6:56 ` bug#47706: Acknowledgement (nfs mount in file-system works only if "nfs4" type is used for "mount" syscall) fsdfsdfsd3
2021-08-08  3:19 ` bug#47706: nfs mount in file-system works only if "nfs4" type is used for "mount" syscall Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).