Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Remote SMB share

Featured Replies

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 by Barry Staes
add link

Solved by dlandon

  • 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)

 

image.png.bd30b15e2570a2fbaa8cc8f061b178ab.png

 

Observations:

  1. Works when use "Load Shares", disk mounts OK if the user has read permissions for that share.
  2. The "Done" button is not disabled, but it is not working if the "Enter or Select Share" input is an empty value.
  3. 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.
  4. 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 by Barry Staes
add log info

  • 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.

  • 3 weeks later...
  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.