« November 2009
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

Blog::Navigation

Blog::Editing

Bookmarks::Blogroll

Blog::Referrers

Today's Page Hits: 35

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

Powered by Roller Weblogger.
« The Signature Collec... | Main | Solaris laptop batte... »
Thursday Nov 16, 2006

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

Comments:

Post a Comment:
Comments are closed for this entry.
Copyright (C) 2003, DanX