vfs_shadow_copy2 configuration

Dan Cohen1 DANCOH at il.ibm.com
Thu Aug 22 06:08:33 MDT 2013


Hi Michael,

Thanks for you answer.
When you have this polished version of the patches I'll be happy to test 
it and give you some feedback (if I'll have anything clever to say...). 
The raw patches as they are now are a bit too messy for me to look/merge 
into my branch. 

Thanks,
Dan




From:   Michael Adam <obnox at samba.org>
To:     Dan Cohen1/Israel/IBM at IBMIL, 
Cc:     samba-technical at lists.samba.org
Date:   22/08/2013 13:17
Subject:        Re: vfs_shadow_copy2 configuration



Hi,

I have recently worked on getting the shadow_copy2
module into shape again for absolute snapdir
and a couple of other things that worked in 3.6.

The raw result of my work is here:

http://gitweb.samba.org/?p=obnox/samba/samba-obnox.git;a=shortlog;h=refs/heads/master-shadow_copy2


This is on top of master, but should apply to 4.0.

The patches are very raw and show the progress when
I approached the solution. They also contain some
cleanup of the code.

I am working on a polished/squashed version of the patches
for pushing upstream and will post this here very soon.

Any testing and feed-back would be highly welcome!

Cheers - Michael


On 2013-08-22 at 12:29 +0300, Dan Cohen1 wrote:
> Hi,
> 
> I had some problems with vfs_shadow_copy2 where I couldn't see my 
> snapshots in the windows "Restore previous versions"  tab.
> After some debugging I realized that the shadow:snapdir parameter does 
not 
> support absolute paths anymore. 
> I saw this post 
https://lists.samba.org/archive/samba/2013-May/173098.html 
> regarding this issue but this still raise the question: is this a bug or 

> is it an intended behavior? 
> I couldn't find any ticket regarding this issue in the bugzila and this 
is 
> not documented in the man page or in the code. Actually the comment in 
the 
> head of the vfs_shadow_copy2.c file still states that absolute paths are 

> supported with shadow:snapdir. 
> Also, in the same matter, after looking at the code it seems  that 
> shadow:basedir is not in use anymore. Again this is not documented. And 
> again my question: is this a bug or is in purpose? (or am I missing 
> something?)
> 
> Thanks,
> Dan Cohen
> IBM - XIV, Israel
> NAS Development Team

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 223 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130822/939ec4a3/attachment.obj>


More information about the samba-technical mailing list