I have followed several forum post on how to set this up but with no luck have not been able to resolve this issue.
As this is a common issue I will try my best to add all context within one post.
OBJECTION:
The FOG server does not have enough storage on it. I created a Shared Folder on a Synology NAS device and wanted to mount it onto the server to store the image files.
SERVER INFORMATION
FOG
- FOG Version: 1.5.9
- OS: Linux 3.10.0-1062.4.1.el7.x86_64 x86_64 (CentOS 7)
Error Code
Init Version: 20200906
Could not mount images folder (/bin/fog.upload)
Args Passed:
Reason: mount: mounting [fog_ip]:/mnt/dev/ on /images failed: Permission denied
Kernel variables and settings:
loglevel = 4 initrd=inif.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://[fog_ip]/fog/ consoleblank=0 rootfstype=ext4 nvme_core.default_ps_max_latency_us = 0 mac=[mac address] ftp=[fog_ip] storage=[fog_ip]:/mnt/dev/ storageip=[fog_ip] osid=9 irqpoll hostname=[mac address] chkdsk=0 img=[Image name] imgType=n imgPartitonType=all imgid=30 imgFormat=5 PIGZ_COMP=-6 hostearly=1 pct=5 ignorepg = 1 type=up
How I got here
I did the initial set up of both the Shared Folders and FOG Server found on the forums.
I mounted the NAS synology.
sudo mount -t nfs [nas_ip]:/volume1/images /mnt
Through the FOG web GUI, I added it as a Storage Node with changing these settings
IP Address: [fog_ip]
Image Path: /mnt
I edited the permissions
chmod 777 -R /mnt
Where I am current at
I am able to create and edit files on the NAS server through the FOG server. I can even see Storage Node Disk Usage from the FOG web GUI dashboard.
However I still cannot upload images onto the NAS server. Any help on this would be appreciated.