Displaying 20 results from an estimated 800 matches similar to: "vfs_shadow_copy2 with different snapshot format"
2019 Aug 10
2
vfs_shadow_copy2 not working
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 in my smb.conf:
[test]
vfs objects = shadow_copy2
shadow:snapdir = /test/.zfs/snapshot
shadow:snapprefix =
2019 Sep 01
3
vfs_shadow_copy2 not working
Hi Jeremy,
Here's the log with log level 10: https://pastebin.com/0EAuz2B8
The location of the shared folder: /pool/shadowtest
The location of the snapshots: /pool/shadowtest/.zfs/snapshot
Here are how snapshots are named:
autosnap_2019-09-01_13:29:01_daily
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]
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_shadows/volume-00000001
shadow:fixinodes = yes
(Note: I
2018 Feb 19
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hi,
I notice you're using 4.6.2 and I'm using 4.6.11. I made the following
comment at some point within [global]:
#disable "unix extensions" to avoid using "allow insecure wide links"
# for access to ../xxxx_SNAPS for BTRFS "previous versions" snapshots
# --it seems to have reverted once more to not need the below two
settings
##unix
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:
>
>
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:
2016 Feb 10
0
vfs_shadow_copy2: unmount snapshot while user is restoring from it
Hi Uri,
Thanks for your response.
We do not want to delete the share in smb.conf and later to
reconfigure it without the shadow copy. We want to keep the shadow
copy and rotate the snapshots. For example, we want to keep 24 hourly
snapshots, and every hour we create a new snapshot and unmount the
oldest one. But since customers can be restoring from the oldest
snapshot right now, it is not
2018 Feb 17
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hi
(+mailing list again for the archives)
My config which does show previous versions:
# /usr/local/samba/sbin/smbd --version
Version 4.6.11
To avoid having this config block within in each share, I define the
following within the [global] section:
shadow:snapprefix = ^\(monthly\)\{0,1\}\(weekly\)\{0,1\}\(daily\)\{0,1\}$
shadow:delimiter = _UTC_
shadow:format =
2016 Feb 10
1
vfs_shadow_copy2: unmount snapshot while user is restoring from it
Hi Jeremy,
The use case is that we want to automatically rotate the snapshots.
For example, we want to keep 24 hourly snapshots, and every hour we
create a new snapshot and unmount the oldest one. But since customers
can be restoring from the oldest snapshot right now, it is not
deterministic when we will be able to unmount the oldest snapshot. So
at that moment we want all active restore
2018 Feb 16
4
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
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
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
2016 Jul 06
1
"No previous versions" - GPFS 3.5 and shadow_copy2
Hi all,
At some point recently my customers can no longer see GPFS snapshots under the Windows Previous Versions tab. It simply says "No previous versions available". If a fileset is exported with the flag "force user = root" then Previous Versions *are* displayed.
[2016/07/06 10:07:35.602080, 3] ../source3/smbd/vfs.c:1322(check_reduced_name)
check_reduced_name:
2020 Oct 05
2
VFS shadowcopy2 with FeeBSD & ZFS
Hi,
I have a FreeBSD 12.1 system with Samba 4.11.8 using ZFS and I want to get shadow copies working, however the clients (Windows 10) don't show anything in the 'previous versions' tab. I think it's doing something as it say 'working' for a short amount of time. Also if I crank up vfs debugging to 10 I get:
[2020/10/05 16:50:03.879093, 10, pid=50572, effective(0, 0),
2017 Aug 31
2
Workgroup Domain
Hi,
Wondering if anyone can help with a weird issue I'm having -
Just set up a new server (RHEL 7.4) and have migrated my samba
configuration from my old server (Fedora 25), I'm experiencing an issue
where by if my the name of my workgroup a domain i.e. it has a period in
it, then none of my Linux clients can detect the broadcast and smbtree on
both client and server is completely empty.
2012 Dec 18
1
Infiniband performance issues answered?
In IRC today, someone who was hitting that same IB performance ceiling
that occasionally gets reported had this to say
[11:50] <nissim> first, I ran fedora which is not supported by Mellanox
OFED distro
[11:50] <nissim> so I moved to CentOS 6.3
[11:51] <nissim> next I removed all distibution related infiniband rpms
and build the latest OFED package
[11:52] <nissim>
2014 Mar 13
2
things that break with unix extensions = yes, samba 4.1.5 and osx 10.9 clients?
I'm about to do some testing with a an OSX 10.9 client connected to sernet
samba 4.1.5 to see what things work and don't both from the finder and from
the terminal with unix extensions = yes and no. Does anyone know of any
show stopping issues that occur with unix extensions = yes and the latest
samba (or 3.6.x, or 4.0.x a) and the latest OSX (or latest update with 10.7
& 10.8)?
2017 Apr 19
0
vfs_shadow_copy2 delimiter not working
On Sun, 2017-04-02 at 22:42 +0100, Michael 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
>
2012 Feb 23
1
default cluster.stripe-block-size for striped volumes on 3.0.x vs 3.3 beta (128kb), performance change if i reduce to a smaller block size?
Hi,
I've been migrating data from an old striped 3.0.x gluster install to
a 3.3 beta install. I copied all the data to a regular XFS partition
(4K blocksize) from the old gluster striped volume and it totaled
9.2TB. With the old setup I used the following option in a "volume
stripe" block in the configuration file in a client :
volume stripe
type cluster/stripe
option
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
2018 Feb 16
0
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hi,
As per the list.samba.org link, did you try including the delimiter
within the format, ie as shown in the following?
shadow:snapprefix = ^d[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)