Linux [solved] NFS stopped working after NAS upgrade from Ubuntu 10.04 to 12.04
#1
Hi,
I upgraded my NAS server from Ubuntu Linux 10.04 to 12.04. And now i can't reach my exports from within XBMC(buntu). When i press Browse -> Network Filesystem (NFS) -> 10.10.1.1 (my nas) -> nothing happens.

In xbmc.log there is this:
11:32:34 T:139663152039808 ERROR: GetDirectory - Error getting nfs://10.10.1.1
11:32:34 T:139663152039808 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://10.10.1.1) failed

I've exported with these options:
(rw,sync,no_subtree_check,insecure)

Doing a manual mount from command line works. And before the upgrade to 12.04 everything worked fine.

Ideas?
Reply
#2
Try mounting with autofs.

I'd be more useful in the long– run anyways.
If I helped out pls give me a +

A bunch of XBMC instances, big-ass screen in the basement + a 20TB FreeBSD, ZFS server.
Reply
#3
joolz - full log with debug turned on please
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
thethirdnut, im not sure thats an option. the reason i mount trough xbmc instead of through fstab is because 80% of the time xbmc starts faster that the mounts.

Memphiz, here you go: http://pastebin.com/0YikKTcF
Reply
#5
(2012-05-17, 16:52)joolz Wrote: thethirdnut, im not sure thats an option. the reason i mount trough xbmc instead of through fstab is because 80% of the time xbmc starts faster that the mounts.

FYI. That is the entire point of autofs - it mounts the drives as needed irrespective of what is loaded first on the OS.

I use it on all my XBMC setups + several other Linux boxes without issue. https://help.ubuntu.com/community/Autofs


If I helped out pls give me a +

A bunch of XBMC instances, big-ass screen in the basement + a 20TB FreeBSD, ZFS server.
Reply
#6
(2012-05-17, 17:23)thethirdnut Wrote:
(2012-05-17, 16:52)joolz Wrote: thethirdnut, im not sure thats an option. the reason i mount trough xbmc instead of through fstab is because 80% of the time xbmc starts faster that the mounts.

FYI. That is the entire point of autofs - it mounts the drives as needed irrespective of what is loaded first on the OS.

I use it on all my XBMC setups + several other Linux boxes without issue. https://help.ubuntu.com/community/Autofs

The nut, thanks. it worked.

Also, seems like an update to ubuntu servers solved the original issue:

nfs-utils (1:1.2.5-3ubuntu2) precise; urgency=low

* Fix wrong path to rpcinfo in the init script, which breaks use of nfs
v3 support in the server. LP: #945651.
Reply
#7
Glad to hear it worked. Happy xbmc'ing.
If I helped out pls give me a +

A bunch of XBMC instances, big-ass screen in the basement + a 20TB FreeBSD, ZFS server.
Reply

Logout Mark Read Team Forum Stats Members Help
[solved] NFS stopped working after NAS upgrade from Ubuntu 10.04 to 12.040