Difference between revisions of "How to setup NFS share using FreeNFS"

From WikiDLXTV
Jump to: navigation, search
(Initial page created)
 
Line 1: Line 1:
 
http://forum.wdlxtv.com/viewtopic.php?t=4140&p=34234#p34234
 
http://forum.wdlxtv.com/viewtopic.php?t=4140&p=34234#p34234
 +
[size=150]How to setup NFS shares using FreeNFS[/size]
 +
 +
This program is an alternative to haneWin NFS Server. FreeNFS is freeware.
 +
 +
1.) Download [url=http://sourceforge.net/projects/freenfs/files/FreeNFS.exe/download]FreeNFS[/url]
 +
2.) Launch the program (Run As Administrator) and go to its settings and enter in the path of the root folder that you want to share. In my case, the root path is "D:\" without the quotes. If you're using only one drive to setup your NFS shares, then go to Step 7.
 +
[img]http://i193.photobucket.com/albums/z21/Stealth3si/Image01.jpg[/img]
 +
3.) If you're going to use an additional hard drive(s) to setup your NFS shares, then the root path entered in Step 2 must be located in an NTFS formatted drive. Now create 2 empty folders for each drive you want to link at the root of the path shared with FreeNFS. In my case my additional drives called "Drive-E" and "Drive-F" will have folders on the root path called [code]"D:\NewDrive1\Drive-E", "D:\NewDrive2\Drive-F"[/code] -OR- you can create 1 folder for each drive you want to link at any pre-existing folder inside the root so it would look like this: [code]"D:\Movies\Drive-G", "D:\TV\Documentaries\Drive-H"[/code]and so on.
 +
4.) In Windows Vista/7 open Computer Management by clicking the Start button, right clicking on "Computer", selecting "Manage", then in the Navigation pane, under "Storage," click "Disk Management," next right-click the drive that you want to mount, and then click "Change Drive Letter and Path."
 +
[img]http://i193.photobucket.com/albums/z21/Stealth3si/Image00.jpg[/img]
 +
5.)Now, click "Add," tick "Mount in the following empty NTFS folder," and then either type the path to the empty folder you created on an NTFS drive from step 3 or click Browse to locate it, and then click OK.
 +
 +
At this point you should already have a new folder(s) (or old folder(s)) located somewhere inside the root path you entered in Step 2. If you did steps 3-5 correctly this new folder is now the drive you just mounted. (i.e., "D:\NewDrive1\Drive-E" is your mounted drive.) Navigate to this "mounted folder" and be sure you have access to the mounted drive from that location.
 +
 +
6.) Set up your xmounts in WDLXTV Webend config menu. The source of your xmounts should be folders located inside the path you had entered in step 2.
 +
 +
Example1:
 +
"D:\Movies" is a folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/Movies Movies nfs[/code]
 +
Example2:
 +
"D:\TV\Documentaries" is another folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/TV/Documentaries Documentaries nfs[/code]
 +
 +
As for sharing the "mounted folder" that you created and mounted in steps 3-5, you will set up an xmount for the path containing this "mounted folder" instead of the "mounted folder" itself or else it will not work, at least it didn't for me.
 +
 +
Example1:
 +
"D:\NewDrive1\Drive-E" is a "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/NewDrive1 NewDrive1 nfs[/code]
 +
Example2:
 +
"D:\NewDrive2\Drive-F" is another "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/NewDrive2 Drive-F nfs[/code]
 +
Example3:
 +
"D:\Movies\Drive-G" is a "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/Movies Movies nfs[/code]
 +
Example4:
 +
"D:\TV\Documentaries\Drive-H" is a "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/TV/Documentaries Documentaries nfs[/code]
 +
 +
Save config and reboot.
 +
 +
You're done! Step 7 is for only if you're using one drive to share.
 +
 +
7.) Set up your xmounts in WDLXTV Webend config menu. The source of your xmounts should be folders located inside the path you had entered in step 2.
 +
 +
For example:
 +
"D:\Movies" is a folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/Movies Movies nfs[/code]
 +
"D:\TV\Documentaries" is another folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/TV/Documentaries Documentaries nfs[/code]
 +
 +
Save config and reboot.

Revision as of 00:54, 6 May 2011

http://forum.wdlxtv.com/viewtopic.php?t=4140&p=34234#p34234 [size=150]How to setup NFS shares using FreeNFS[/size]

This program is an alternative to haneWin NFS Server. FreeNFS is freeware.

1.) Download [url=http://sourceforge.net/projects/freenfs/files/FreeNFS.exe/download]FreeNFS[/url] 2.) Launch the program (Run As Administrator) and go to its settings and enter in the path of the root folder that you want to share. In my case, the root path is "D:\" without the quotes. If you're using only one drive to setup your NFS shares, then go to Step 7. [img]http://i193.photobucket.com/albums/z21/Stealth3si/Image01.jpg[/img] 3.) If you're going to use an additional hard drive(s) to setup your NFS shares, then the root path entered in Step 2 must be located in an NTFS formatted drive. Now create 2 empty folders for each drive you want to link at the root of the path shared with FreeNFS. In my case my additional drives called "Drive-E" and "Drive-F" will have folders on the root path called [code]"D:\NewDrive1\Drive-E", "D:\NewDrive2\Drive-F"[/code] -OR- you can create 1 folder for each drive you want to link at any pre-existing folder inside the root so it would look like this: [code]"D:\Movies\Drive-G", "D:\TV\Documentaries\Drive-H"[/code]and so on. 4.) In Windows Vista/7 open Computer Management by clicking the Start button, right clicking on "Computer", selecting "Manage", then in the Navigation pane, under "Storage," click "Disk Management," next right-click the drive that you want to mount, and then click "Change Drive Letter and Path." [img]http://i193.photobucket.com/albums/z21/Stealth3si/Image00.jpg[/img] 5.)Now, click "Add," tick "Mount in the following empty NTFS folder," and then either type the path to the empty folder you created on an NTFS drive from step 3 or click Browse to locate it, and then click OK.

At this point you should already have a new folder(s) (or old folder(s)) located somewhere inside the root path you entered in Step 2. If you did steps 3-5 correctly this new folder is now the drive you just mounted. (i.e., "D:\NewDrive1\Drive-E" is your mounted drive.) Navigate to this "mounted folder" and be sure you have access to the mounted drive from that location.

6.) Set up your xmounts in WDLXTV Webend config menu. The source of your xmounts should be folders located inside the path you had entered in step 2.

Example1: "D:\Movies" is a folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/Movies Movies nfs[/code] Example2: "D:\TV\Documentaries" is another folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/TV/Documentaries Documentaries nfs[/code]

As for sharing the "mounted folder" that you created and mounted in steps 3-5, you will set up an xmount for the path containing this "mounted folder" instead of the "mounted folder" itself or else it will not work, at least it didn't for me.

Example1: "D:\NewDrive1\Drive-E" is a "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/NewDrive1 NewDrive1 nfs[/code] Example2: "D:\NewDrive2\Drive-F" is another "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/NewDrive2 Drive-F nfs[/code] Example3: "D:\Movies\Drive-G" is a "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/Movies Movies nfs[/code] Example4: "D:\TV\Documentaries\Drive-H" is a "mounted folder" inside my root path "D:\" which should be [code]xmount 192.168.1.12:/TV/Documentaries Documentaries nfs[/code]

Save config and reboot.

You're done! Step 7 is for only if you're using one drive to share.

7.) Set up your xmounts in WDLXTV Webend config menu. The source of your xmounts should be folders located inside the path you had entered in step 2.

For example: "D:\Movies" is a folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/Movies Movies nfs[/code] "D:\TV\Documentaries" is another folder inside my root path "D:\" which should be [code]xmount 192.168.1.12:/TV/Documentaries Documentaries nfs[/code]

Save config and reboot.