Warning: Most of this information is pulled from this post --> [url]http://fogproject.org/forum/threads/how-to-setup-a-fog-storage-node-without-installing-fog.4294/#post-12035[/url] but the following excludes haneWIN NFS Server. Woot! open source!
I have set this up and it …was working. Until my resent update to v1.0.0 but thats another post in another discussion. Check these settings against yours.
Server 2008 R2:
Install NFS role.
[ATTACH=full]740[/ATTACH]
[ATTACH=full]743[/ATTACH]
[ATTACH=full]758[/ATTACH]
[ATTACH=full]745[/ATTACH]
[ATTACH=full]759[/ATTACH]
Make sure you do this for C:, C:\images, and C:\images\dev
Filezilla:
[ATTACH=full]747[/ATTACH]
Make sure these files $ Directories all have Read, write, delete, append rights
[ATTACH=full]746[/ATTACH]
Fog server: (Terminal or ssh)
Here is the tricky part…You need to copy the hiddent files on your linux server to your windows server. These files are located @:
/images/.mntcheck --> c:\images
/images/dev/.mntcheck --> c:\images\dev\
xxx.xxx.xxx.xxx ==> ip address of the windows server
I mounted the NFS drive and just did a cp command.
[CODE]sudo mkdir images2
sudo chmod 777 images2
sudo mount xxx.xxx.xxx.xxx:/images /images2
cp /images/.mntcheck /images2
cp /images/dev/.mntcheck /images2/dev/
sudo umount /images2
[/CODE]
Fog web interface:
Then continue by adding a storage node just as you would in the wiki.
[QUOTE]I Simply added a Storage Node Definition in its own Storage Group independent to the default storage Group, added it’s IP 172.19.102.6 and the path /images/ because it’s the path 172.19.102.6 exports also /images/dev/ like an original FOG node does.
[IMG]http://i.imgur.com/2cZcI4J.png[/IMG]
[IMG]http://i.imgur.com/VB2LeZM.png[/IMG]
[/QUOTE]
Only issue I have now is when updating the same image it will not overwrite the old image until I delete it or change the rights on that image.
[url=“/_imported_xf_attachments/0/740_NFS Sharing.png?:”]NFS Sharing.png[/url][url=“/_imported_xf_attachments/0/743_NFS Permissions.png?:”]NFS Permissions.png[/url][url=“/_imported_xf_attachments/0/745_security.png?:”]security.png[/url][url=“/_imported_xf_attachments/0/746_File zilla folders.png?:”]File zilla folders.png[/url][url=“/_imported_xf_attachments/0/747_File zilla.png?:”]File zilla.png[/url][url=“/_imported_xf_attachments/0/758_Security 2.png?:”]Security 2.png[/url]