Hi

I'm trying to setup a new NFS server, and wish to use Solaris and ZFS. I have a 
ZFS filesystem set up to handle the users home directories and setup sharing

   # zfs list
   NAME                   USED  AVAIL  REFER  MOUNTPOINT
   data                   896K  9.75G  35.3K  /data
   data/home              751K  9.75G  38.0K  /data/home
   data/home/bob         32.6K  9.75G  32.6K  /data/home/bob
   data/home/joe          647K  9.37M   647K  /data/home/joe
   data/home/paul        32.6K  9.75G  32.6K  /data/home/paul

   # zfs get sharenfs data/home 
   NAME             PROPERTY       VALUE                      SOURCE
   data/home        sharenfs       rw                         local 

And these directories are owned by the user

   # ls -l /data/home
   total 12
   drwxrwxr-x   2 bob      sigma          2 Jul 23 08:47 bob
   drwxrwxr-x   2 joe      sigma          4 Jul 23 11:31 joe
   drwxrwxr-x   2 paul     sigma          2 Jul 23 08:47 paul

I have the top level directory shared (/data/home). When I mount this on the 
client pc (ubuntu) I loose all the permissions, and can't see any of the files..

   [EMAIL PROTECTED]:/nfs/home# ls -l
   total 6
   drwxr-xr-x 2 root root 2 2007-07-23 08:47 bob
   drwxr-xr-x 2 root root 2 2007-07-23 08:47 joe 
   drwxr-xr-x 2 root root 2 2007-07-23 08:47 paul

   [EMAIL PROTECTED]:/nfs/home# ls -l joe
   total 0

However, when I mount each directory manually, it works.. 

   [EMAIL PROTECTED]:~# mount torit01sx:/data/home/joe /scott

   [EMAIL PROTECTED]:~# ls -l /scott
   total 613
   -rwxrwxrwx 1 joe sigma 612352 2007-07-23 11:32 file

Any ideas? When I try the same thing with a UFS based filesystem it works as 
expected

   [EMAIL PROTECTED]:/# mount torit01sx:/export/home /scott

   [EMAIL PROTECTED]:/# ls -l scott
   total 1
   drwxr-xr-x 2 joe sigma 512 2007-07-23 12:25 joe

Any help would be greatly appreciated.. Thanks in advance

Scott
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to