Jump to content

Recommended Posts

Posted

I have a Virtual FOG machine, instead of having a huge virtual hdd i decided to store the images on the host machine. I use Virtual Box and i shared a host folder through it. I mounted it to /images and it worked brilliantly i could create files etc... in the folder and they appeared on the host.

 

I booted up a machine to upload to this new fog machine and it fails saying it cant mount the nfs share. i umounted the share and tried to mount the nfs share again, works fine so its not an authentication/service problem with nfs its a problem with nfs and the share.

 

when i try mounting it from terminal i get:

 

[root@fog mnt]# mount -t nfs FOG_IP:/images /mnt/nfs/
mount.nfs: access denied by server while mounting FOG_IP:/images

 

the directory permissions are the same and i cant see any problems with it.

 

Anyone know how to get nfs to share a share?

Posted

I haven't used FOG, but when I've set up NFS servers in the past I have had similar issues. These have always been down to me either forgetting about the firewall or forgetting to start the NFS service.

 

Try disabling the firewall on the server and see if that fixes it.

 

Adam

Posted

Firewall is off, SELinux is off (have to disable it all anyway to get fog to work).

 

the NFS shares work fine till you mount the HDD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...