[Samba] vfs_shadow_copy2 not working

douxevip douxevip at protonmail.com
Mon Sep 2 03:42:29 UTC 2019


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 samba samba at lists.samba.org
> wrote:
>
> > > 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
>
> I'm not saying this is what your problem is, but if this is FreeBSD < 12,
> then MNAMELEN in mount.h is 88. FreeBSD 12 bumps this limit to 1024. This
> means that you should be wary of automatic snapshot schemes that bump up
> toward this limit. Otherwise, the snapshots will not appear in
> shadow_copy2. One way to quickly tell if you're hitting the limit is to
> "cd" into the snapdir and "ls -l". If you've hit it then it will fail with
> ENAMETOOLONG.
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba





More information about the samba mailing list