Shadow Copy(Previous Versions) not working after upgrading 11.3-U1 from 11.2-U7

shota

Cadet
Joined
Sep 10, 2019
Messages
8
Today, I upgraded my server from 11.2-U7 to 11.3-U1.

After the upgrade, I realized that the previous versions is not working from Windows 10 client.
Here are symptoms(?) I observed:
- after restarting smb, I can see several previous versions from Windows client, but a few seconds later they disappear.
- When I tried to open previous versions (really quickly), it opens. However, when I try to open a specific folder or file, an error says it does not exist.
- From WEB GUI, I can access to snapshots and rollback older versions.

I checked threads in the community, and I found a similar problem, but it could not solve my issue.

I thought this is caused by ACL, and I created new pool(TEST), new dataset(001_TEST), and new samba share with default setting. Still, the problem is not solved.

Here is my testparm.

Code:
# Global parameters
[global]
    aio max threads = 2
    bind interfaces only = Yes
    disable spoolss = Yes
    dns proxy = No
    enable web service discovery = Yes
    kernel change notify = No
    load printers = No
    logging = file
    max log size = 51200
    nsupdate command = /usr/local/bin/samba-nsupdate -g
    restrict anonymous = 2
    server min protocol = SMB2_02
    server role = standalone server
    server string = FreeNAS Server
    unix extensions = No
    username map = /usr/local/etc/smbusername.map
    username map cache time = 60
    idmap config *: range = 90000001-100000000
    idmap config * : backend = tdb
    allocation roundup size = 0
    directory name cache size = 0
    dos filemode = Yes
    hide unreadable = Yes
    include = /usr/local/etc/smb4_share.conf

[999_TEST]
    access based share enum = Yes
    aio write size = 0
    ea support = No
    hide dot files = No
    mangled names = illegal
    path = /mnt/TEST/001_TEST
    read only = No
    vfs objects = shadow_copy_zfs ixnas streams_xattr
    nfs4:acedup = merge
    nfs4:chown = true


Code:
root@nas1[/var/log]# zfs list -t snap | grep 001_TEST
TEST/001_TEST@manual-2020-04-05_08-24                       81.4K      -   128K -
TEST/001_TEST@manual-2020-04-05_08-37                       81.4K      -   128K -

root@nas1[/var/log]# zfs list -t snap -o name,used | grep 001_TEST
TEST/001_TEST@manual-2020-04-05_08-24                       81.4K
TEST/001_TEST@manual-2020-04-05_08-37                       81.4K


I would greatly appreciate it if you would help my problem.
 
Last edited:

shota

Cadet
Joined
Sep 10, 2019
Messages
8
Umm, at least I made previous versions of newly created dataset work by removing "hide unreadable = yes" from the global samba setting.
"hide unreadable = yes" in each share setting also makes previous versions broken.

However, previous versions of dataset from 11.2-U7 are still not working...

In addition, the following is what I tried so far:
- added dos character = CP932 since it was set in 11.2-U7.
- disabled all shadow copy in other shares.
 
Last edited:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
This seems consistent with a bug I fixed for U2. Hang tight for the next release. If you can still repeat the issue once that happens, PM me a debug file.
 

shota

Cadet
Joined
Sep 10, 2019
Messages
8
Hi, anodos

The problem was solved by updating the system to 11.3-U2.

Thank you for your help.
 
Top