i just installed opensuse 11 on two boxes and i want to setup an nfs server on one. regardless of what the export file lookes like on the server, i would get the following error when trying to mount on the client
mount -t nfs 192.168.0.50:/docs /media/docs
mount.nfs: access denied by server while mounting 192.168.0.50:/docs
>
> # mount -t nfs 192.168.0.50:/docs /media/docs
> mount.nfs: access denied by server while mounting 192.168.0.50:/docs
>
> my current incarnation of export looks like:
>
> /media/docs/ 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)
> /media/data/ 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)
> /media/music/ 192.168.0.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)
You’re specifying the source mount incorrectly:
You must match the original path:
mount -t nfs 192.168.0.50:/media/docs /local/mount/point
> i have no idea why i do not have the permissions. on the client side,
> i also get:
> # showmount -e 192.168.0.50
> Export list for 192.168.0.50:
> /media/music 192.168.0.0/255.255.255.0
> /media/data 192.168.0.0/255.255.255.0
> /media/docs 192.168.0.0/255.255.255.0
{Smile} See… it’s telling you the same… there is no ‘/docs’ being served.
thank you so much!!! i can’t believe i was being such an idiot! i just finished setting up Samba, and the path on the server is “/docs”, not “/media/docs”, and even though showmount explicitly says “/media/docs”, i still just used “/docs” for nfs.
>
> thank you so much!!! i can’t believe i was being such an idiot! i just
> finished setting up Samba, and the path on the server is “/docs”, not
> “/media/docs”, and even though showmount explicitly says “/media/docs”,
> i still just used “/docs” for nfs.
>
> thank you,
> -=- adam
>
>
{Smile} i certainly wouldn’t call yourself an idiot. My dad always used to
remind me that it was entirely too easy to get lost in a problem because you
assumed something near the beginning. “Too close to the forest to see the
trees” was his usual response. It happens. If you’d slept on it, I imagine
you’d have seen and fixed it quickly.