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

    Storage edition

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    12
    2.9k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      No you do not.

      You must create the images2/.mntcheck images2/dev and images2/dev/.mntcheck stuff.
      [code]mkdir -p /images2/dev
      touch /images2/{.mntcheck,/dev/.mntcheck}
      chmod -R 777 /images2[/code]

      Then you’ll need to change the exports file to allow mounting.

      Simply copy the two lines for the /images directories and paste them below the original two lines. Edit the /images part on the last two lines and make them point to /images2 rather than /images.

      Restart your nfs service, or reboot your system, whichever is easiest for you.

      You will then need to edit your images so you can point which group you want each to be stored on.

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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
      • J
        jmeyer
        last edited by

        What do you mean by “exports file” ?
        I think this is what i missed because I had already made the dev directory, copied the .mntcheck with cp and set to 777.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          /etc/exports

          This is the file that tells what folders to open through nfs.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • J
            jmeyer
            last edited by

            It’s working !
            Yet, it still use “/images/dev”.
            I think i missed something.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              In the init it uses /images/ and /images/dev. This is because from the client side it creates a folder on the client and mounts the NFS to that folder. Hopefully that makes sense.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • J
                jmeyer
                last edited by

                And how make it use the right dev folder from the storage chosen to avoid transfer between drive ?

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  That’s done at tasking time. If the image is on the group/node that points at /images2/dev what’s sent to mount is IPOFFOG:/images2/dev

                  If it’s pointing on the group/node that’s looking at /images/dev it sends the mount point at: IPOFFOG:/images/dev

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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
                  • J
                    jmeyer
                    last edited by

                    Doesn’t look to work, i’m uploading a computer with image set to “images2” and temp data are in the “/images/dev”

                    [ATTACH]1097[/ATTACH]

                    [url=“/_imported_xf_attachments/1/1097_fog.jpg?:”]fog.jpg[/url]

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

                      First i was think it was the created task as you said so i restarted it but it’s the same.
                      In syslog it’s requested to mount the /images2/dev but temp data end on /images/dev and image end in /images.
                      This is pretty crazy.

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

                        Even deleting the default node to avoid to use it when images2 node is active, fog keeps trying to use it.

                        Jul 3 17:12:19 srv-fog in.tftpd[16789]: tftp: client does not accept options
                        Jul 3 17:12:33 srv-fog rpc.mountd[1760]: authenticated mount request from 10.121.20.101:743 for /images2/dev (/images2/dev)

                        edit :
                        I find out that i had to put the main node in first in exports file and not second.
                        Since it’s the same datastore, it will use the first it an access.

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          181

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project