如何提高 macOS 與 QTS 之間的 SMB 傳輸速度?
最後修訂日期:
2024-08-07
適用產品
QTS、QuTS hero
解決方案
依預設,SMB 簽章會在 macOS 10.11.5 至 10.13.3 中啟用。此設定可增強檔案傳輸的安全性,但會使用更多系統資源。您可透過下列流程停用 SMB 簽章:
備註
停用 SMB 簽章可能會降低檔案傳輸的安全性。
- 在 macOS 裝置開啟終端機。
- 建立 nsmb.conf 檔案。ShellShell
sudo touch /etc/nsmb.conf - 新增內容至建立的 conf 檔案。ShellShell
sudo bash -c 'echo "[default]" >> /etc/nsmb.conf' sudo bash -c 'echo "signing_required=no" >> /etc/nsmb.conf'
系統會停用 SMB 簽章。
重新啟用 SMB 簽章
如您之後需要重新啟用 SMB 簽章,請執行以下流程:
- 在 macOS 裝置開啟終端機。
- 移除 conf 檔。ShellShell
sudo rm /etc/nsmb.conf