how to change the default image store location?
-
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.
-
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/6583/storing-images-on-nas-network-share/7
Please do let us know if you need further assistance.
-
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.