On May 18, 2008, at 3:39 AM, Johan Kooijman wrote:

> Morning all,
>
> situation is as follows: OpenSolaris NFS server, Linux client.
>
> I've created a ZFS filesystem and shared it over NFS:
>
> -bash-3.2# zfs list | grep vz
> datatank/vz                          126M   457G   126M  /datatank/vz
> datatank/vz/private                   37K   457G    19K  /datatank/ 
> vz/private
> datatank/vz/private/28999             18K   457G    18K  /datatank/ 
> vz/private/28999
> datatank/vz/root                      37K   457G    19K  /datatank/ 
> vz/root
> datatank/vz/root/28999                18K   457G    18K  /datatank/ 
> vz/root/28999
>
> -bash-3.2# cat /etc/dfs/sharetab
> /datatank/vz/root/28999 -       nfs      
> anon=0,sec=sys,[EMAIL PROTECTED]/24
> /datatank/vz/root       -       nfs      
> anon=0,sec=sys,[EMAIL PROTECTED]/24
> /datatank/vz/private    -       nfs      
> anon=0,sec=sys,[EMAIL PROTECTED]/24
> /datatank/vz/private/28999      -       nfs      
> anon=0,sec=sys,[EMAIL PROTECTED]/24
> /datatank/vz    -       nfs     anon=0,sec=sys,[EMAIL PROTECTED]/24
>
> So far, so good. I can mount it on my linux machine:
>
> [EMAIL PROTECTED] vz]# mount -t nfs
> 192.168.178.31:/datatank/vz on /vz type nfs (rw,addr=192.168.178.31)
>
> As you can see ,I've created a file system datatank/vz/root/28999,  
> which should appear on the Linux client. It doesn't:
>
> [EMAIL PROTECTED] vz]# ls -l /vz/private/
> total 0
>
> It does on the server:
>
> -bash-3.2# ls -l /datatank/vz/private/
> total 3
> drwxr-xr-x   2 root     root           2 May 18 09:21 28999
>
> Can anyone give me some directions on this?

I believe that you will need to mount those filesystems directly.

In later versions of the OpenSolaris NFsv4 client, those
filesystems will be mounted automatically.  I believe this
feature is also available on later versions of the Linux
NFSv4 client as well but I don't happen to remember the specifics.

Spencer
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to