Rene
2008-Aug-01 20:12 UTC
[zfs-discuss] ZFS with Samba and the "previous versions"-tab under Windows explorer
Hello, I''m testing Ed Plese''s Samba patches. As far as I understood his comments on http://www.edplese.com/samba-with-zfs.html I should see a "previous version" tab in the Windows explorer (explained on: http://www.petri.co.il/how_to_use_the_shadow_copy_client.htm) on my Samba/ZFS-share. But actually I don''t have a previous version tab :( Samba is working, I can connect from my Windows to my samba share and even browse in the .zfs/snapshot directory. Here''s my smb.conf: cat /usr/local/samba/lib/smb.conf [global] workgroup = sambatest security = user [sambatest] comment = samba_with_shadowcopies testing area path = /export/sambatest read only = no vfs objects = shadow_copy shadow_copy: sort = desc shadow_copy: path = /export/sambatest/renny/.zfs/snapshot shadow_copy: format = $Y.$m.$d-$H.$M.$S shadow_copy: sort = desc Here''s how the /export/sambatest/renny/.zfs/snaphot directtory looks like: ls -lhart /export/sambatest/renny/.zfs/snapshot total 18 drwxr-xr-x 2 root sys 2 Jun 30 12:07 GMT-2008.06.30-10.08.56 dr-xr-xr-x 3 root root 3 Jun 30 12:07 .. dr-xr-xr-x 8 root root 8 Jun 30 12:07 . drwxr-xr-x 2 renny staff 3 Jun 30 12:31 GMT-2008.06.30-10.32.26 drwxr-xr-x 3 renny staff 5 Jun 30 14:36 GMT-2008.06.30-12.40.03 drwxr-xr-x 3 renny staff 5 Jun 30 14:36 GMT-2008.06.30-12.39.01 drwxr-xr-x 3 renny staff 6 Jul 2 10:58 GMT-2008.07.13-18.21.24 drwxr-xr-x 3 renny staff 6 Jul 2 10:58 GMT-2008.07.13-18.19.00 So, I have a sambauser named renny and I can connect from Windows to the share, can brows in the snapshot directory, but I don''t have a "previous version" tab in my Window explorer. I''ve tried it with Windows XP Home and Pro and even with the ShadowCopyClient from Microsoft (you can get it from here: http://download.microsoft.com/download/4/9/d/49d18272-7622-42f7-85a5-7b01609e8d64/ShadowCopyClient.msi). So it works "basically" but with the tab it would be perfect ;) Does anyone have an idea how I get this tab if possibly anyway... Greetings, Ren? This message posted from opensolaris.org
Ross
2008-Aug-02 11:07 UTC
[zfs-discuss] ZFS with Samba and the "previous versions"-tab under Windows explorer
Ok, I haven''t actually tested this with Samba, but I''ve done a lot of looking into this and spoken with Ed in the past. First of all you need the Shadow Copy Client from Microsoft installed if you''re running Windows 2000 or XP. Vista has it included already. Then you need to map a network drive. Just browsing UNC paths doesn''t work for the shadow copy client, it''s a limitation on Microsoft''s side. In theory, if everything is configured correctly that''s all there is to it. You should see the previous versions tab as soon as you look at the properties of anything on a mapped drive. This message posted from opensolaris.org
Rene
2008-Aug-10 11:19 UTC
[zfs-discuss] ZFS with Samba and the "previous versions"-tab under Windows explorer
Hi myxiplx, thanks for your support and help, and sorry for my late answer. But it didn''t work :( I can still connect to my samba share, but I don''t see the previous version tab. Dunno, what''s wrong there. Greetings, zer0bo This message posted from opensolaris.org
Ed Plese
2008-Aug-10 13:36 UTC
[zfs-discuss] ZFS with Samba and the "previous versions"-tab under Windows explorer
On Fri, Aug 1, 2008 at 3:12 PM, Rene <rr at baltic-online.de> wrote:> [sambatest] > comment = samba_with_shadowcopies testing area > path = /export/sambatest > read only = no > vfs objects = shadow_copy > shadow_copy: sort = desc > shadow_copy: path = /export/sambatest/renny/.zfs/snapshot > shadow_copy: format = $Y.$m.$d-$H.$M.$S > shadow_copy: sort = descTry changing the "path" to "/export/sambatest/renny" so that it matches the "shadow_copy: path" except for the "/.zfs/snapshot" part. The module doesn''t work when the ZFS filesystem is a subdirectory of the Samba share. In addition, make sure that there are actually changes between the snapshots. If there aren''t any then the Previous Versions tab may not appear. Ed Plese