Fog download image fails
-
@george1421 that is my fog servers ip address
-
@wlsnfmly Ok then, please tell me why the client wants to connect to <fog_server_ip>:/storage1 but you only are sharing <fog_server_ip>:/images and <fog_server_ip>:/images/dev from your fog server?
It sounds like you made a change to the fog server’s storage node settings. What were you trying to accomplish. (your answer will help us pick the best path for you).
-
@george1421 I didn’t personally make any changes during the upgrade. However, I did upgrade from 1.2.0 to 1.3.4, would that have caused the issue? is there a quick fix? the permissions on storage1 show 777 and images are the same
-
@wlsnfmly So you have a directory off the root of your fog server with /storage1 and /storage1/dev names?
Could you post s screen shot of these commands?
ls -la /
ls -ls /storage1
-
@george1421 Here are two images to check. One shows why it is looking for those files, from the fog config page. The second is the one you have requested.
-
@wlsnfmly Switching to chat, look at the little speech bubble up by the FOG tool tray at the top of the browser window.
-
@george1421 Might I ask you to post the output of this command too?
df -h
I want to make sure that /storage1 share isn’t being used for something else. -
-
@wlsnfmly Ah ok, just a suspected. You have your images on a different drive than where the OS is stored (that is a good thing).
To fix your issue then: edit this file /etc/exports
Change the 2 lines in there from /images to /storage1
So your lines should look like this:
/storage1 *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /storage1/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
Save the file then run this command:
sudo exportfs -a
Then confirm that the shares have been changed with:showmount -e 127.0.0.1
The shares should have now changes from /images to /storage1
If that is the case then restart imaging your target computer.
-
@george1421 This has fixed the issue at hand. Thank you for your assistance.
-
@george1421 If this all proves out to work there are two last things you need to to.
- Edit the file /opt/fog/.fogsettings There is a line in there called listed as
storageLocation='/images'
You need to change it to:
storageLocation='/storage1'
Then run the installer program again (once your imaging is complete). That will just realign everything for you. When the update is done, reboot the fog server. When the fog server comes up reconfirm that
showmount -e 127.0.0.1
still shows your /storage1 share as being shared.