User Tools

Site Tools


wiki:openmediavault_nas_share_setup

Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:openmediavault_nas_share_setup [2025/08/13 18:15] – created antisawiki:openmediavault_nas_share_setup [2026/07/11 07:37] (current) – [Mount the share] add nfs-server.service tip antisa
Line 1: Line 1:
-{{tag>nas omv openmediavault share samba}}+{{tag>nas omv openmediavault share samba nfs}}
  
 ====== Openmediavault NAS share setup ====== ====== Openmediavault NAS share setup ======
Line 24: Line 24:
  
 Under Services  > NFS > Shares set the options: Under Services  > NFS > Shares set the options:
-  no_subtree_check, rw, secure, sync+  no_subtree_check,rw,secure,sync 
 +<WRAP center round tip 60%> 
 + 
 +An easy solution to not have to match UID from the client on the server is to allow any user from the clients to access the NAS share. 
 + 
 +To do this, modify the above to this 
 +  secure,no_subtree_check,sync,all_squash,anonuid=0 
 + 
 +To find the UID for the ''anonuid'', check the owner of the directory being shared and run ''id'' command for the user (usually its root user) then use that UID. 
 + 
 +</WRAP>
  
 In Clients, whitelist the IPs from which you will access the share. In Clients, whitelist the IPs from which you will access the share.
Line 60: Line 70:
 </WRAP> </WRAP>
  
 +<WRAP center round tip 60%>
 +If the ''mount'' command hangs, try restarting the **nfs-server.service**
 +</WRAP>
  
 ====== Tested on ====== ====== Tested on ======
Line 73: Line 86:
   * https://manpages.debian.org/trixie/nfs-kernel-server/exports.5.en.html#Machine_Name_Formats   * https://manpages.debian.org/trixie/nfs-kernel-server/exports.5.en.html#Machine_Name_Formats
   * https://help.ubuntu.com/community/SettingUpNFSHowTo   * https://help.ubuntu.com/community/SettingUpNFSHowTo
 +  * https://docs.openmediavault.org/en/stable/administration/services/nfs.html
 +  * https://web.archive.org/web/20250818202414/https://old.reddit.com/r/linux4noobs/comments/eha519/nfs_fileserver_cant_read_files/
  
wiki/openmediavault_nas_share_setup.1755108940.txt.gz · Last modified: by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki