Can't create new remote SMB Windows 11
-
Hi!
I want to create a remote SMB on Windows 11 to make backup, but i can't create the remote.
The log says:Command failed with exit code 32: mount -o domain=FELIPEFONSECA -t cifs //192.168.80.31\BackupD/ /run/xo-server/mounts/78e80f52-29ca-4b31-929a-dfed7b56cfbb
I check all security configs in Windows 11 and disabled the firewall, but the error persists.
Any ideas?
-
@john-c the problem is really the user/password.
I created a new user and all works fine! -
@felipefonsecabh The version of Windows for the remote backup, has a Client Access License (CALS) type limitation on the number of connections (devices) on its file sharing and printing services (or other official server type services) permitted by Microsoft with the product. From Windows 2000 (Business environment) and Windows XP (Home environment) there's been a 10 devices connection limit, only worse with Windows XP that limit can't be increased.
It may be better to use something else for the destination or another OS if you are interested in sending backups over SMB. If you really must use SMB then you either need to be running a version of Windows Server or you can use a Linux Distribution (e.g. Debian Linux, Ubuntu Linux or Rocky Linux) and Samba.
Plus anyway the mount command with cifs is by default using version 1.0 of the SMB protocol while Windows 11 is using at least version 3.0 of SMB.
You need to pass vers=3.0 to the mount command to get it to use the newer version of the SMB protocol.
-
@felipefonsecabh Additionally you need to be using this software's SR functionality to properly enable it to send the backups over SMB.
You can using Xen Orchestra or the screen that comes up when booting finishes of the hypervisor platform, it has an option to manage Storage Repositories (SR). On this menu screen you can create or attach SR's one of which is for the SMB protocol.
This will allow your remote backups share to successfully be mounted, in a manner that the platform can access and use. As the hypervisor platform isn't like a normal Linux Distribution, where you can just use the mount command.
-
@john-c the problem is really the user/password.
I created a new user and all works fine! -
-