July 16, 20232 yr If for example i want to add a remote share, and use the GUI, this works fine: It asks a host, user, password, and then makes me pick a share. Remote path would be //1.2.3.4/share123/ in this example, and that works fine. However, it requires a folder suffix. How to add a remote share like //1.2.3.4/ instead? Goal is to backup. I want to copy (backup) all shares of another (Unraid) main-server in one effort to my Unraid backup-server, without having to create a dozen shares, and then just do a copy in Krusader GUI. I have considered (fine) alternatives like rsync before, but i want a GUI. I have considered (awful) alternatives like see here: Edited July 16, 20232 yr by Barry Staes add link
July 16, 20232 yr Author I now think its just a bug that this dialog wont allow me to enter "/" or empty. (using Unraid Version: 6.12.2 , Unassigned Devices plugin 2023.07.16) Observations: Works when use "Load Shares", disk mounts OK if the user has read permissions for that share. The "Done" button is not disabled, but it is not working if the "Enter or Select Share" input is an empty value. If i enter "/" here, the dialog is closable using "Done" but the resulting share results in "//1.2.3.4//" (two slash suffix) and wont mount. If i enter " " (a space) here, the dialog is closable using "Done" but the resulting share is "//1.2.3.4/" which looks fine, but still wont mount and shows this error in the log: Jul 16 12:25:10 unraid2 unassigned.devices: Mounting Remote Share '//1.2.3.4/'... Jul 16 12:25:10 unraid2 unassigned.devices: Mount SMB share '//1.2.3.4/' using SMB default protocol. Jul 16 12:25:10 unraid2 unassigned.devices: Mount SMB command: /sbin/mount -t 'cifs' -o rw,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,credentials='/tmp/unassigned.devices/credentials_1.2.3.4' '//1.2.3.4/' '/mnt/remotes/1.2.3.4_' Jul 16 12:25:10 unraid2 kernel: CIFS: Attempting to mount \\1.2.3.4\ Jul 16 12:25:10 unraid2 kernel: CIFS: VFS: BAD_NETWORK_NAME: \\1.2.3.4\ Jul 16 12:25:10 unraid2 kernel: CIFS: VFS: cifs_mount failed w/return code = -2 Jul 16 12:25:10 unraid2 unassigned.devices: SMB default protocol mount failed: '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) '. Edited July 16, 20232 yr by Barry Staes add log info
July 19, 20232 yr Solution //1.2.3.4/ refers to a server, and is not a share. Your attempts to enter an empty share won't work. UD accepting the " " and "/" is really a bug. The share has to be specified and be a valid share. The 'Done' button won't work until some text is entered. The share field can't be empty. On 7/16/2023 at 6:29 AM, Barry Staes said: I want to copy (backup) all shares of another (Unraid) main-server in one effort to my Unraid backup-server, without having to create a dozen shares, and then just do a copy in Krusader GUI. Try setting up a root share on the remote server and you can then add that as a remote share which will refer to the remote shares as //1.2.3.4/rootshare/ that will contain all your shares.
August 5, 20232 yr Author Ok thanks, and now i understand what an Unraid root share does. Could not find it in the UI or online. That appears the solution to my problem. PS. I always considered //1.2.3.4/ as a defacto "root share" that exists on all SMB servers. With the way any windows machine browsing would see all shares.
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.