could not mount images folder /bin/fog.upload
-
Installed ubu 22
fstab mount big drives at /images
installed fog without dhcp
restored a fog config
installed dnsmasq with the suggested config
see my hosts and images in UI dashboard
start client capture task
mounting file system failed
could not mount images folder /bin/fog.upload
args passed reason mount mounting <fog_IP>/images/dev on /images failed permission deniedchecked and reset permissions via chown fogproject:root and chmod 777
.mntcheck is there
I reinstalled fog just to overwrite any old restored config settings that might be lingering and I get the
update /opt/fog.fogsettings message
Well it didn’t note that I also needed to update the fogproject pw, but I had different values in the .fogsettings vs the dashboard so made them match …
reinstall fog, and it’s clean, but the snmysqluser=‘fogstorage’ in .fogsettings I was told to use in install messages has reverted to fog master, and now I cant see my node usage? Default member is unauthorized…still can’t mount the folder …
uhg does any of this make sense to anyone?
::edit:: ehhh just wiped the fog stuff and reinstalled
node is back to showing, but all host and image data is gone
merging two config backups and will restore one with just the good stuff from bothso it’s capturing an image
not sure why I couldn’t sort out credentials after restoring a config -
@geardog I think I understand what you did. Let me say this with my words. You built a FOG server but did not have the space on the small VM, so you connected via NFS to an external NAS. You mapped the /images over to the remote NFS server wanting to borrow space from that external NAS.
If that is the case, then you can’t do that with NFS. Basically you are trying to reshare a network connected drive. This is akin to taking server A and mounting a directory from server B as the W drive, then trying to share the mapped W: drive to a third computer.
The only way to make the above scenerio to work is via mouting the remote disk as an iscsi LUN on the fog server. map that external iscsi lun over the /images directory. Then install FOG. That will work because the iscsi lun is a block device, and nfs is a file level device.