Mounting a Linux NFSv4 filesystem on Solaris

I've had a problem mounting a NFS filesystem on Solaris 10 from Linux 2.6 (SUSE 10.1). The NFSv4 filesystem was on a Linux server, and Solaris was the client where I was trying to mount.

I got this error message:

nfs mount: mount: /netdrive: Not owner

The error message isn't helpful (it's because of the limited error codes in errno.h), but the problem is NFSv4 support is broken in Linux.

There's two solutions for this:

1. Add this line to Solaris file /etc/default/nfs:

NFS_CLIENT_VERSMAX=3

2. Another solution, on a mountpoint basis is:

mount -o vers=3 server1:/netdrive /netdrive

Here's my /etc/vfstab line:

server1:/netdrive - /netdrive nfs - no nosuid,rw,soft,rsize=4096,wsize=4096,vers=3

<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
Comments:

Post a Comment:
Comments are closed for this entry.
About

Solaris cryptography and optimization.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today