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

    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
    

    Folder: /images/dev

     -rwxrwxrwx  1 fog root      0 Mai 28 09:26 .mntcheck
    

    File: /etc/fstab

    192.168.1.6:/Volumes/Data/fogimages /images nfs defaults 0 0
    

    File: /etc/exports

    /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

    mount -a 
    

    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



  • @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 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



  • 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/images

    Add a user fog with the password from Storage Node (c83ceaae5711ffc365bce7c66a0d9a19)
    Homefolder: /mnt/he-srv-nas1_r6/data/storage/
    Have full access on this Folder

    After active NFS i setup the FTP on Freenas
    Path: /mnt/he-srv-nas1_r6/data/storage
    Allow login for local users

    I 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
    storageNode.JPG



  • Hi,

    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

    [B]Attention german:[/B]
    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?

    Gruß 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,

    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.

    http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/

    Greetz X23


  • Moderator

    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: http://www.fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/#post-12035



  • Have someone any help for me?


Log in to reply
 

430
Online

38715
Users

10543
Topics

99813
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.