【发布时间】:2022-10-06 13:03:00
【问题描述】:
我正在通过 Portal 生成的脚本将 Azure Files SMB 共享安装到 Windows 10 计算机:
$connectTestResult = Test-NetConnection -ComputerName storageaccountname.file.core.windows.net -Port 445
if ($connectTestResult.TcpTestSucceeded) {
# Save the password so the drive will persist on reboot
cmd.exe /C \"cmdkey /add:`\"storageaccountname.file.core.windows.net`\" /user:`\"localhost\\storageaccountname`\" /pass:`\"q/Password==`\"\"
# Mount the drive
New-PSDrive -Name R -PSProvider FileSystem -Root \"\\\\storageaccountname.file.core.windows.net\\database\" -Persist
} else {
Write-Error -Message \"Unable to reach the Azure storage account via port 445. Check to make sure your organization or ISP is not blocking port 445, or use Azure P2S VPN, Azure S2S VPN, or Express Route to tunnel SMB traffic over a different port.\"
}
当我将文件从该文件共享复制到本地计算机时,我的复制速度非常低 1-3 MB/秒。
为什么它这么慢,我该如何增加它?
标签: azure-storage-account azure-files