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

    how to change the default image store location?

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    3
    869
    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.
    • D
      dureal99d
      last edited by

      Hello All!!

      I am running fog trunk version on bare metal and it runs great and it fits my needs thus far without any issues.

      I would like to know if I were to create a folder on my biggest drive and point the fog program to that location would that be good enough?

      I am aware I would have to also update or rather export the nfs for this location as well.

      But I cant help but think I’m missing something else I would have to do.

      any suggestions would be appreciated.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        There have actually been several threads on this very topic recently. Here are a few:

        https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partition

        https://forums.fogproject.org/topic/6617/moving-storage-to-different-location/9

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

        https://forums.fogproject.org/topic/6605/fog-upload-in-images-dev-default-node-instead-of-home-backup-dev-other-node

        https://forums.fogproject.org/topic/6583/storing-images-on-nas-network-share/7

        Please do let us know if you need further assistance.

        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
        • george1421G
          george1421 Moderator
          last edited by

          I did just setup something like this last friday. Its documented in the first link Wayne posted (it did take a bit of noodling to figure this one out). The key/trick is to use a bind-mount (like a super-duper symbolic link). You can’t use symbolic links because NFS can’t share them and/or NFS doesn’t have the concept of share aliases. The bind-mounts NFS can follow and share. If you use the bind mount then you don’t have to do anything FOG since fog still sees the /images folder, the OS redirects access to the mounted directory.

          The only caveat I have to say about my setup is that I have not uploaded an image yet to this setup. I can affirm that the download works as advertised.

          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!

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

          175

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project