search for: snapdir

Displaying 20 results from an estimated 172 matches for "snapdir".

2019 Feb 12
1
Sama + Windows Shadow Copies
...lo, i installed zfs-auto-snapshot with Samba/Windows Shadow Copy. If the share contains "path = /srv/userdata/" it runs for me. But if I use "path = /srv/userdata/%U" I get no "Previous Versions" on my Win10 Client. I think the problem is the variable "shadow: snapdir = .zfs/snapshot". I tried with "shadow: snapdir = ../.zfs/snapshot" and with "shadow: snapdir = /srv/userdata/.zfs/snapshot" but it does´t works for me. How can I get the "Previous Versions" with path = /.../%U? The files for Windows Shadow Copy are locatet in...
2012 Sep 22
0
shadow:snapdir/basedir's are they used?
...acl group control = yes block size = 4096 store dos attributes = yes map acl inherit = yes inherit acls = yes comment = Domain User's Home Documents path = /home/%D/Documents/%U vfs objects = recycle, readahead, shadow_copy2 recycle: keeptree = true shadow:snapdir = /home/.snapdir shadow:basedir = /home I thought, by telling it the base dir (/home -- which is also exported, BTW and the place where I have snapshots mounted), it would look for the Doc dir relative to the 'path' from the basedir. What I see Windows doing is looking for it at the r...
2016 Jan 01
3
Fix for CVE-2015-5299 denies access to ZFS snapshots due to overly strict condition checking
...version: upgraded from 4.1.17 to 4.1.22 Problem: I have been using the shadow_copy2 and zfsacl VFS modules to enable access control and the Previous Versions feature for Windows clients. With /usr/local/etc/smb4.conf configured this way (excerpt): vfs objects = shadow_copy2 zfsacl shadow:snapdir = .zfs/snapshot shadow:format = GMT-%Y.%m.%d-%H.%M.%S shadow:sort = desc After updating the package to 4.1.22, which fixes several vulnerabilities, I discovered that I could no longer view previous versions of files or folders. Checking out the log with log level at 10, I found some error...
2020 May 18
1
Shadow Copy2 & zfs Snapshots
Hi there I'm having some troubles with Shadow Copy2 & zfs Snapshots. I have hourly and daily snapshots. If I use the following settings it works (but omits daily snapshots): vfs objects = shadow_copy2 shadow:snapdir = .zfs/snapshot shadow:sort = desc shadow:localtime = yes shadow:format = easysnap-hourly_%Y-%m-%d-%H-%M-UTC However when I try to use the BRE with the prefix, so that daily and hourly snapshots would be included, it won't work (no previous old versions being shown in Windows file prop...
2006 Oct 31
0
6399899 change the default value of snapdir property to "hidden"
Author: lling Repository: /hg/zfs-crypto/gate Revision: 2de9ffe8718409582bf049abea4af81f06a89482 Log message: 6399899 change the default value of snapdir property to "hidden" Files: update: usr/src/common/zfs/zfs_prop.c
2010 May 04
0
How to net group add 'group' (I scrod myself...can't figure out how descrod)
...e acls = Yes vfs objects = recycle recycle: keeptree = true [homes] acl group control = yes comment = DomUser Roaming Home Dir (Generic Homes, u=%u, U=%U, s=%S, d=%D, w=%w) path = /home/%D/%U create mask = 0751 vfs objects = recycle, readahead, shadow_copy2 recycle: keeptree = true shadow:snapdir = /home/snapdir shadow:basedir = /home [servhome] acl group control = yes comment = Server Home Dir (Generic Homes, u=%u, U=%U, s=%S, d=%D, w=%w) path = /home/%U create mask = 0751 vfs objects = recycle, readahead, shadow_copy2 recycle: keeptree = true shadow:snapdir = /home/snapdir shado...
2007 Feb 05
6
snapdir visable recursively throughout a dataset
...ether for moving, cloning, sizing, etc, you can''t view .zfs/ from within the zone because the zone root is one dir down: /zones <-- Dataset /zones/myzone01 <-- Dataset, .zfs is located here. /zones/myzone01/root <-- Directory, want .zfs Here! The ultimate idea is to make ZFS snapdirs accessable from within the zone. benr. This message posted from opensolaris.org
2018 Aug 02
3
Can't write to a samba share mounted as an AD user
...tp write only = no recycle bin = yes recycle bin administrators only = no qbox = no public = yes invalid users = "guest" read list = @"everyone" write list = "admin" valid users = "root",@"everyone","admin" inherit permissions = yes shadow:snapdir = /share/CACHEDEV1_DATA/_.share/Multimedia/.snapshot shadow:basedir = /share/CACHEDEV1_DATA/Multimedia shadow:sort = desc shadow:format = @GMT-%Y.%m.%d-%H:%M:%S smb encrypt = disabled strict allocate = yes streams_depot:check_valid = yes mangled names = yes [Download] comment = System default shar...
2016 Feb 17
2
Can one set the owner of a folder to BUILTIN\Administrators?
...e mask = 0666 directory mask = 0777 client ntlmv2 auth = yes dos charset = CP437 unix charset = UTF-8 log level = 1 [applied] path = /mnt/trunk/MM/applied printable = no veto files = /.snapshot/.windows/.mac/.zfs/ writeable = yes browseable = yes shadow:snapdir = .zfs/snapshot shadow:sort = desc shadow:localtime = yes shadow:format = auto-%Y%m%d.%H%M-1w shadow:snapdirseverywhere = yes vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr hide dot files = yes guest ok = no nfs4:mode = special nfs4:acedup...
2019 Sep 01
3
vfs_shadow_copy2 not working
...y autosnap_2019-09-01_13:29:01_hourly autosnap_2019-09-01_13:44:09_frequently And this is currently in my smb.conf file: [shadowtest] path = /pool/shadowtest valid users = user1 read only = no writeable = yes guest ok = no create mode = 770 directory mode = 770 vfs objects = shadow_copy2 shadow:snapdir = /skyhawk2x4tb/shadowtest/.zfs/snapshot shadow:snapprefix = ^autosnap_ shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} shadow:delimiter = _ shadow:sort = desc shadow:localtime = no I do not see the snapshots listed in the Windows Previo...
2020 Aug 28
1
samba
...shares/documents/<share>, failed - NT_STATUS_ACCESS_DENIED. Aug 28 10:24:29 luigi2 smbd[127904]: [2020/08/28 10:24:29.937661,? 0] ../../source3/modules/vfs_shadow_copy2.c:2159(shadow_copy2_get_shadow_copy_data) Aug 28 10:24:29 luigi2 smbd[127904]:? access denied on listing snapdir /shares/.snapshots Aug 28 10:24:29 luigi2 smbd[127904]: [2020/08/28 10:24:29.937809,? 0] ../../source3/modules/vfs_default.c:1287(vfswrap_fsctl) Aug 28 10:24:29 luigi2 smbd[127904]:? FSCTL_GET_SHADOW_COPY_DATA: connectpath /shares/documents/<share>, failed - NT_STATUS_ACCESS_D...
2016 Jan 01
0
Fix for CVE-2015-5299 denies access to ZFS snapshots due to overly strict condition checking
...> Problem: > > I have been using the shadow_copy2 and zfsacl VFS modules to enable > access control and the Previous Versions feature for Windows clients. > With /usr/local/etc/smb4.conf configured this way (excerpt): > > vfs objects = shadow_copy2 zfsacl > shadow:snapdir = .zfs/snapshot > shadow:format = GMT-%Y.%m.%d-%H.%M.%S > shadow:sort = desc > > After updating the package to 4.1.22, which fixes several > vulnerabilities, I discovered that I could no longer view previous > versions of files or folders. > > Checking out the log...
2010 Feb 06
1
shadow_copy2 prob? FSCTL..GET..DATA: max_data_count(114) too small (118) bytes needed!
...% Convert 2010.02.05-01.26.19 Home swi-ao 10.00G lvol0 39.81 2010.02.06-02.37.52 Home swi-ao 5.00G lvol0 0.25 lvol0 Home owi-ao 1.00T and they are mounted: /dev/mapper/Home-2010.02.05--01.26.19 on /home/snapdir/@GMT-2010.02.05-01.26.19 type xfs (ro,nouuid) /dev/mapper/Home-2010.02.06--02.37.52 on /home/snapdir/@GMT-2010.02.06-02.37.52 type xfs (ro,nouuid) My 'home's definitions (I have 3 shares that all resided on /home partition': 'ServHome' (home of user on the server) 'home...
2018 Aug 02
2
Can't write to a samba share mounted as an AD user
...administrators only = yes qbox = no public = yes invalid users = "guest" read list = @"everyone" write list = "admin",@"ACME\Users" valid users = "root",@"everyone","admin",@"Acme\Users" inherit permissions = yes shadow:snapdir = /share/CACHEDEV1_DATA/_.share/Public/.snapshot shadow:basedir = /share/CACHEDEV1_DATA/Public shadow:sort = desc shadow:format = @GMT-%Y.%m.%d-%H:%M:%S smb encrypt = disabled strict allocate = yes streams_depot:check_valid = yes mangled names = yes admin users = admin only = > Is it part of...
2011 Sep 12
0
Fwd: Re: Can't add users to well known groups...
...t acls = yes > map acl inherit = yes > path = /home/%D/%u > read only = no > valid users = %S, %D%w%S, +Domain Admins, +Administrators, +wheel > wide links = yes > vfs objects = recycle, readahead, shadow_copy2 > readahead:length = 512K > recycle: keeptree = true > shadow:snapdir = /home/snapdir > shadow:basedir = /home > > [servhome] > acl group control = yes > map acl inherit = yes > store dos attributes = yes > inherit acls = yes > comment = shomedir u=%u, U=%U, s=%S, d=%D, w=%w > follow symlinks = yes > path = /home/%U > read only = no...
2018 Aug 02
0
Can't write to a samba share mounted as an AD user
...ycle bin administrators only = no > qbox = no > public = yes > invalid users = "guest" > read list = @"everyone" > write list = "admin" > valid users = "root",@"everyone","admin" > inherit permissions = yes > shadow:snapdir = /share/CACHEDEV1_DATA/_.share/Multimedia/.snapshot > shadow:basedir = /share/CACHEDEV1_DATA/Multimedia > shadow:sort = desc > shadow:format = @GMT-%Y.%m.%d-%H:%M:%S > smb encrypt = disabled > strict allocate = yes > streams_depot:check_valid = yes > mangled names = yes >...
2013 Feb 01
0
snapshot scripts run on linux to allow samba to export Windows "Previous copies" when looking at a network file?
...echo $file: echo ===== cat "$file" done ------ snap.log-130118-0507: ===== 0 snaps dated today. Snapshot of Home wanted: y Create snapshot Home-2013.01.17-05.07.02, size 1.0T Logical volume "Home-2013.01.17-05.07.02" created Oldest Snapshot = Home-2013.01.16-05.07.03, @/home/.snapdir/@GMT-2013.01.16-05.07.03 Performing rsync with 7 excludes used from config file. rsync took 115m, 11s Empty-directory removal took 0m, 48s Find size of dir @ /home.diff size=14248587264, minsize=17098304717, extent_size=4194304, nextents=4077 Old volume active: Deactivated. Removed. size=171001774...
2016 Jul 06
1
"No previous versions" - GPFS 3.5 and shadow_copy2
...t/serviceoperations/slough_project/Slough_Layout [2016/07/06 10:07:35.611881, 3] ../source3/smbd/dosmode.c:196(unix_mode) unix_mode(admin/ict/serviceoperations/slough_project/Slough_Layout) returning 0644 [2016/07/06 10:07:35.613374, 0] ../source3/modules/vfs_shadow_copy2.c:1211(check_access_snapdir) user does not have list permission on snapdir /gpfs/prd/groupspace/ic/admin/ict/.snapshots [2016/07/06 10:07:35.613416, 0] ../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data) access denied on listing snapdir /gpfs/prd/groupspace/ic/admin/ict/.snapshots [2016/07/0...
2019 Aug 10
2
vfs_shadow_copy2 not working
...rk 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 in my smb.conf: [test] vfs objects = shadow_copy2 shadow:snapdir = /test/.zfs/snapshot shadow:snapprefix = ^autosnap_ shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\} #shadow:delimiter = _ shadow:sort = desc shadow:localtime = no I've also tried it with the delimiter line uncommented (and then removi...
2016 Feb 17
0
Can one set the owner of a folder to BUILTIN\Administrators?
...s > dos charset = CP437 > unix charset = UTF-8 > log level = 1 > > > [applied] > path = /mnt/trunk/MM/applied > printable = no > veto files = /.snapshot/.windows/.mac/.zfs/ > writeable = yes > browseable = yes > shadow:snapdir = .zfs/snapshot > shadow:sort = desc > shadow:localtime = yes > shadow:format = auto-%Y%m%d.%H%M-1w > shadow:snapdirseverywhere = yes > vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr > hide dot files = yes > guest ok = n...