Solved Permission denied / Input/Output error - NFS ext storage [urgent]
Hi Fog community,
Sorry, its me again… my shcool project evaluation is next week and i still have a problem mouting an NFS storage node located on a windows server 2012R2.
I followed this procedure:
and i can’t pass the step “fog server” step which say i have to transfer local .mntcheck files on nfs server over NFS.
i can mount the @nfsserverIP:/images /images2
then cd /images2
then i try to cp or touch -> permission denied :(!!!
I run fog 1.2.
Can’t upload an image too, permission denied
FOG_TFTP user is “fog” with a pw i defined, same as the user on fog vm, same as the user defined on filezilla ftp server.
Sorry again for my poor english…!
can anybody help me?
Ecoute ce matin ça fonctionne en upload/download, je ne sais pas comment.
J’ai toujours le message d’erreur “Device busy” à l’upload mais ça passe outre et ça fonctionne…
Still have the error, after redefined storage node
Yeah i’ve just recreated the fog storage node on webUI
@arnaudrigole Hi Arnaud.
Je peux t’aider au besoin en prenant la main, ce matin ou jeudi/vendredi.
Wayne Workman last edited by
also - don’t mount the NFS share to the fog server. we only did that to test if it was working or not.
This windows node is stand-alone. After the NFS share is set and FTP permissions set, and the needed files/directories created - ALL you have to do - is - create a new node in the fog Web Interface. That’s it.
Sebastian Roth Moderator last edited by
Have you tried mounting the NFS from a client by hand? https://wiki.fogproject.org/wiki/index.php/Troubleshoot_NFS
Anyone know what can cause this problem? :s
I tried in “upload debug” task, it told me :
" Mouting file system … mount : mouting 192.168.253.20:/images/dev on /images failed : Device or resource busy
Of course, here it is :
“Management username” and “management password” are the same as defined for fog unix user, and as user with full rw rights on filezilla server
@arnaudrigole Could you post a screenshot of your storage node screen of the windows node from the FOG web UI?
Hi Wayne, Thanks for your help.
I will document it.
After we did the test windows “WindowsNode”, i recreated the “images” nfs share in E: no problem i have rw access mounted on linux.
… But still have error “Failed to mount NFS volume” when trying to upload, but no error message displayed ! “Mouting file system… done”
I still working on it.
Wayne Workman last edited by Wayne Workman
@george1421 I helped via join.me and we ended up using that single powershell command of yours to setup NFS correctly on windows.
New-NfsShare –Name "windowsNode" –Path E:\ –Authentication sys -AllowRootAccess $True -EnableUnmappedAccess $True –Permission Readwrite
@arnaudrigole says he will document every step with the windows storage node. I look forward to what he comes up with.
You gonna try with my environment? thats it ? tell me if u need everything.
Wayne Workman last edited by
Welp, I have time… I’m going to try this…
When i try to upload the image from my client, it say:
can’t chmod /images/@clientmacaddr : no such file or directory
/bin/fog.upload line 112 : /images/@clientmacaddr/d1.fixed_size_partitions : No such file or directory
/usr/share/fog/lib/partition-funcs.sh : line 66: /images/clientmacaddr/d1.original.fstypes no such files or directory…
I think its because the fog server has no rw rights again … but where !?!
Yeah i followed all the procedure more than 5 times…, each time i recreate a fog environment with 1.2 or trunk
i tried to access nfs storage on a windows machine with mount 192.168.253.20:/images * it works, but i have no rw access too ! ; it returns me :
Error 0x8007045D Input/output : same as linux!
Everyone + Anonymous access have total access on /images and /images/dev
Did you follow all the steps? Because this is a permissions issue plain and “simple”.