Isaac Bennetch on 17 Mar 2010 08:20:22 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Help with NFS Share


On 3/17/2010 9:58 AM, Eric H. Johnson wrote:
> Hi all,
> I am trying to map the mythtv (mythbuntu) videos etc. folders to a front
> end. In the exports file on the backend I have:
> /var/lib/mythtv/videos
> *(rw,async,insecure,no_root_squash,no_subtree_check)


> On the client I enter:
> sudo mount /var/lib/mythtv/videos

I'm barely literate in NFS, but I think you reversed the server and 
client paths. Try:
sudo mount /videos

With your syntax, you appear to be trying to mount the server's /videos 
directory. I'm not sure but presume the client's /videos needs to first 
exist as an empty directory as is usually the case when mounting.

> The client side error reported is:
> mount.nfs: access denied by server while mounting
> Syslog on the server gives a related error:
> Mythtv1-backend1 mountd[2751]: refused mount request from for
> /videos (/): not exported

This seems to agree with what I said above; looks like it's denying the 
mount attempt for /videos.


> It seems the server is set up reasonably correctly, because I can attach to,
> map a drive to, etc. the exports through windows file manager. I also set
> the permissions for the folder on both the client and server to match (775).
> Additionally localhost is defined in the hosts file for both the client and
> server.
> Any ideas?
> Thanks,
> Eric
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --