• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jan 31, 2016, 5:45 AM

    Dear Experts,

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

    T 1 Reply Last reply Jan 31, 2016, 5:48 AM Reply Quote 0
    • T
      Tom Elliott @sayeed
      last edited by Jan 31, 2016, 5:48 AM

      @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 Jan 31, 2016, 12:02 PM

        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.

        T 1 Reply Last reply Jan 31, 2016, 1:03 PM Reply Quote 0
        • T
          Tom Elliott @sayeed
          last edited by Jan 31, 2016, 1:03 PM

          @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

          W 1 Reply Last reply Jan 31, 2016, 5:01 PM Reply Quote 1
          • W
            Wayne Workman @Tom Elliott
            last edited by Jan 31, 2016, 5:01 PM

            @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 Feb 1, 2016, 9:07 AM Reply Quote 0
            • S
              sayeed @Wayne Workman
              last edited by Feb 1, 2016, 9:07 AM

              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.

              T W 2 Replies Last reply Feb 1, 2016, 10:21 AM Reply Quote 0
              • T
                Tom Elliott @sayeed
                last edited by Feb 1, 2016, 10:21 AM

                @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
                • W
                  Wayne Workman @sayeed
                  last edited by Feb 1, 2016, 2:10 PM

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

                  216

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project