I have an nfs share on another Linux computer (running Debian Sarge) and listed in /etc/exports. I can mount it on another computer but I can't mount it on my OpenWRT system. I don't know if there's a syntax difference in the BusyBox commands or what the issue is because the error message is so cryptic. I searched the OpenWRT files system and didn't find any NFS log files. I have kmod_nfs installed, but didn't see any other nfs packages to install on OpenWRT. I used just "mount." This is the line in /etc/exports on the NFS server:
/data/Data/Audio/flac 172.16.7.0/255.255.255.0(ro,sync)
This is the line in /etc/fstab on the OpenWRT system:
172.16.7.2:/data/Data/Audio/flac/ /usr/share/mpd/music nfs
I had more options included, but I pared them down because I thought they might cause errors. This is the error message I get:
mount: mounting 172.16.7.2:/data/Data/Audio/flac/ on /usr/share/mpd/music failed
When I had not entered the proper date in /etc/exports on the server I did get a message that the server didn't authorize the share, so I think they're communicating. The directory /usr/share/mpd/music does exist on the OpenWRT system.
Am I doing something wrong? Is there a way to get more info (I tried mount with -v for verbose but it gave me nothing worse). I also tried using mount and specifying the info, like this:
mount -t nfs -o ro 172.16.7.2:/data/Data/Audio/flace /usr/share/mpd/music
And at first, got an error message for the option. I removed the "-ro o" part and got the same error as I did all the other times. I also tried without the "ro" in /etc/exports and tried removing all options in the same file, but it wouldn't work that way (nfs needs sync or rsync).
Thanks for any help on this!
(Last edited by HalNineThousand on 16 Aug 2007, 05:35)
