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.

Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array

Featured Replies

  • Replies 11.9k
  • Views 2.1m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • It's that self healing feature I built into UD.  It just fixes itself.

  • New release of UD.  Changes: When changing the mount point (which is also the share name), the mount point is checked for a duplicate of a user share or another UD device.  Samba cannot handle

  • Major new release of UD: "Where are the switches?"  The "Pass Through", "Read Only", "Automount", and "Share" switches have been moved to a new Edit Settings dialog.  This is also where the sc

Posted Images

7 minutes ago, dlandon said:

I don't see in the log where samba is setup on the disk share after the disk is mounted.  Are you sure you have the disk share switch on?

Maybe I am doing it wrong?  this is what i have.  these are screenshots from settings and from the mount point share with the drive share.  I think blue is on?

 

image.png.3c65ebabb3bb11ded7ca6687c131da5f.pngimage.thumb.png.afc23368b2d452a406bfb04dbe6f883a.png

 

image.png.c96b153e82bb81c194f8b2429c8b3347.png

image.png

  • Author

What is this?

    [WORKGROUP] => FEDERATION
    [DOMAIN] => 
 

5 minutes ago, dlandon said:

What is this?

    [WORKGROUP] => FEDERATION
    [DOMAIN] => 
 

instead of using workgroup name for workgroup i use the name federation (star trek)  I don't run a domain here only a workgroup.  Is that not correct?

 

Edited by dbrown2

7 minutes ago, dlandon said:

Set it back to WORKGROUP.

done.  mounted unassigned and does not show up nor can I map directly to it.

7 minutes ago, dlandon said:

Show the output of this command:

testparm -s

 

Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

# Global parameters
[global]
        disable spoolss = Yes
        load printers = No
        logging = syslog@0
        map to guest = Bad User
        max open files = 40960
        multicast dns register = No
        ntlm auth = ntlmv1-permitted
        null passwords = Yes
        os level = 100
        passdb backend = smbpasswd
        printcap name = /dev/null
        security = USER
        server min protocol = NT1
        server multi channel support = No
        server string = Media server
        show add printer wizard = No
        smb1 unix extensions = No
        fruit:nfs_aces = No
        idmap config * : range = 3000-7999
        idmap config * : backend = tdb
        acl allow execute always = Yes
        aio read size = 0
        aio write size = 0
        create mask = 0777
        directory mask = 0777
        hide dot files = No
        include = /etc/samba/smb-shares.conf
        invalid users = root
        map archive = No
        map readonly = yes
        use sendfile = Yes
        wide links = Yes


[flash]
        comment = Unraid OS boot device
        force user = root
        guest ok = Yes
        path = /boot
        read only = No


[disk1]
        guest ok = Yes
        path = /mnt/disk1
        read only = No


[disk2]
        guest ok = Yes
        path = /mnt/disk2
        read only = No


[disk3]
        guest ok = Yes
        path = /mnt/disk3
        read only = No


[cache]
        guest ok = Yes
        path = /mnt/cache
        read only = No


[Google Drive Files]
        guest ok = Yes
        path = /mnt/user/Google Drive Files
        read only = No


[Media]
        guest ok = Yes
        path = /mnt/user/Media
        read only = No


[Pictures]
        guest ok = Yes
        path = /mnt/user/Pictures
        read only = No


[apks]
        guest ok = Yes
        path = /mnt/user/apks
        read only = No


[downloads]
        guest ok = Yes
        path = /mnt/user/downloads
        read only = No


[isos]
        comment = ISO images
        guest ok = Yes
        path = /mnt/user/isos
        read only = No


[pve-backups]
        guest ok = Yes
        path = /mnt/user/pve-backups
        read only = No

  • Author

UD is not setting up the SMB or NFS shares and I see no reason for that.  My only suggestions are:

  • Click on the double arrows on the UD page and see if it fixes the problem.
  • Reboot.

If UD has set up the share properly, you'll see it in the testparm output between the [global] and [flash] sections.

 

If neither of these work, let me know and I'll look at it some more tomorrow.

1 minute ago, dlandon said:

UD is not setting up the SMB or NFS shares and I see no reason for that.  My only suggestions are:

  • Click on the double arrows on the UD page and see if it fixes the problem.
  • Reboot.

If UD has set up the share properly, you'll see it in the testparm output between the [global] and [flash] sections.

 

If neither of these work, let me know and I'll look at it some more tomorrow.

First and foremost thank you no matter the outcome.  thank you..  You are kind and generous with your time.  I will follow your suggestions.  and report back tomorrow.  have a good night.  I work tomorrow 1st shift EST.  so I will be hit or miss.  thank you again.

  • Author
8 hours ago, dbrown2 said:

First and foremost thank you no matter the outcome.  thank you..  You are kind and generous with your time.  I will follow your suggestions.  and report back tomorrow.  have a good night.  I work tomorrow 1st shift EST.  so I will be hit or miss.  thank you again.

I've added soom additional logging to help understand the issue you are having.  Update UD and be sure you mount a shared disk before posting diagnistics again.

By the way, I have same problem. Until now I have been working with the shares, suddenly the two shares are no longer visible over the network. They are mounted, because I can access them internally, but not externally over the network.

Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

# Global parameters
[global]
        disable spoolss = Yes
        load printers = No
        logging = syslog@0
        map to guest = Bad User
        max open files = 40960
        multicast dns register = No
        ntlm auth = ntlmv1-permitted
        null passwords = Yes
        os level = 100
        passdb backend = smbpasswd
        printcap name = /dev/null
        security = USER
        server min protocol = NT1
        server multi channel support = No
        server string = Praxis
        show add printer wizard = No
        smb1 unix extensions = No
        workgroup = PRAXISNETZ
        fruit:nfs_aces = No
        idmap config * : range = 3000-7999
        idmap config * : backend = tdb
        acl allow execute always = Yes
        aio read size = 0
        aio write size = 0
        create mask = 0777
        directory mask = 0777
        hide dot files = No
        include = /etc/samba/smb-shares.conf
        invalid users = root
        map archive = No
        map readonly = yes
        use sendfile = Yes
        wide links = Yes


[flash]
        browseable = No
        comment = Unraid OS boot device
        force user = root
        path = /boot
        valid users = knv
        write list = knv


[Backup-VM]
        guest ok = Yes
        path = /mnt/user/Backup-VM
        read only = No


[Backup-data]
        guest ok = Yes
        path = /mnt/user/Backup-data
        read only = No

 

Screenshot 2023-02-20 141235.jpg

Edited by Andreas Kanev

  • Author
1 minute ago, Andreas Kanev said:

By the way, I have same problem. Until now I have been working with the shares, suddenly the two shares are no longer visible over the network. They are mounted, because I can access them internally, but not externally over the network.

Update to the latest version of UD and then mount a shared disk and post diagnostics.  I've added some logging to try to figure this one out.

Same issue here. 

 

Visible internally to Sab/Sonarr/Krusader but no longer visible from Windows 10 clients on my network.

 

This happened within the last few days.

mediatower-diagnostics-20230220-0812.zip

  • Author
17 minutes ago, a12vman said:

Same issue here. 

 

Visible internally to Sab/Sonarr/Krusader but no longer visible from Windows 10 clients on my network.

 

This happened within the last few days.

mediatower-diagnostics-20230220-0812.zip 154.63 kB · 1 download

It looks like your UD Settings are not correct.  Go to UD Settings and re-apply the SMB Security settings:

Feb 20 07:49:06 MediaTower unassigned.devices: Mount cmd: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime '/dev/sdd1' '/mnt/disks/Download'
Feb 20 07:49:06 MediaTower kernel: xfs filesystem being mounted at /mnt/disks/Download supports timestamps until 2038 (0x7fffffff)
Feb 20 07:49:06 MediaTower unassigned.devices: Successfully mounted 'sdd1' on '/mnt/disks/Download'.
Feb 20 07:49:06 MediaTower unassigned.devices: Unassigned Devices are not set to be shared.

 

This how I have it setup, am I missing something?

 

Disk:

image.thumb.png.72806e4fa2b39a64a471fec9a57e794a.png

 

Share:

image.thumb.png.3098747621dd983c8f6aaeeff7a3e0b9.png

Edited by a12vman

  • Author
16 minutes ago, Andreas Kanev said:

You do not have the device share switch set:

Feb 20 14:06:01 Server2 unassigned.devices: Mount cmd: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime '/dev/sdd1' '/mnt/disks/S5SSNF0RA00473W'
Feb 20 14:06:01 Server2 kernel: XFS (sdd1): Mounting V5 Filesystem
Feb 20 14:06:01 Server2 kernel: XFS (sdd1): Ending clean mount
Feb 20 14:06:01 Server2 kernel: xfs filesystem being mounted at /mnt/disks/S5SSNF0RA00473W supports timestamps until 2038 (0x7fffffff)
Feb 20 14:06:01 Server2 unassigned.devices: Successfully mounted 'sdd1' on '/mnt/disks/S5SSNF0RA00473W'.
Feb 20 14:06:01 Server2 unassigned.devices: Device '/dev/sdd1' is not set to be shared.
Feb 20 14:06:02 Server2 unassigned.devices: Mounting partition 'sdc1' at mountpoint '/mnt/disks/transfer'...
Feb 20 14:06:02 Server2 unassigned.devices: Mount cmd: /sbin/mount -t 'btrfs' -o rw,noatime,nodiratime,space_cache=v2 '/dev/sdc1' '/mnt/disks/transfer'
Feb 20 14:06:02 Server2 kernel: BTRFS info (device sdc1): using free space tree
Feb 20 14:06:02 Server2 kernel: BTRFS info (device sdc1): has skinny extents
Feb 20 14:06:02 Server2 kernel: BTRFS info (device sdc1): enabling ssd optimizations
Feb 20 14:06:02 Server2 unassigned.devices: Successfully mounted 'sdc1' on '/mnt/disks/transfer'.
Feb 20 14:06:02 Server2 unassigned.devices: Device '/dev/sdc1' is not set to be shared.

 

If it is set, turn it off and then back on.

  • Author
3 minutes ago, a12vman said:

This how I have it setup, am I missing something?

It's these settings:

Screenshot 2023-02-20 073815.png

1 hour ago, dlandon said:

 

 

If it is set, turn it off and then back on.

That's the strange thing, sharing is enabled. Here in the screenshot you can see it.

selsect.jpg

  • Author
9 minutes ago, Andreas Kanev said:

That's the strange thing, sharing is enabled. Here in the screenshot you can see it.

Turn it off then back on without unmounting it.  Then see if it is shared.

11 minutes ago, dlandon said:

Turn it off then back on without unmounting it.  Then see if it is shared.

I tried it now several times, it's not shared. 

I toggled the share option on/off while it is mounted.  No change in results.

 

SMB Security, where is that located?

 

I don't think I have ever seen that option screen.

Edited by a12vman

1 minute ago, a12vman said:

SMB Security, where is that located?

Settings - Unassigned Devices

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.