Mounting NFS: Difference between revisions

From QNAPedia
Jump to navigation Jump to search
cross-reference
Tag: visualeditor
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Mounting a QNAP NAS<br> ==
== Mounting a QNAP NAS ==


There is somewhere a bug in the QNAP NFS server implementation (Firmware 3.5.2)
There is somewhere a bug in the QNAP NFS server implementation (Firmware 3.5.2)


if some file has 520 or greater as gid, normal user different from owner can't access it<br>
if some file has 520 or greater as gid, normal user different from owner can't access it


== Mounting a QNAP NAS from SUN Solaris 10 with NFS ==
== Mounting a QNAP NAS from SUN Solaris 10 with NFS ==


There is somewhere a bug between the QNAP NFS server implementation (Firmware 3.1.0 Build 0627T) and the Sun Solaris 10 Client.  
There is somewhere a bug between the QNAP NFS server implementation (Firmware 3.1.0 Build 0627T) and the Sun Solaris 10 Client.


If (as root on the Solaris 10 server) you type a normal mount command:  
If (as root on the Solaris 10 server) you type a normal mount command:


*'''mount qnapserver:/share /localdirectory''' you get the error '''Not owner'''
*'''mount qnapserver:/share /localdirectory''' you get the error '''Not owner'''


To work around this bug you have to lower the NFS version number with an extra option on the command line. Default Sun Solaris 10 works with NFS version 4 and you must go back to version 3 to get it working. On the commandline this is:  
To work around this bug you have to lower the NFS version number with an extra option on the command line. Default Sun Solaris 10 works with NFS version 4 and you must go back to version 3 to get it working. On the commandline this is:


*'''mount -o vers=3 qnapserver:/share /localdirectory'''
*'''mount -o vers=3 qnapserver:/share /localdirectory'''


<br>
With firmware 3.3.6 this bug is gone.
 
With firmware 3.3.6 this bug is gone.  


== Mounting a QNAP NAS from Redhat Linux ==
== Mounting a QNAP NAS from Redhat Linux ==
Line 25: Line 23:
From linux type the command:
From linux type the command:


*'''mount -t cifs //ip_of_NAS/NAS_share /local_directory -o user=NFS_User_Name'''
*'''mount -t cifs //ip_of_NAS/NAS_share /local_directory -o user=NFS_User_Name''' ''... (this is a SMB mount command)''
To use a real NFS mount you have to set ''squash option'' to all_squash ... see picture in interface
[[File:NFS-Qnap-fedora35.2022.01.06.png|none|thumb|Option selection step by step for QNAP TS-453D (from Jan. 6th, 2022)]]
... than you can use


== Mounting a QNAP NAS from Unbuntu ==
* '''mount -t nfs -o user IP_of_NAS:/NAS_share  /local_directory'''
 
== Mounting a QNAP NAS from Ubuntu ==


''See [[Mounting_an_NFS_share_on_Ubuntu|Mounting an NFS share on Ubuntu]].''
''See [[Mounting_an_NFS_share_on_Ubuntu|Mounting an NFS share on Ubuntu]].''


== Mount the QNAP NAS at boot time  ==
== Mounting a QNAP NAS from Mac OS X ==


If you want to mount the QNAP NAS at boot time on the Solaris 10 server than you have to put this option in the '''/etc/vfstab''' file. This file must have a line that looks like this:  
''See [[Mounting_an_NFS_share_from_OS_X|Mounting an NFS share from OS X]].''
 
== Mount the QNAP NAS at boot time ==
 
If you want to mount the QNAP NAS at boot time on the Solaris 10 server than you have to put this option in the '''/etc/vfstab''' file. This file must have a line that looks like this:


*'''qnapserver:/share&nbsp;&nbsp; - &nbsp;&nbsp;/localdirectory&nbsp;&nbsp; nfs&nbsp;&nbsp; -&nbsp;&nbsp; yes&nbsp;&nbsp; bg,vers=3'''
*'''qnapserver:/share&nbsp;&nbsp; - &nbsp;&nbsp;/localdirectory&nbsp;&nbsp; nfs&nbsp;&nbsp; -&nbsp;&nbsp; yes&nbsp;&nbsp; bg,vers=3'''


<br>--[[User:Kees|Kees]] 19:15, 5 July 2009 (CST)  
<br/>--[[User:Kees|Kees]] 19:15, 5 July 2009 (CST)
 
[[Category:Linux & Unix (NFS)]]
[[Category:Linux_&_Unix_(NFS)]]

Latest revision as of 03:48, 20 June 2022

Mounting a QNAP NAS

There is somewhere a bug in the QNAP NFS server implementation (Firmware 3.5.2)

if some file has 520 or greater as gid, normal user different from owner can't access it

Mounting a QNAP NAS from SUN Solaris 10 with NFS

There is somewhere a bug between the QNAP NFS server implementation (Firmware 3.1.0 Build 0627T) and the Sun Solaris 10 Client.

If (as root on the Solaris 10 server) you type a normal mount command:

  • mount qnapserver:/share /localdirectory you get the error Not owner

To work around this bug you have to lower the NFS version number with an extra option on the command line. Default Sun Solaris 10 works with NFS version 4 and you must go back to version 3 to get it working. On the commandline this is:

  • mount -o vers=3 qnapserver:/share /localdirectory

With firmware 3.3.6 this bug is gone.

Mounting a QNAP NAS from Redhat Linux

From linux type the command:

  • mount -t cifs //ip_of_NAS/NAS_share /local_directory -o user=NFS_User_Name ... (this is a SMB mount command)

To use a real NFS mount you have to set squash option to all_squash ... see picture in interface

Option selection step by step for QNAP TS-453D (from Jan. 6th, 2022)

... than you can use

  • mount -t nfs -o user IP_of_NAS:/NAS_share /local_directory

Mounting a QNAP NAS from Ubuntu

See Mounting an NFS share on Ubuntu.

Mounting a QNAP NAS from Mac OS X

See Mounting an NFS share from OS X.

Mount the QNAP NAS at boot time

If you want to mount the QNAP NAS at boot time on the Solaris 10 server than you have to put this option in the /etc/vfstab file. This file must have a line that looks like this:

  • qnapserver:/share   -   /localdirectory   nfs   -   yes   bg,vers=3


--Kees 19:15, 5 July 2009 (CST)