Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mac finder操作unraid smb共享,如何实现server-side copy?

Featured Replies

在macOS下挂载SMB共享的两块硬盘,发现硬盘间拷贝文件时是先下载到本地,然后在做上传的。

 

查询资料后得知,需要开启额外参数,但是我添加后始终不生效,无法实现server-side copy的效果。

有没有朋友有过相关经验?

 

参考Wiki:

https://wiki.samba.org/index.php/Server-Side_Copy

参考帖子:

 

Unraid SMB额外参数(在GUI【设置】-【SMB】-【SMB额外】):

 

#unassigned_devices_start
#Unassigned devices share includes
#include = /tmp/unassigned.devices/smb-settings.conf
#unassigned_devices_end
[global]
   vfs objects = catia fruit streams_xattr
   fruit:copyfile = Yes
   fruit:nfs_aces = No
   fruit:zero_file_id = Yes
   fruit:metadata = stream
   fruit:encoding = native
   spotlight backend = tracker

[disk1]
   path = /mnt/disk1
   veto files = /._*/.DS_Store/
   delete veto files = yes
   spotlight = yes
   fruit:copyfile = yes
   
[disk3]
   path = /mnt/disk3
   veto files = /._*/.DS_Store/
   delete veto files = yes
   spotlight = yes
   fruit:copyfile = yes

Unraid SMB参数输出:

root@AurStation:~# testparm -s
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

# Global parameters
[global]
        bind interfaces only = Yes
        disable spoolss = Yes
        host msdfs = No
        interfaces = 192.168.31.220 127.0.0.1
        load printers = No
        logging = syslog@0
        map to guest = Bad User
        max open files = 40960
        multicast dns register = No
        ntlm auth = ntlmv1-permitted
        null passwords = Yes
        os level = 100
        passdb backend = smbpasswd
        printcap name = /dev/null
        security = USER
        server min protocol = NT1
        server multi channel support = No
        server string = My home nas
        show add printer wizard = No
        smb1 unix extensions = No
        fruit:encoding = native
        fruit:metadata = stream
        fruit:zero_file_id = Yes
        fruit:copyfile = Yes
        fruit:nfs_aces = No
        idmap config * : range = 3000-7999
        idmap config * : backend = tdb
        acl allow execute always = Yes
        aio read size = 0
        aio write size = 0
        create mask = 0777
        directory mask = 0777
        hide dot files = No
        include = /etc/samba/smb-shares.conf
        invalid users = root
        spotlight backend = tracker
        use sendfile = Yes
        vfs objects = catia fruit streams_xattr
        wide links = Yes


[disk1]
        delete veto files = Yes
        path = /mnt/disk1
        spotlight = Yes
        valid users = admin
        veto files = /._*/.DS_Store/
        write list = admin
        fruit:encoding = native


[disk3]
        delete veto files = Yes
        path = /mnt/disk3
        spotlight = Yes
        valid users = admin
        veto files = /._*/.DS_Store/
        write list = admin
        fruit:encoding = native

Unraid SMBSTATUS输出(4501为我的mac客户端,SMB协议为SMB3):

# smbstatus

Samba version 4.17.12
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing              
----------------------------------------------------------------------------------------------------------------------------------------
4501    admin        users        192.168.31.142 (ipv4:192.168.31.142:61252) SMB3_11           -                    partial(AES-128-GMAC)
2696    admin        users        192.168.31.250 (ipv4:192.168.31.250:15335) SMB3_11           -                    partial(AES-128-GMAC)

 

Edited by sirtlks

  • Author

补充信息:

Unraid 6.12.10

macOS 15.1

文件管理器试过自带finder和qspace pro。

  • 1 month later...

macOS 从 10.9 开始就默认支持了,不用调参。

我不知道你两块硬盘是两个共享目录还是一个目录,如果是两个的话很正常,因为这个功能不支持跨共享传输,同一块盘两个共享目录就算是亲儿子Windows也得下载下来再传上去。

如果你是两块盘一个共享目录,那可能哪里还有问题。

另外这个技术页面也太老了,客户端支持就写了win和linux,参数感觉都过期了

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.