NFS mount Permission denied
Sorry for the bad english, but i will getting crazy with my problems and didnt found a forum like that in my language.
I have an ubuntu 12.04 LTS with FOG 0.32.
My Storagecapacity is very limited on this server and thats the reason why i add a NFS Share on apple xserve.
This Apple xserve has very important functions for me, why i dont wanna modify the DHCP on this server, i install dnsmasq on FOG server for PXE boot.
This are my settings on FOG Server:
drwxrwxrwx 3 fog root 4096 Mai 28 09:26 images
drwxrwxrwx 3 fog root 4096 Mai 28 13:09 dev -rwxrwxrwx 1 fog root 0 Mai 28 09:26 .mntcheck
-rwxrwxrwx 1 fog root 0 Mai 28 09:26 .mntcheck
192.168.1.6:/Volumes/Data/fogimages /images nfs defaults 0 0
/images *ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure) /images/dev *rw,sync,no_wdelay,no_root_squash,insecure)
Storagenode on Webinterface
After this i mount the share with
The Client boots from the PXE Server but i cant upload any image because Permission denied on NFS Share.
Can someone help me?
Please give an answer if you need more information
Can it be that my user on Fog Server? I work with a user named “admin” and not with the user fog who create with the installation because i didnt have the password but on webinterface i log in with “fog” and password “password”. i am very confused
I could be wrong but I think the stuff you’re trying to do is only available with Fog version 0.33 (It’s still in testing though). You may want to fork the source out and try to modify it, to suit your needs. Hope this helps
Disclaimer: I could be wrong about the version and what is supported. Please read the manual.
Try chown -R fog:root on that folder
I see this link before but on my virtual platforms didn’t work.
ok, step for step
Add a NFS Share
Authorized networks: 192.168.1.0/24
Add a user fog with the password from Storage Node (c83ceaae5711ffc365bce7c66a0d9a19)
Have full access on this Folder
After active NFS i setup the FTP on Freenas
Allow login for local users
I can connect to this folder and i make the dev and .mntcheck subfolders (FileZilla)
192.168.1.3:/mnt/he-srv-nas1_r6/data/storage/images /images2 nfs defaults 0 0
The mount point works.
well have you found this? http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/
It’s an tut written by a potatoe
Das ist mein Tutorial und ich bin eine Kartoffel :D
Das ist ja nett mal mehr deutsch sprechendes Kraut hier zu treffen…
Wenn du das Tutorial gelesen hast, wie sind deine Fragen was bekommste nicht hin?
[B]Attention german ends here:[/B]
If you’ve read the tut, what are your questions, what is not working?
i read a lot of things but now i am confused.
In German we would say “to miss the forest for the trees”
Now i uninstall the fog completely and reinstall it.
What must i do for add my FreeNAS as an additional Storagenode (for image)
Sorry, i now it has a lot of manuals but nothing works for me…
Can somone take a little time for me an write step for step what i do.
it’s important to keep the default storage node, add your nfs drive as a additional storage node.
Also you will need an FTP Server on the system where your new nfs share belongs.
I just saw in your post that you are mounting the apple storage to /images, and then trying to export /images. I think you are getting the error where you can’t export an nfs mount pount.
Have someone any help for me?