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

    how to change /images on centos 7

    Scheduled Pinned Locked Moved
    General
    3
    8
    3.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.
    • S
      sayeed
      last edited by

      Dear Experts,

      Could you please help me to change /images path on my storage box.

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

        @sayeed https://forums.fogproject.org/topic/6580/changing-the-directory-where-fog-images-are-stored-question

        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
        • S
          sayeed
          last edited by

          Hi Tom,
          im unable to change the /images at /etc/exports because my storage has already NFS exports /storage and even im unable to link /images to storage in centos7.could please provide some more notes on that…i need to mount /images on storage to save all the images files.

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

            @sayeed what? You can have multiple shares in the exports file. Just add to exports file what it is you’re needing and restart the nfs service.

            You’re trying to make the location of /images /storage/images?

            Even with all that, why couldn’t you link back to /images?

            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

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @Tom Elliott
              last edited by

              @Tom-Elliott I think he just wants to copy his images to external storage temporarily so he can rebuild his fog server. Just a guess though.

              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/

              S 1 Reply Last reply Reply Quote 0
              • S
                sayeed @Wayne Workman
                last edited by

                Hi Wayne,

                i have installed fog on 250Gb Hdd in my local system, which is not sufficient space for me to save all the images.that’s why i have mounted my NAS storage /storage on fog server.but im unable to configure my /storage on fog,kindly provide the guide to mount my storage on fog…or provide the notes for make softlink between fog and my NAS so that i can save multiple images on NAS.

                Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @sayeed
                  last edited by

                  @sayeed what version of fog, and we need exact not “latest”. 1.2.0 was not easy to enable using nas to store data. This is mainly because of how most of the nas boxes I’ve heard and helped with work differently ftp from how they work for nfs. I’d recommend, if you’re not already on it, you to upgrade your fog installation to trunk. While there are still an occasional bug, for imaging I think it’s very stable and usable. With that, we added a mechanism to help with the nuances we see with nas by giving you two fields to adjust for images. The first field is the nfs location and the second field is the ftp location.

                  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 1
                  • Wayne WorkmanW
                    Wayne Workman @sayeed
                    last edited by

                    @sayeed said:

                    Hi Wayne,

                    i have installed fog on 250Gb Hdd in my local system, which is not sufficient space for me to save all the images.that’s why i have mounted my NAS storage /storage on fog server.but im unable to configure my /storage on fog,kindly provide the guide to mount my storage on fog…or provide the notes for make softlink between fog and my NAS so that i can save multiple images on NAS.

                    Linux cannot re-export a directory that is already remote. You shouldn’t mount the NAS on the fog server itself.

                    You should configure it as a storage node in the FOG web GUI, and create an NFS share on the NAS and an FTP user with full access to that share.

                    in the NFS share, there should be /storage/.mntcheck and /storage/dev/.mntcheck

                    /storage should be read only, /storage/dev should be read write.

                    FTP needs full access to the entire /storage directory.

                    Depending on the type of NAS (like Synology), you will need to move to FOG Trunk (like Tom said).

                    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/

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

                    252

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project