• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    NFS mount Permission denied

    Scheduled Pinned Locked Moved
    General
    4
    9
    6.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dark_Masta
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • D
        Dark_Masta
        last edited by

        Have someone any help for me?

        1 Reply Last reply Reply Quote 0
        • C
          chad-bisd Moderator
          last edited by

          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]


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

          1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy
            last edited by

            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.

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

            Greetz X23

            ║▌║█║▌│║▌║▌█

            1 Reply Last reply Reply Quote 0
            • D
              Dark_Masta
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy
                last edited by

                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

                ║▌║█║▌│║▌║▌█

                1 Reply Last reply Reply Quote 0
                • D
                  Dark_Masta
                  last edited by

                  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
                  [ATTACH=full]343[/ATTACH]

                  What is my fault? Dont have enough permission or its because i have not IP:/images?

                  best regards
                  Dark_Masta

                  German 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]

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jay_S_FogUser
                    last edited by

                    Try chown -R fog:root on that folder

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jay_S_FogUser
                      last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      250

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project