Mounting File System Failed
-
Here is a guide on how to set it up. There have been mixed reports on this working.
https://wiki.fogproject.org/wiki/index.php/Windows_Storage_Node
-
No, FOG uses NFS for image capture and deployment.
-
Hi,
You can export the fog storage only via NFS. I tried to setup a local directory, shared by fog nfs server, then mount it via cifs on a windows srver but it don’t work too. Still have right/protocol issues due to NFS.If you follow the windows storage node procedure, maybe you’ll get errors like i encounter actually, can’t access to shared nfs directory (windows server 2012r2), maybe not (in this case i’ll appreciate your help too ;). check the thread, it will be updated as soon as we work on a solution:
The best way to export fog storage still NFS hosted by Linux!
-
@Quazz said in Mounting File System Failed:
No, FOG uses NFS for image capture and deployment.
I have imaged over CIFS before with fog. the inits don’t support it but Tom built CIFS support into the kernel when I requested it - I tested it and it works with no noticeable performance hit.
I’ve been meaning to build alternative inits for using CIFS but just haven’t done it yet… blah… I need a vacation.
-
@Wayne-Workman
Over CIFS? interesting, this is not publicated already? -
@arnaudrigole What do you mean?
-
@Tom-Elliott
Hi Tom,“Tom built CIFS support into the kernel when I requested it”, so this kernel is already integrated in fog 1.2 ? fog trunk?
It support cifs over nfs? or cifs mounting directly?
-
@arnaudrigole CIFS directly.
-
@Tom-Elliott
So now its possible to mount directly CIFS storage in fog storage nodes, with fog trunk? -
@arnaudrigole I don’t understand.
There is CIFS support built into the kernel. That WILL allow you to mount the CIFS share, yes.
There is no code base that supports it within the scripts though. You have to manually mount it.
-
Sorry if i’m hard to understand.
I tried to mount a cifs directory on a Windows server, with mount.cifs cmd.
Then i defined in the fog storage node, the local @ip, path to mount point, and it never worked when trying to upload an image (failed to mount nfs, every time)Tried to put the wsrvr @Ip in the storage node, with path to access cifs shared directory , but same issue : failed to mount nfs
I encountered all the possible issue trying to externalize the fog storage x)
Last , i was on join.me with @Wayne-Workman to work on NFS share, we solved the unix access problem, but it still don’t work for FOG today, no error displayed -
@arnaudrigole to be fair, I only successfully downloaded. But I don’t see why an upload wouldn’t work either.
Also, this was a SAMBA share on the fog server itself, there was no windows involved. This is part of my standard FOG setup, to share the
/images
directory via Samba for easier image backup and easier disaster recovery.I’ll make public the thread about the CIFS stuff, it’s in an area not able to be seen by regular forum users. I’ll link it here.
-
I can’t find it… but I did do it.
I’ll reproduce.
Maybe with my new-found shell / php knowledge I can modify the inits… maybe.
-
-
@Wayne-Workman
Yeah i know my setup is not a regular configuration, but now it works with nfs server on windows , in upload / download. As you know there are more chances to encounter a problem in upload… ^^