Jump to content

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


Recommended Posts

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
Link to comment
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

Link to comment

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.

Link to comment
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.

Link to comment
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.

Link to comment

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
Link to comment
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.

Link to comment
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.

 

Link to comment
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.

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...