search for: vfs_shadow_copy2

Displaying 20 results from an estimated 117 matches for "vfs_shadow_copy2".

2017 Apr 02
2
vfs_shadow_copy2 delimiter not working
Hi I could not get a custom "shadow:delimiter" for the vfs shadow_copy2 module to work successfully for me with Samba 4.6.2. I did not try previous versions. Based on my testing it seems that an additional line of code is needed in vfs_shadow_copy2.c as shown in the patch below (some comment updates are included too for code readability). Without the below patch, previous versions were not being returned by Samba when using a shadow:delimiter. I was using a sample config of shadow:snapprefix = ^Snap shadow:delimiter = _._ shadow:format =...
2017 Apr 19
0
vfs_shadow_copy2 delimiter not working
...Miller via samba wrote: > Hi > > I could not get a custom "shadow:delimiter" for the vfs shadow_copy2  > module to work successfully for me with Samba 4.6.2. I did not try  > previous versions. Based on my testing it seems that an additional line  > of code is needed in vfs_shadow_copy2.c as shown in the patch below  > (some comment updates are included too for code readability). > > Without the below patch, previous versions were not being returned by  > Samba when using a shadow:delimiter. I was using a sample config of > > shadow:snapprefix = ^Snap > shad...
2016 Feb 08
2
vfs_shadow_copy2: unmount snapshot while user is restoring from it
Greetings, I am trying to use vfs_shadow_copy2 with samba samba-4.2.7. I have a share exported at /export/smb400/. A snapshot of the share is on a separate block device, which is mounted at /export_shadows/volume-00000001/@GMT-2016.02.08-11.48.00/. Samba configuration for the share is: vfs objects = shadow_copy2 shadow:snapdir = /export_shado...
2011 Sep 17
1
vfs_shadow_copy2 doesn't seem to work with basedir of /
...4: srv /mnt/dates/@GMT-2011.09.16-23.03.18: srv /mnt/dates/@GMT-2011.09.16-23.03.37: srv /mnt/dates/@GMT-2011.09.16-23.03.56: srv mattcen at adam:SambaTest$ The latter config gives me the following in /var/log/samba/log.<client>: [2011/09/17 00:06:42.354400, 0] modules/vfs_shadow_copy2.c:380(convert_shadow2_name) convert_shadow2_name: basedir / is not a parent of /srv/SambaTest/share I'm hitting this code in vfs_shadow_copy2.c, but I don't really understand what it's doing: mattcen at adam:samba$ nl -ba samba-3.5.6~dfsg/source3/modules/vfs_shadow_copy2.c | sed...
2016 Feb 10
0
vfs_shadow_copy2: unmount snapshot while user is restoring from it
...w copy and reloading config. > > The challenge is getting smbd to close connection and being sure that it > indeed closed them. > > I hope that helps, > Uri. > > > On 02/08/2016 06:22 PM, Alex Lyakas wrote: >> >> Greetings, >> >> I am trying to use vfs_shadow_copy2 with samba samba-4.2.7. >> >> I have a share exported at /export/smb400/. A snapshot of the share is on >> a separate block device, which is mounted at >> /export_shadows/volume-00000001/@GMT-2016.02.08-11.48.00/. Samba >> configuration for the share is: >> >&...
2016 Feb 10
0
vfs_shadow_copy2: unmount snapshot while user is restoring from it
On Mon, Feb 08, 2016 at 06:33:25PM +0200, Alex Lyakas wrote: > Greetings, > > I am trying to use vfs_shadow_copy2 with samba samba-4.2.7. > > I have a share exported at /export/smb400/. A snapshot of the share is on a > separate block device, which is mounted at > /export_shadows/volume-00000001/@GMT-2016.02.08-11.48.00/. Samba > configuration for the share is: > > vfs objects = shadow_c...
2014 Jan 24
2
vfs_shadow_copy2 with different snapshot format
Hi all, Does anyone have vfs_shadow_copy2 working with an alternate snapshot directory format? My snapshots look like this : drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140113_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140114_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140115_12:00 drwxr-xr-x 55 root root 32768 Jan 10 12:3...
2016 Feb 10
1
vfs_shadow_copy2: unmount snapshot while user is restoring from it
...mon to all storage vendors using the shadow copy module with mounted snapshots. Thanks, Alex. On Wed, Feb 10, 2016 at 2:46 AM, Jeremy Allison <jra at samba.org> wrote: > On Mon, Feb 08, 2016 at 06:33:25PM +0200, Alex Lyakas wrote: >> Greetings, >> >> I am trying to use vfs_shadow_copy2 with samba samba-4.2.7. >> >> I have a share exported at /export/smb400/. A snapshot of the share is on a >> separate block device, which is mounted at >> /export_shadows/volume-00000001/@GMT-2016.02.08-11.48.00/. Samba >> configuration for the share is: >> >&...
2018 Feb 16
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
...A-Za-z0-9]*y$ shadow:delimiter = _IPG_ shadow:format = _IPG_%Y.%m.%d-%H.%M.%S Regards, Mike On 16/02/2018 16:50, Edouard Guigné via samba wrote: > Hello Dear Samba Users, > > I have sucessfully set a samba share on a centos 7 box (samba 4.6.2) > and succeeded into make work snapshots (vfs_shadow_copy2 with xfs and > lvm). > The snapshots appears well in windows previous versions. > > However, I expected to go further with snapshots and use the options > "shadow:snapprefix" and "shadow:delimiter"in order to filter daily, > weekly snapshots... > I did no...
2023 May 22
1
vfs_shadow_copy2 cannot read/find snapshots
...lists.samba.org> wrote: > > Hi Alexander > > # net conf delparm projects shadow:snapprefix > does not change a thing. The error persists. (I killed my smb session > before trying again). > > log still says: > [2023/05/22 15:23:23.324179, 1] > ../../source3/modules/vfs_shadow_copy2.c:2222(shadow_copy2_get_shadow_copy_data) > shadow_copy2_get_shadow_copy_data: SMB_VFS_NEXT_OPEN failed for > '/srv/glvol_samba/admin/projects/.snaps' - Permission denied > > I had it working before and had some trouble with these two parameters > aswell. Thank you for th...
2014 Mar 28
1
shadow_copy2 not working
...ct Info You can find selected highlights of my level 10 log.smbd below, the full log is attached. Perhaps the timestamps I've got below will help with debugging? Thanks in advance for help Tom [2014/03/28 15:41:16.130561, 10, pid=4037, effective(0, 0), real(0, 0)] ../source3/modules/vfs_shadow_copy2.c:1741(shadow_copy2_connect) ../source3/modules/vfs_shadow_copy2.c:1741: cnum[697285368], connectpath[/home/TekShare] [2014/03/28 15:41:16.130808, 10, pid=4037, effective(0, 0), real(0, 0)] ../source3/modules/vfs_shadow_copy2.c:1953(shadow_copy2_connect) shadow_copy2_connect: configuration:...
2016 Jan 01
3
Fix for CVE-2015-5299 denies access to ZFS snapshots due to overly strict condition checking
...acl(ACE_GETACLCNT, /tank/share/.zfs/snapshot): Operation is not supported on the filesystem where the file reside ../source3/smbd/open.c:128(smbd_check_access_rights) smbd_check_access_rights: Could not get acl on /tank/share/.zfs/snapshot: NT_STATUS_NOT_SUPPORTED ../source3/modules/vfs_shadow_copy2.c:1170(check_access_snapdir) user does not have list permission on snapdir /tank/share/.zfs/snapshot ../source3/modules/vfs_shadow_copy2.c:1339(shadow_copy2_get_shadow_copy_data) access denied on listing snapdir /tank/share/.zfs/snapshot Possible fix: Reading the patch at https://...
2018 Feb 17
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
...d-%H.%M.%S >> >> Regards, >> Mike >> On 16/02/2018 16:50, Edouard Guigné via samba wrote: >>> Hello Dear Samba Users, >>> >>> I have sucessfully set a samba share on a centos 7 box (samba 4.6.2) >>> and succeeded into make work snapshots (vfs_shadow_copy2 with xfs and >>> lvm). >>> The snapshots appears well in windows previous versions. >>> >>> However, I expected to go further with snapshots and use the options >>> "shadow:snapprefix" and "shadow:delimiter"in order to filter daily, &...
2023 May 26
1
vfs_shadow_copy2 cannot read/find snapshots
...ndows I wasn't able to access the privious version, but > remembering Alexanders comment I could fix that aswell! Hm.. that would require your snapshots to always start with "snap" and not "snap1" or "snap101" etc. But I do think 'snapprefix' option to vfs_shadow_copy2 module is working as expected(at least for me). > Now I have to test if the missing acl options has any influence on > the windows acls. Since you have also stacked 'acl_xattr' vfs module, windows ACLs should not get affected as they are stored as "security.NTACL" extended...
2023 May 22
2
vfs_shadow_copy2 cannot read/find snapshots
Hi Alexander # net conf delparm projects shadow:snapprefix does not change a thing. The error persists. (I killed my smb session before trying again). log still says: [2023/05/22 15:23:23.324179,? 1] ../../source3/modules/vfs_shadow_copy2.c:2222(shadow_copy2_get_shadow_copy_data) ? shadow_copy2_get_shadow_copy_data: SMB_VFS_NEXT_OPEN failed for '/srv/glvol_samba/admin/projects/.snaps' - Permission denied I had it working before and had some trouble with these two parameters aswell.? Thank you for the hint. smb.conf now...
2023 May 25
1
vfs_shadow_copy2 cannot read/find snapshots
> Does it make a difference if you re-mount the volume without 'acl' > option? Even otherwise can you try listing the snapshot contents from > the server as a user(and not super user) who in reality tries to list > previous versions from Windows? I feel like it has something to do with > permissions setup for the user accessing the share. It does make a difference! First
2019 Aug 12
0
vfs_shadow_copy2 not working
On Sat, Aug 10, 2019 at 11:22:53PM +0000, douxevip via samba wrote: > So I'm trying to get shadow copies to work with Windows clients. The snapshots are being stored at /test/.zfs/snapshot > > The snapshots are being named like so: > > autosnap_2019-08-10_21:00:00_frequently > autosnap_2019-08-10_21:00:00_monthly > autosnap_2019-08-10_22:00:00_hourly > > This is
2019 Sep 01
0
vfs_shadow_copy2 not working
The last email had 1 little error in the smb.conf that I forgot to edit for the email: skyhawk2x4tb was the old poolname, I have it renamed to /pool now, so this is not a source of the problem. ??????? Original Message ??????? On Sunday, September 1, 2019 2:20 PM, douxevip <douxevip at protonmail.com> wrote: > Hi Jeremy, > > Here's the log with log level 10:
2019 Sep 02
0
vfs_shadow_copy2 not working
I'm actually on Debian 10, Proxmox standard installation. I'm not hitting the limit as far as I can tell. Do you know how I can find out where the mistake is? Is there an easier way to troubleshoot this? ??????? Original Message ??????? On Sunday, September 1, 2019 8:48 PM, Andrew Walker via samba <samba at lists.samba.org> wrote: > On Sun, Sep 1, 2019 at 3:24 PM douxevip via
2020 Jul 24
0
vfs_shadow_copy2: permission denied - SMB_VFS_NEXT_OPENDIR() failed for '/snapshots'
On Thu, Jul 23, 2020 at 7:01 PM Isaac Stone via samba <samba at lists.samba.org> wrote: > > vfs objects = fileid acl_xattr shadow_copy2 > > Try putting shadow_copy2 before acl_xattr in the list.