I have searched and found nothing helpful. I followed the directions that apparently worked for version 0.32, but they do not work now (at least not for me).
We have two fog servers that are sharing the same storage and we want to keep them separated. We can’t very well do that if both Fog servers have to store their images in the ‘/images’ directory.
What am I missing?
Here is what I tried:
These are the places that you need to alter for the new storage location:
/var/www/html/fog/lib/fog/Config.class.php
define( “STORAGE_DATADIR”, “/images/” );
define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
/etc/exports
/home/fog/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/home/fog/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
after editing the exports:
exportfs -a
Log in to fog via web and go to:
Storage Management > All Storage Nodes > DefaultMember
and edit the entry of the “Image Location:” to <whatever you changed this to>