Setup Fog to use NAS to store images
-
So I’ve looked around and found a few posts regarding using a NAS device for storing the /images directory. I am setting up Ubuntu & Fog on a retired server that has some decent hardware (perfect for Fog).
My question is - can I run a normal fog install? or do I have to use storage install? If I run normal is there an easy method to mount or redirect the /images directory to a share on the NAS (I already have the share on the NAS setup). I did watch a YouTube video that walks you through a storage node install but that is assuming I already have an existing Fog server running.
Also, what network protocols (if any) do I need to have setup on the NAS for simple communication between the Fog server and the NAS? The NAS is a Synology rack mounted in our main network rack.
UPDATE: So will this tutorial work for a Synology NAS? https://wiki.fogproject.org/wiki/index.php?title=Use_FOG_with_FreeNAS
-
you could set up fog as normal then mount your NAS share to /images afterwards.
-
@brakcounty said in Setup Fog to use NAS to store images:
you could set up fog as normal then mount your NAS share to /images afterwards.
Please be aware that an NFS share mounted as /images cannot be used because NFS shares cannot be exported by design.
-
@sebastian-roth Well I ran into a snag by not being able to multicast to deploy images. So for now I have left the Fog server as the master node. If I run into a space issue further down the road I can always move images over to the NAS and vice-versa. Space was really the only reason for using the NAS.