Fatal Error: Failed to mount NFS volume
-
@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.
-
You know, this could be just a simple FTP credentials issue.
The troubleshooting article covers that…
-
@Wayne-Workman So I just realized that FTP access setting on my Synology box is not turned on. So I just turned that on and started another upload of the image. Would this possibly be the issue or do you think that was only partially the reason.
I did check the directory and saw exactly what you said I would see. Now, /images was a mount point for my synology box. Now because FTP on my Synology box was inactive, it could not write the file it needed to move the image to the proper place. The Synology box is where all my images should be stored.I am probably being very confusing and if you need me to draw out how I have it set up I definitely will. I apologize, this is new to me and I am trying to figure everything out.
-
Lets just wait and see if your upload completes. Tell us what happens.
-
@Wayne-Workman Ok, sounds good. Sorry about that and I’ll keep you posted. It may be tomorrow as I leave work at 4 but I really do appreciate your patience and assistance.
-
@Wayne-Workman Good morning. So the image finished uploading and I am currently getting this error message:
Clearly I am using the wrong ftp log in, where would I find the correct one?
-
It’s saying that it’s trying to use fog / password for the credentials.
Is that the actual password of your Linux fog user?
-
@Wayne-Workman My username and password to log on to the Linux server is administrator/ch@ng3
I typed that into the storage management and I get the same error message. -
@szecca1 said:
@Wayne-Workman My username and password to log on to the Linux server is administrator/ch@ng3
I typed that into the storage management and I get the same error message.You also have to change it inside FOG Configuration -> FOG Settings -> TFTP -> TFTP_FTP credentials.
-
@Wayne-Workman Ok did that and even created an administrator account on the Synology box with the same credentials just in case and still getting the same issue.
-
It’s still trying to use “fog” as the user and “password” as the password?
Try creating a fog user on the NAS box, and set the password to password.
This doesn’t have to be permanent. We are simply troubleshooting.