After Adding Storage for Images / deploy image mounting failed
-
@sourceminer Not exactly sure but maybe the duplicated
fsid=X
parameter in your /etc/exports is causing the issue. -
@sebastian-roth
OMG that was it!!
Thank you… -
@sebastian-roth said in After Adding Storage for Images / deploy image mounting failed:
fsid=X
I totally overlooked that. Great catch because the file systems seem to be setup correctly from a file permissions standpoint.
-
@george1421
Ok so I was able to deploy 1 image.
Captured a new image and trying to deploy it (from the same storage group) Getting same error again… -
@sourceminer said in After Adding Storage for Images / deploy image mounting failed:
Getting same error again…
You get the same error on capture or capture and deploy?
If you look into /images2/dev do you see a directory with a mac formatted name? If you look at /images/dev do you see this directory? You should only see a mac address looking directory when you are doing an active upload to the fog server. Any other times that is an indication of a botched upload.
You are still getting a permission denied message?
-
@george1421
I captured the image no problem.
Im getting the error on deploying the image.
Neither directory has a formatted Mac name
I don’t see anything saying permission denied… just the same message above “Unable to locate image store (/bin/fog.download)” -
@george1421
OK sorry, I just noted that the capture never completed… its starting over again.
Going to watch to see what happens. -
OK Confirmed its all working as expected. The Ultimate solution was the duplicate fsid=x issue.
Perhaps flag the wiki document on installing additional storage pools to ensure that the fsid=x value is not duplicated from a copy and paste. -
@sourceminer Interesting I think the wiki pages needs to be updated to based on my tutorial here: https://forums.fogproject.org/topic/10450/adding-additional-image-storage-space-to-fog-server/2
I specifically do mention changing the fsid.
-
@george1421
Yes your Tutorial is spot on.One thing I have observed though, is if you reinstall Fog (I did this morning troubleshooting the Secure boot post) I noted that the exports file is replaced with default. I lost all my settings from prior. I had to append the file.
-
@sourceminer said in After Adding Storage for Images / deploy image mounting failed:
I lost all my settings from prior. I had to append the file.
Yes I saw this too when I was developing NFSv4 for FOG. That uses a really different exports file. So now I keep a exportfs.sav file with the correct settings in case I forget in the future.