My FOG version currently is 1.5.5 and works perfectly fine. However I have attached an AWS EFS on my CentOS Linux release 7.6.1810 (Core) FOG server and able to cd into it fine. I am trying to change the default directory /images to this EFS lets call it /efs-aws and store all the images that were on /images on this /efs-aws directory.
-
Things I have done so far is change the settings on the FOG web interface under storage to 2 tabs the “image path” and “FTP path” to /efs-aws.
-
Change the settings under “/opt/fog/.fogsettings”. Specifically these 2 lines.
storageLocation=‘/efs-aws’
#storageLocation=‘/images’
-
At first one log I saw from /var/log/messages is this
- list itemfog rpc.mountd[8724]: Cannot export /efs-aws, possibly unsupported filesystem or fsid= required
- But puzzling part of this log I saw was after I put the directory “/efs-aw” in “/etc/exports”. All I did here is replace “/images” with “/efs-aws”
/efs-aws *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
/efs-aws/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
I get this error below
- list itemlist itemfog rpc.mountd[13107]: refused mount request from 10.3.4.86 for /efs-aws (/): not exported
- when I try to image to a test laptop I get this picture (note I just copied and pasted this picture from another forum in FOG but this is exactly what kind of error I get).
if anyone has ever tried using EFS to store all images I’d appreciate the help!