Skip to content

Instantly share code, notes, and snippets.

@evanpurkhiser
Last active December 17, 2015 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanpurkhiser/5607213 to your computer and use it in GitHub Desktop.
Save evanpurkhiser/5607213 to your computer and use it in GitHub Desktop.

In my example of mounting the share from the CLI, I was mounting as root, which I believe is why XBMC can't mount the share. However, I do have the insecure option in my share export options list.

I was actually able to access this share just fine in XBMC before last night, and I don't think I changed anything

Just for context. There are two computer involved here

  • desktop refers to the NFS server
  • htpc is running XBMC
# /etc/exports on desktop
# Share media with my HTPC
/home/evan/multimedia htpc(ro,no_root_squash,insecure,no_subtree_check)
# Journalctl output from my desktop for when I try and access the NFS share on XBMC
May 19 07:53:45 desktop rpc.mountd[10386]: authenticated mount request from 192.168.1.101:50050 for /home/evan/multimedia (/home/evan/multimedia)
evan@dersktop $ rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 54103 nlockmgr
100021 3 udp 54103 nlockmgr
100021 4 udp 54103 nlockmgr
100021 1 tcp 38441 nlockmgr
100021 3 tcp 38441 nlockmgr
100021 4 tcp 38441 nlockmgr
100005 1 udp 20048 mountd
100005 1 tcp 20048 mountd
100005 2 udp 20048 mountd
100005 2 tcp 20048 mountd
100005 3 udp 20048 mountd
100005 3 tcp 20048 mountd
evan@htpc $ # Mounting from the command line works just fine...
evan@htpc $ mkdir multimedia
evan@htpc $ sudo mount -t nfs4 192.168.1.100:/home/evan/multimedia multimedia/The NFS server (desktop) is also on Arch Linux x64 (Linux 3.9.2-1-ARCH) with all up to date packages.
[sudo] password for evan:
evan@htpc $ cd multimedia/
evan@htpc $ ls
music/ videos/ wallpapers/
05:19:36 T:140163313923840 NOTICE: Thread Jobworker start, auto delete: true
05:19:36 T:140163313923840 ERROR: Failed to open(//) opendir call failed with "RPC Packet not accepted by the server"
05:19:36 T:140164686632896 ERROR: GetDirectory - Error getting nfs://192.168.1.100/home/evan/multimedia/
05:19:36 T:140164686632896 ERROR: CGUIMediaWindow::GetDirectory(nfs://192.168.1.100/home/evan/multimedia/) failed
05:19:36 T:140163322316544 NOTICE: Thread Background Loader start, auto delete: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment