Certain files hang on copy

squeakybadger

Dabbler
Joined
Feb 10, 2020
Messages
13
Hi,

I've noticed the copy operation will hang on certain files on datasets (either copying to the same dataset, or across datasets)

Attached a video showing the copy hangs for a while, before copying over (larger files seem to be limited to a low speed, which eventually dies)

Moving the same file around is instant, as is wrapping it in a zip.

Not sure if it is to do with the ADS (Alternate DataStreams) buffer size, or if something is configured wrong.

Output of testparm -s:

Code:
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Weak crypto is allowed

Server role: ROLE_DOMAIN_MEMBER

# Global parameters
[global]
        aio max threads = 2
        allow trusted domains = No
        bind interfaces only = Yes
        client ldap sasl wrapping = seal
        disable spoolss = Yes
        dns proxy = No
        domain master = No
        enable web service discovery = Yes
        kerberos method = secrets and keytab
        kernel change notify = No
        load printers = No
        local master = No
        logging = file
        max log size = 5120
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        preferred master = No
        realm = PIKCELLS.LOCAL
        registry shares = Yes
        restrict anonymous = 2
        security = ADS
        server multi channel support = No
        server role = member server
        server string = FreeNAS Server
        template shell = /bin/sh
        unix extensions = No
        winbind cache time = 7200
        winbind enum groups = Yes
        winbind enum users = Yes
        winbind max domain connections = 10
        workgroup = PIK
        idmap config *: range = 90000001-100000000
        idmap config pikcells: range = 100000001-200000000
        idmap config pikcells: backend = rid
        fruit:nfs_aces = No
        rpc_server:mdssvc = disabled
        rpc_daemon:mdssd = disabled
        idmap config * : backend = tdb
        directory name cache size = 0
        dos filemode = Yes


[PROJECTS]
        ea support = No
        hide dot files = No
        mangled names = no
        path = /mnt/PIK/PROJECTS
        read only = No
        smbd max xattr size = 2097152
        vfs objects = catia zfs_space fruit streams_xattr ixnas zfsacl
        fruit:resource = stream
        fruit:metadata = stream
        fruit:encoding = native
        nfs4:chown = true
        ixnas:dosattrib_xattr = false


Running Truenas Core 13.0-U5.1

Any ideas or things to look at?

Thanks
 

Attachments

  • truenasCopyHalt.mp4
    3.5 MB · Views: 0
Top