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

    Permission denied / Input/Output error - NFS ext storage [urgent]

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    16
    7.2k
    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.
    • arnaudrigoleA
      arnaudrigole
      last edited by arnaudrigole

      Hi Fog community,

      Sorry, its me again… my shcool project evaluation is next week and i still have a problem mouting an NFS storage node located on a windows server 2012R2.

      I followed this procedure:
      https://wiki.fogproject.org/wiki/index.php?title=Windows_Storage_Node
      and i can’t pass the step “fog server” step which say i have to transfer local .mntcheck files on nfs server over NFS.

      i can mount the @nfsserverIP:/images /images2
      then cd /images2
      then i try to cp or touch -> permission denied :(!!!

      I run fog 1.2.
      Can’t upload an image too, permission denied

      FOG_TFTP user is “fog” with a pw i defined, same as the user on fog vm, same as the user defined on filezilla ftp server.

      Sorry again for my poor english…!
      can anybody help me?

      ch3iC 1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by

        Did you follow all the steps? Because this is a permissions issue plain and “simple”.

        1 Reply Last reply Reply Quote 0
        • arnaudrigoleA
          arnaudrigole
          last edited by arnaudrigole

          Yeah i followed all the procedure more than 5 times…, each time i recreate a fog environment with 1.2 or trunk

          i tried to access nfs storage on a windows machine with mount 192.168.253.20:/images * it works, but i have no rw access too ! ; it returns me :
          Error 0x8007045D Input/output : same as linux!

          Everyone + Anonymous access have total access on /images and /images/dev
          NFS rights:

          alt text

          1 Reply Last reply Reply Quote 0
          • arnaudrigoleA
            arnaudrigole
            last edited by arnaudrigole

            When i try to upload the image from my client, it say:

            can’t chmod /images/@clientmacaddr : no such file or directory
            /bin/fog.upload line 112 : /images/@clientmacaddr/d1.fixed_size_partitions : No such file or directory
            /usr/share/fog/lib/partition-funcs.sh : line 66: /images/clientmacaddr/d1.original.fstypes no such files or directory…

            I think its because the fog server has no rw rights again … but where !?!

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Welp, I have time… I’m going to try this…

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              arnaudrigoleA 1 Reply Last reply Reply Quote 0
              • arnaudrigoleA
                arnaudrigole @Wayne Workman
                last edited by

                @Wayne-Workman
                Hi Wayne,
                You gonna try with my environment? thats it ? tell me if u need everything.

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by Wayne Workman

                  @george1421 I helped via join.me and we ended up using that single powershell command of yours to setup NFS correctly on windows.

                  New-NfsShare –Name "windowsNode" –Path E:\ –Authentication sys -AllowRootAccess $True -EnableUnmappedAccess $True –Permission Readwrite

                  @arnaudrigole says he will document every step with the windows storage node. I look forward to what he comes up with.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  arnaudrigoleA 1 Reply Last reply Reply Quote 1
                  • arnaudrigoleA
                    arnaudrigole @Wayne Workman
                    last edited by arnaudrigole

                    @Wayne-Workman
                    Hi Wayne, Thanks for your help.
                    I will document it.

                    After we did the test windows “WindowsNode”, i recreated the “images” nfs share in E: no problem i have rw access mounted on linux.

                    … But still have error “Failed to mount NFS volume” when trying to upload, but no error message displayed ! “Mouting file system… done”

                    I still working on it.

                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @arnaudrigole
                      last edited by

                      @arnaudrigole Could you post a screenshot of your storage node screen of the windows node from the FOG web UI?

                      arnaudrigoleA 1 Reply Last reply Reply Quote 0
                      • arnaudrigoleA
                        arnaudrigole @Quazz
                        last edited by

                        @Quazz
                        Of course, here it is :
                        alt text

                        “Management username” and “management password” are the same as defined for fog unix user, and as user with full rw rights on filezilla server

                        1 Reply Last reply Reply Quote 0
                        • arnaudrigoleA
                          arnaudrigole
                          last edited by arnaudrigole

                          Anyone know what can cause this problem? :s
                          I tried in “upload debug” task, it told me :

                          " Mouting file system … mount : mouting 192.168.253.20:/images/dev on /images failed : Device or resource busy

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            Have you tried mounting the NFS from a client by hand? https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              also - don’t mount the NFS share to the fog server. we only did that to test if it was working or not.

                              This windows node is stand-alone. After the NFS share is set and FTP permissions set, and the needed files/directories created - ALL you have to do - is - create a new node in the fog Web Interface. That’s it.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              arnaudrigoleA 1 Reply Last reply Reply Quote 0
                              • ch3iC
                                ch3i Moderator @arnaudrigole
                                last edited by

                                @arnaudrigole Hi Arnaud.

                                Je peux t’aider au besoin en prenant la main, ce matin ou jeudi/vendredi.

                                arnaudrigoleA 1 Reply Last reply Reply Quote 0
                                • arnaudrigoleA
                                  arnaudrigole @Wayne Workman
                                  last edited by

                                  @Wayne-Workman
                                  Yeah i’ve just recreated the fog storage node on webUI

                                  1 Reply Last reply Reply Quote 0
                                  • arnaudrigoleA
                                    arnaudrigole @ch3i
                                    last edited by arnaudrigole

                                    @ch3i
                                    Salut !
                                    Ecoute ce matin ça fonctionne en upload/download, je ne sais pas comment.
                                    J’ai toujours le message d’erreur “Device busy” à l’upload mais ça passe outre et ça fonctionne…

                                    @Wayne-Workman
                                    Still have the error, after redefined storage node 😕

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

                                    299

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project