[haiku-bugs] [Haiku] #16924: Mounting NFS under Haiku does not work.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 19 Apr 2021 19:23:03 -0000

#16924: Mounting NFS under Haiku does not work.
-----------------------+--------------------------
 Reporter:  TCH68k     |       Owner:  nobody
     Type:  bug        |      Status:  new
 Priority:  normal     |   Milestone:  Unscheduled
Component:  - General  |     Version:  R1/beta2
 Keywords:             |  Blocked By:
 Blocking:             |    Platform:  All
-----------------------+--------------------------
 Linux NFS4 server with the following settings:
 {{{
 /root *(rw,sync,no_subtree_check,insecure)
 }}}
 Tested from Solaris 10 and from localhost self-mountinf, it's working.

 Under Haiku Beta 2 (AMD64), if i do
 {{{
 mount_nfs 192.168.10.100:/root /mnt/nfs 100 1000
 }}}
 i get
 {{{
 mount failed (General system error)
 }}}
 in console and
 {{{
 KERN: nfs: mount(9, <NULL>, 00000000)
 KERN: nfs: nfs_params:
 nfs:192.168.10.100:/root,uid=100,gid=1000,hostname=shredder
 KERN: nfs:ip!
 KERN: IP:192.168.10.100
 KERN: nfs:hn!
 KERN: nfs:uid!
 KERN: nfs:gid!
 KERN: nfs: ip:c0a80a64 server:'192.168.10.100' export:'/root'
 hostname:'shredder' uid=100 gid=1000
 KERN: nfs: mountd at 640aa8c0:41059
 KERN: nfs: nfsd at 640aa8c0:2049
 KERN: nfs: RPC_PROG_MISMATCH (3,4)nfs: error in nfs_mount: General system
 error
 }}}
 in `/var/log/syslog`. I tried to do
 {{{
 mount -t nfs4 192.168.10.100:/root /mnt/nfs
 }}}
 (also with `-t nfs3`), but only got
 {{{
 mount: No such file or directory
 }}}
 in the console and nothing in the syslog.

 The topic on Haiku discussion: [https://discuss.haiku-os.org/t/mount-nfs-
 under-haiku/10655/7]
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16924>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: