You are here: start » Tantalus' Firmwares » service » NFS

Differences

This shows you the differences between two versions of the page.

en:service:nfs [2011/06/05 18:58]
se created
en:service:nfs [2011/06/07 17:17] (current)
tantalus Added formatting
Line 1: Line 1:
-====== Nfs ======+====== NFS ======
  
-Network File System+Network File System allows to access files on the NAS.
  
 ===== Supported NAS devices ===== ===== Supported NAS devices =====
  
-Nfs is available for the following NAS devices:+NFS is available for the following NAS devices:
  
 ^ N2R1/N2B1 ^ N1T1 ^ ^ N2R1/N2B1 ^ N1T1 ^
-| Yes | ?? |+| Yes | Yes |
  
 ===== Configuration ===== ===== Configuration =====
  
 Service Manager -> Network/Files -> NFS Service Manager -> Network/Files -> NFS
- 
-=== <Configuration name> === 
- 
-  * Default: Disabled 
  
 Start by deciding which root(s) you wish to share. The default on my unit is Start by deciding which root(s) you wish to share. The default on my unit is
  
- +  * /mnt/disk/volume1
-/mnt/disk/volume1 +
  
 I created a subfolder and shared /mnt/disk/volume1/service/NFS I created a subfolder and shared /mnt/disk/volume1/service/NFS
- 
  
 In the bottom window, add the shared root configuration. I have: In the bottom window, add the shared root configuration. I have:
  
-*(rw,no_root_squash,sync,no_subtree_check)+  * *(rw,no_root_squash,sync,no_subtree_check)
  
 Briefly:   Briefly:  
-* means anything can connect. You can enter IPs here, separated by spaces +  * * means anything can connect. You can enter IPs here, separated by spaces 
-rw means read/write access. You can choose ro for read only +  * rw means read/write access. You can choose ro for read only 
-no_root_squash means a root level user can connect (default is to use root_squash to block this) +  * no_root_squash means a root level user can connect (default is to use root_squash to block this) 
-sync means that writes are synchronised straight away. This is a safety measure in case of a failure +  * sync means that writes are synchronised straight away. This is a safety measure in case of a failure 
-no_subtree_check turns off a feature which helps deal with problems if the host moves files - it's usually safe to leave off, and it can improve things. +  * no_subtree_check turns off a feature which helps deal with problems if the host moves files - it's usually safe to leave off, and it can improve things.
  
 ===== Usage ===== ===== Usage =====
Line 45: Line 37:
 In Windows, you can install the NFS tools and use the mount command. e.g. In Windows, you can install the NFS tools and use the mount command. e.g.
  
 +<code bash>mount \\lg-nas\mnt\disk\volume1\service\NFS n:</code>
  
-mount \\lg-nas\mnt\disk\volume1\service\NFS n:+and n: becomes the NFS share.
  
 +===== Issues =====
  
-and n: becomes the NFS share. +Writing files does not work correctly on N2R1/N2B1 devices with firmwares greater than 2450. Reading files work though. For additional information visit the [[http://lg.threnor.de/mantisbt/view.php?id=32|Bug-Tracker]].
  
 +The N1T1 is not affected.
  
 ===== Links ===== ===== Links =====
  
 http://nfs.sourceforge.net/ http://nfs.sourceforge.net/
- 
- 
- 
-===== Issues ===== 
- 
-I've found an issue where I can only write 16384bytes to a file. Anything over that causes an error.  
- 
- 
-/vmfs/volumes/30dba50f-553eeefd # dd if=/dev/zero of=test bs=1024 count=8192 
- 
-dd: writing 'test': Operation not permitted 
- 
-8122+0 records in 
- 
-8121+0 records out 
- 
-/vmfs/volumes/30dba50f-553eeefd # ls -l 
- 
--rw-r--r--    1 root     root              16384 Jun  5 10:56 test 
- 
-/vmfs/volumes/30dba50f-553eeefd # 
-