如何在 Ubuntu 19.10 上安裝 BlackArmor 220 NAS?

如何在 Ubuntu 19.10 上安裝 BlackArmor 220 NAS?

我想在我的 Ubuntu 19.10 上安裝 BlackArmor NAS 220/media/BlackArmor

解決方案

我缺少vers=1.0最後一個cifs參數。有效的命令:

sudo mount -t cifs -o guest,vers=1.0 //192.168.1.3/Public /media/BlackArmor/

原始問題

我嘗試按照此處的官方說明進行操作:https://www.seagate.com/em/en/support/kb/how-to-mount-nfs-and-cifs-file-systems-on-linux-with-the-seagate-blackarmor-nas-209791en/但它不起作用。

我還嘗試遵循其他一些說明,但沒有任何效果。

這是我已經嘗試過的:

$ sudo mount -t cifs -o noperm //192.168.1.3/Public /media/BlackArmor/
mount: /media/BlackArmor: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

$ sudo mount -t cifs //192.168.1.3/DataVolume/Public -o username=***,password=***,rw,nounix,iocharset=utf8,file_mode=0644,dir_mode=0755 /media/BlackArmor/
mount: /media/BlackArmor: special device //192.168.1.3/DataVolume/Public does not exist.

$ sudo mount -t nfs 192.168.1.3:/Public /media/BlackArmor
mount.nfs: Connection timed out

設備本身正在運行,我可以訪問它smb://ba-07***.local/並查看所有內容。

有任何想法嗎?

PS 我想在啟動時安裝它,但這是另一個問題。

更新 我現在也嘗試過這個:

sudo mount -t cifs -o user=***,pass=***,rw,nounix,iocharset=utf8,file_mode=0644,dir_mode=0755 //192.168.1.3/Public /media/BlackArmor/

(這與第二個基本相同,除了我使用userandpass而不是usernameand password),我得到這個:

mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

當我檢查時dmesg我看到這個:

CIFS: Attempting to mount //192.168.1.3/Public/
No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
CIFS VFS: cifs_mount failed w/return code = -2

答案1

看來我缺少vers=1.0最後一個 cifs 參數。有效的命令:

sudo mount -t cifs -o guest,vers=1.0 //192.168.1.3/Public /media/BlackArmor/

如果您想要它/etc/fstab,並且需要來賓用戶 RW 支援:

//192.168.1.3/Public /media/BlackArmor cifs guest,uid=myuser,iocharset=utf8,file_mode=0777,dir_mode=0777,vers=1.0,noperm 0 0

相關內容