Fatal Error: Failed to mount NFS volume
-
@ch3i Ah no I was using the password to log in to the admin console. I just changed it to that password which was different. I deleted the task of upload and started a new one and got the same error message. I even tried to restart the NFS service again and even that gave the same “does not support NFS export” error message.
-
@ch3i Do I need TFTP enabled on my NAS server? Could that be the problem that TFTP is not enabled right now?
Again thank you all for the assistance
-
-
@Tom-Elliott I saw this on another site, does this make any sense?
If still receiving the same error message after perfroming the above commands, you may need to edit /etc/exports to include your new mount point, i.e. /data/images and /data/images/dev with corresponding permissions.
See following example of /etc/exports:
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
/data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
-
@szecca1 said:
@Tom-Elliott I saw this on another site, does this make any sense?
If still receiving the same error message after perfroming the above commands, you may need to edit /etc/exports to include your new mount point, i.e. /data/images and /data/images/dev with corresponding permissions.
See following example of /etc/exports:
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
/data/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
Your exports should reflect where the images are actually stored.
So if it’s /images, then you don’t need the /data lines; etc.
-
@Wayne-Workman Ok I apologize I want to make everything clear for you so you have all the info. As you know I created a mount point within the Ubuntu folder images/. On my NAS server I created a folder called FOG, in this folder is the Images folder and in that folder is the dev folder. Clearly I didn’t do that right but should I use that syntax but replace “/data” with “/fog”?
I am sure I just confused everyone so please tell me if I need to be more clear
-
@szecca1 said:
@Wayne-Workman Ok I apologize I want to make everything clear for you so you have all the info. As you know I created a mount point within the Ubuntu folder images/. On my NAS server I created a folder called FOG, in this folder is the Images folder and in that folder is the dev folder. Clearly I didn’t do that right but should I use that syntax but replace “/data” with “/fog”?
I am sure I just confused everyone so please tell me if I need to be more clear
lol yeah that’s confusing…
So… You have a mount called images
On the NAS, there’s a folder called FOG/images?
Yeah just replace the /data with /FOG
Remember, Linux is case-sensitive. -
when done, restart NFS again. see if the errors go away.
-
@Wayne-Workman HAHA my apologies but you did get the idea of it which I appreciate you making out my disaster. I will give that a try but I have 1 question before I do that.
Do you know what the fsid is for?
-
@szecca1 said:
@Wayne-Workman HAHA my apologies but you did get the idea of it which I appreciate you making out my disaster. I will give that a try but I have 1 question before I do that.
Do you know what the fsid is for?
Absolutely not. But I know that it MUST be unique for each entry…
-
@Wayne-Workman Nope, still getting the same message because it doesn’t see the path /FOG/Images
-
@Wayne-Workman
“I tried setting the Fog server on several Ubuntu boxes and was unable to do so. After reviewing this case with our team, its come to my attention we can only currently support NFS shares directly to Ubuntu System. I have put in request to our development team for testing and support for FOG server.”Synology technical support
I randomly came across this, has anyone ever used Synology boxes and would this even make sense? Could this be the reason why it is not working?
-
Just so everyone knows, I called Synology and we got it working. The problem was that on the Synology the NFS Permissions had to be changed. Squash had to be no mapping and the host IP address was changed to *. Once this was done, upload started right away.
I want to thank everyone for your help. Really appreciate it!
-
After the image finished uploading, it gave an error message of
I am going to reboot the machine to see if the image upload took but wanted to see if anyone knows why I got this error message?
-
Check this out:
https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTPlet us know if you need help.
If you solve it, please report what was done to fix it.
-
Good afternoon, sorry I work in a school district and was off yesterday. I am mstill troubleshooting through that ftp issue from last week but so far FTP seems to be working fine and could be the user log in info that is incorrect. Will update further…
-
@Wayne-Workman When the image finishes uploading, I am getting an error FOGFTP: Failed to connect. Error undefined variable: whereArray. That error is on the admin console. The pc keeps repeating the error message error FOGFTP: Failed to connect. Error undefined variable: currentuser.
What could be going wrong? I thought I troubleshot FTP and thought that was working? Any thoughts?
-
Can you get a file via FTP from a workstation ?
-
@Wayne-Workman Just verified that my FOG server and my Synology box has FTP access. We don’t allow FTP access from the computer due to security in our school. I had FOG working last year with just my server having FTP access so not sure why this is still giving me the same error unless after giving FTP access I have to redo the upload?
-
@szecca1 said:
@Wayne-Workman Just verified that my FOG server and my Synology box has FTP access. We don’t allow FTP access from the computer due to security in our school. I had FOG working last year with just my server having FTP access so not sure why this is still giving me the same error unless after giving FTP access I have to redo the upload?
I’ll give you the basic rundown of how uploads work…
The client mounts to x.x.x.x:/images/dev via NFS.
The client uploads image to that directory.
The client then uses FTP to move image from /images/dev TO /images and in the process, it renames the image to what you specified.
Without FTP working at all on the clients, it’s still possible to use FOG but it’s a lot of work…
Basically, if you look inside /images/dev on your FOG server, you’ll see a directory in there with <MAC OF UPLOAD CLIENT>. That’s your image.
You basically need to move the folder to the right spot, with the right name.
Example:
[CODE]mv /images/dev/<MAC of client here> /images/<EXACT image name here>[/CODE]Use the EXACT name you see on your image in here:
For above, something like this:
[CODE]mv /images/dev/<MAC ADDRESS> /images/EliteBookWin7BaseApril2015Test[/CODE]You might ought to reset permissions after this, too:
[CODE]chmod -R 777 /images[/CODE]You’ll have to do this for every image you upload… or you can just let computers use FTP.