• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.3k
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.
  • A
    arnaudrigole
    last edited by arnaudrigole Apr 25, 2016, 10:18 AM Apr 25, 2016, 3:30 PM

    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?

    C 1 Reply Last reply Apr 27, 2016, 6:32 AM Reply Quote 0
    • Q
      Quazz Moderator
      last edited by Apr 25, 2016, 3:42 PM

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

      1 Reply Last reply Reply Quote 0
      • A
        arnaudrigole
        last edited by arnaudrigole Apr 25, 2016, 9:53 AM Apr 25, 2016, 3:44 PM

        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
        • A
          arnaudrigole
          last edited by arnaudrigole Apr 25, 2016, 10:43 AM Apr 25, 2016, 4:39 PM

          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
          • W
            Wayne Workman
            last edited by Apr 25, 2016, 5:44 PM

            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/

            A 1 Reply Last reply Apr 25, 2016, 7:16 PM Reply Quote 0
            • A
              arnaudrigole @Wayne Workman
              last edited by Apr 25, 2016, 7:16 PM

              @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
              • W
                Wayne Workman
                last edited by Wayne Workman Apr 25, 2016, 3:10 PM Apr 25, 2016, 9:10 PM

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

                A 1 Reply Last reply Apr 26, 2016, 10:07 AM Reply Quote 1
                • A
                  arnaudrigole @Wayne Workman
                  last edited by arnaudrigole Apr 26, 2016, 4:08 AM Apr 26, 2016, 10:07 AM

                  @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 Apr 26, 2016, 10:15 AM Reply Quote 0
                  • Q
                    Quazz Moderator @arnaudrigole
                    last edited by Apr 26, 2016, 10:15 AM

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

                    A 1 Reply Last reply Apr 26, 2016, 10:19 AM Reply Quote 0
                    • A
                      arnaudrigole @Quazz
                      last edited by Apr 26, 2016, 10:19 AM

                      @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
                      • A
                        arnaudrigole
                        last edited by arnaudrigole Apr 26, 2016, 12:21 PM Apr 26, 2016, 6:12 PM

                        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 Apr 26, 2016, 6:59 PM

                          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
                          • W
                            Wayne Workman
                            last edited by Apr 26, 2016, 9:46 PM

                            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/

                            A 1 Reply Last reply Apr 27, 2016, 7:33 AM Reply Quote 0
                            • C
                              ch3i Moderator @arnaudrigole
                              last edited by Apr 27, 2016, 6:32 AM

                              @arnaudrigole Hi Arnaud.

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

                              A 1 Reply Last reply Apr 27, 2016, 12:34 PM Reply Quote 0
                              • A
                                arnaudrigole @Wayne Workman
                                last edited by Apr 27, 2016, 7:33 AM

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

                                1 Reply Last reply Reply Quote 0
                                • A
                                  arnaudrigole @ch3i
                                  last edited by arnaudrigole Apr 27, 2016, 8:48 AM Apr 27, 2016, 12:34 PM

                                  @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
                                  1 / 1
                                  • First post
                                    3/16
                                    Last post

                                  158

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project