Using Solaris 10 6/06, this is my setup:

Global zone has ZFS volumes data/home/<username> setup for multiple
users, mounted in /export/home/<username>.

I have a machine running as a zone, using lofs to mount /export/home
from the global zone into /home inside multiple zones.

Normal file operations work well.  When I cd into my .zfs/snapshot
directory and do an "ls -l" from within the zone, I receive errors
such as this

[EMAIL PROTECTED]:~/.zfs/snapshot> ls -l
./20060813.1200: Not owner
total 0
[EMAIL PROTECTED]:~/.zfs/snapshot>

I also cannot cd into the directory.

[EMAIL PROTECTED]:~/.zfs/snapshot> cd 20060813.1200
20060813.1200: Not owner.
[EMAIL PROTECTED]:~/.zfs/snapshot>

However, if from another window logged into the global zone I do the following

[EMAIL PROTECTED]:~> cd /export/home/kristofer/.zfs/snapshot/
[EMAIL PROTECTED]:/export/home/kristofer/.zfs/snapshot> ls -l
total 3
drwxr-xr-x   5 kristofer sys           13 Aug 13 11:59 20060813.1200
[EMAIL PROTECTED]:/export/home/kristofer/.zfs/snapshot>

And hop back over to the non-global zone and do a directory listing of
the snapshot directory again, it now works

[EMAIL PROTECTED]:~/.zfs/snapshot> ls -l
total 3
drwxr-xr-x   5 kristofer sys           13 Aug 13 11:59 20060813.1200
[EMAIL PROTECTED]:~/.zfs/snapshot>

Am I missing something with accessing snapshots from an lofs mount from a zone?

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

Reply via email to