LinHES Forums
http://forum.linhes.org/

[Solved] How to mount nfs folder in R6
http://forum.linhes.org/viewtopic.php?f=11&t=20813
Page 1 of 1

Author:  Ozdemon [ Sun Jan 31, 2010 12:44 am ]
Post subject:  [Solved] How to mount nfs folder in R6

I have a small home network. I have setup one pc running Ubuntu 9.10 to share a folder with other Ubuntu pc's on the network using nfs. This works (although it took me most of the day!!).

However I can't find how to do this with the pc running Linhes R6. I have looked at the Linhes service menu.

Can anyone help?

[Edit] See my last post

Author:  graysky [ Sun Jan 31, 2010 4:12 am ]
Post subject: 

You have the nfs exporting on your ubuntu pc, right? post its /etc/exports

Author:  Ozdemon [ Sun Jan 31, 2010 3:21 pm ]
Post subject:  NFS blues

graysky wrote:
You have the nfs exporting on your ubuntu pc, right? post its /etc/exports


Code:
tpb@tpb-htpc:~$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#      to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
/mnt/HDD-2/Videos/601 192.168.2.6(ro,async,no_subtree_check) 192.168.2.8(ro,async,no_subtree_check)
/mnt/HDD-2/Videos 192.168.2.9(ro,async,no_subtree_check)
tpb@tpb-htpc:~$


The Linhes pc is 192.168.2.9. Thanks for helping.

Author:  graysky [ Sun Jan 31, 2010 5:16 pm ]
Post subject: 

To have your R6 PC read the nfs export from your ubuntu machine you need to enable the nfs daemon on R6 as well as add an entry to its /etc/fstab to mount it. I'd post more details but my FE isn't up at the moment.

The /etc/fstab on R6 should have a line like:

Code:
IP.OF.UBUNTU.MACHINE: /mnt/HDD-2/Videos /myth/video/export nfs defaults,auto,noatime 0 0


You can change the mount point on your R6 box to your liking.

Perhaps someone with a functional FE can post the specifics? If not, have a look at the NFS page on the Arch wiki and know that R6 doesn't use the same init system that Arch does. You'll likely need to do:

$ sudo sv start nfsdaemonname
$ sudo add_service.sh nfsdaemonname

On the R6 box.

Author:  Ozdemon [ Tue Feb 02, 2010 4:26 am ]
Post subject:  NFS problem

Thanks for the reply. Are you (or anyone else) able to be more specific about how I make the necessary changes to R6 given it is different to Arch.

Tks.

Author:  Ozdemon [ Fri Feb 05, 2010 2:53 pm ]
Post subject:  NFS Setup on R6

Please, can anyone help with this?

Author:  Ozdemon [ Thu Apr 08, 2010 5:14 pm ]
Post subject:  Mount NAS thru nfs

I have now bought a NAS (QNAP TS-439 Pro II) which I have connected to a socket in my adsl router. I have given it a static IP.

I have tried to follow this post and also this one http://knoppmyth.net/phpBB2/viewtopic.php?t=20261&highlight=. I have read and re-read the Arch wiki.

I am able to SSH and sftp into the NAS with no problem from ubuntu machines. I just can't get the Linhes box talking to the NAS.

Can someone please help me on how to connect my combo FE/BE R6 machine to the NAS?

Also, if I do get it connected, where will the files appear in the menu of the FE?

Thanks to anyone who can help.

[Edit]
Would you believe it is as simple as going into the Service menu/Linhes/Miscellaneous settings? All that is required is the IP address and the file path.
:roll:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/