Wanted to test the zfs diff command and ran into this. I turned off all windows sharing. the rpool has normal permissions for .zfs/shares how do I fix this ? Dirk root at osolPro:/data/.zfs# zfs diff data at 10Aug2010 data at 13oct2010 Cannot stat /data/.zfs/shares/: unable to generate diffs pwd /data/.zfs root at osolPro:/data/.zfs# ls -alt ls: cannot access shares: Operation not supported total 4 dr-xr-xr-x 2 root root 2 2010-10-13 17:44 snapshot drwxr-xr-x 18 piet staff 24 2010-10-13 17:44 .. dr-xr-xr-x 4 root root 4 2009-01-28 23:08 . -- This message posted from opensolaris.org
On 10/13/10 10:20 AM, dirk schelfhout wrote:> Wanted to test the zfs diff command and ran into this. > I turned off all windows sharing. > the rpool has normal permissions for .zfs/shares > > how do I fix this ? > Dirk > > root at osolPro:/data/.zfs# zfs diff data at 10Aug2010 data at 13oct2010 > Cannot stat /data/.zfs/shares/: unable to generate diffs > > pwd > /data/.zfs > root at osolPro:/data/.zfs# ls -alt > ls: cannot access shares: Operation not supported > total 4 > dr-xr-xr-x 2 root root 2 2010-10-13 17:44 snapshot > drwxr-xr-x 18 piet staff 24 2010-10-13 17:44 .. > dr-xr-xr-x 4 root root 4 2009-01-28 23:08 .What OS bits are you running? -tim
cd /data/.zfs schelfd at osolPro:/data/.zfs$ ls -alt ls: cannot access shares: Operation not supported total 4 drwxr-xr-x 19 schelfd staff 25 2010-10-13 18:57 .. dr-xr-xr-x 2 root root 2 2010-10-13 17:44 snapshot dr-xr-xr-x 4 root root 4 2009-01-28 23:08 . ?????????? ? ? ? ? ? shares schelfd at osolPro:/data/.zfs$ pfexec zfs set sharesmb=on data cannot set property for ''data'': pool and or dataset must be upgraded to set this property or value schelfd at osolPro:/data/.zfs$ pfexec zfs set sharesmb=off data cannot set property for ''data'': pool and or dataset must be upgraded to set this property or value schelfd at osolPro:/data/.zfs$ pfexec zfs set sharesmb=on data/backup7 schelfd at osolPro:/data/.zfs$ cd /backup7/.zfs schelfd at osolPro:/backup7/.zfs$ ls -alt total 4 dr-xr-xr-x 2 root root 3 2010-10-13 19:26 shares dr-xr-xr-x 2 root root 2 2010-10-13 18:35 snapshot drwxr-xr-x 2 schelfd staff 3 2010-08-08 14:52 .. dr-xr-xr-x 4 root root 4 2009-09-24 01:32 . schelfd at osolPro:/backup7/.zfs$ pfexec zfs set sharesmb=off data/backup7 schelfd at osolPro:/backup7/.zfs$ ls -alt total 4 dr-xr-xr-x 2 root root 2 2010-10-13 19:27 shares dr-xr-xr-x 2 root root 2 2010-10-13 18:35 snapshot drwxr-xr-x 2 schelfd staff 3 2010-08-08 14:52 .. dr-xr-xr-x 4 root root 4 2009-09-24 01:32 . -- This message posted from opensolaris.org
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at opensolaris.org] On Behalf Of dirk schelfhout > > Wanted to test the zfs diff command and ran into this.What''s zfs diff? I know it''s been requested, but AFAIK, not implemented yet. Is that new feature being developed now or something?
a diff to list the file differences between snapshots http://arc.opensolaris.org/caselog/PSARC/2010/105/mail Dave On 10/13/10 15:48, Edward Ned Harvey wrote:>> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- >> bounces at opensolaris.org] On Behalf Of dirk schelfhout >> >> Wanted to test the zfs diff command and ran into this. >> > > What''s zfs diff? I know it''s been requested, but AFAIK, not implemented > yet. Is that new feature being developed now or something? > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101014/8e6bc2d4/attachment.html>
I had to upgrade zfs zfs upgrade -a then pfexec zfs set sharesmb=off data pfexec zfs set sharesmb=on data after this zfs diff failed with the old snapshots. But with newly created snapshots it worked. Thanks Tim, Dirk -- This message posted from opensolaris.org