NFS mount Permission denied
-
Hello all,
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:Folder: /images
[CODE]drwxrwxrwx 3 fog root 4096 Mai 28 09:26 images[/CODE][CODE]drwxrwxrwx 3 fog root 4096 Mai 28 13:09 dev
-rwxrwxrwx 1 fog root 0 Mai 28 09:26 .mntcheck[/CODE]Folder: /images/dev
[CODE] -rwxrwxrwx 1 fog root 0 Mai 28 09:26 .mntcheck[/CODE]File: /etc/fstab
[CODE]192.168.1.6:/Volumes/Data/fogimages /images nfs defaults 0 0[/CODE]File: /etc/exports
[CODE]/images *ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *rw,sync,no_wdelay,no_root_squash,insecure)[/CODE]Storagenode on Webinterface
[IMG]http://img5.fotos-hochladen.net/uploads/storagenodeaomb81nd5l.jpg[/IMG]After this i mount the share with
[CODE]mount -a [/CODE]
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
best regards
Dark_Masta -
Have someone any help for me?
-
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.
See if this post helps: [url]http://www.fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/#post-12035[/url]
-
Hi,
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.Greetz X23
-
Hello all
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.Thank you
best regards
Dark_Masta -
Hi,
well have you found this? [url]http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/[/url]
It’s an tut written by a potatoe[B]Attention german:[/B]
Das ist mein Tutorial und ich bin eine Kartoffel
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?
Gruß X23
-
Hi all
I see this link before but on my virtual platforms didn’t work.ok, step for step
FreeNAS
Add a NFS Share
Authorized networks: 192.168.1.0/24
Path: /mnt/he-srv-nas1_r6/data/storage/imagesAdd a user fog with the password from Storage Node (c83ceaae5711ffc365bce7c66a0d9a19)
Homefolder: /mnt/he-srv-nas1_r6/data/storage/
Have full access on this FolderAfter active NFS i setup the FTP on Freenas
Path: /mnt/he-srv-nas1_r6/data/storage
Allow login for local usersI can connect to this folder and i make the dev and .mntcheck subfolders (FileZilla)
Fog Server
Edit fstab
192.168.1.3:/mnt/he-srv-nas1_r6/data/storage/images /images2 nfs defaults 0 0
The mount point works.Fog WebGUI
[ATTACH=full]343[/ATTACH]What is my fault? Dont have enough permission or its because i have not IP:/images?
best regards
Dark_MastaGerman PS:
Find ich super das auch deutschsprachige hier sind, vielleicht verstehe ich nämlich irgend ein Punkt auf Englisch nicht richtig…bin am verzweifeln.[url=“/_imported_xf_attachments/0/343_storageNode.JPG?:”]storageNode.JPG[/url]
-
Try chown -R fog:root on that folder
-
@Dark_Masta,
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 helpsDisclaimer: I could be wrong about the version and what is supported. Please read the manual.