how to change /images on centos 7



  • Dear Experts,

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



  • @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).


  • Senior Developer

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



  • 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-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.


  • Senior Developer

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



  • 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.


  • Senior Developer


 

595
Online

5.4k
Users

12.6k
Topics

118.7k
Posts