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


dlandon

Recommended Posts

Total newbie to Unraid here...just installed last night.

 

I installed this plugin on the recommendation of Space Invader One's videos and it's helped me understand a few things, but I'm running into an issue I can't quite figure out.

 

I currently have Plex Media Server/Sonarr/Radarr/Tautulli on my Mac Pro connected to some RAID5 arrays in a 24-bay chassis. I want to slowly move away from the separate hardware RAID setups to a single, expandable one on Unraid. 

 

I'm trying to move my current configs for the above services to the Docker containers on the Unraid box, but until I purchase the drives I need to begin the "musical chairs" of the data/drives from the Areca card to the Unraid array...I want to get the docker versions of PMS and all to be able to access the media files still on the Mac Pro.

 

I've added the SMB shares to UD on the Unraid box...and when adding them I can query the list of shares, etc. But when I click the MOUNT button, it errors out:

 

Aug 26 11:47:39 UnRAID unassigned.devices: Mount SMB share '//MACPRO/PrimaryRAID' using SMB default protocol.
Aug 26 11:47:39 UnRAID 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_PrimaryRAID' '//MACPRO/PrimaryRAID' '/mnt/remotes/MACPRO_PrimaryRAID'
Aug 26 11:47:39 UnRAID kernel: CIFS: Attempting to mount //MACPRO/PrimaryRAID
Aug 26 11:47:40 UnRAID kernel: CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Aug 26 11:47:40 UnRAID kernel: CIFS: VFS: \\MACPRO Send error in SessSetup = -13
Aug 26 11:47:40 UnRAID kernel: CIFS: VFS: cifs_mount failed w/return code = -13
Aug 26 11:47:40 UnRAID unassigned.devices: Mount of '//MACPRO/PrimaryRAID' failed: 'mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) '.

 

Should there be a credentials file created at the /tmp/unassigned.devices/credentials_PrimaryRAID location?

 

All I see there is this:

root@UnRAID:/tmp/unassigned.devices# ls -lah
total 12K
drwxrwx---  4 root root 140 Aug 26 14:03 ./
drwxrwxrwt 12 root root 260 Aug 26 14:02 ../
-rwxrwx---  1 root root 560 Aug 25 21:00 add-smb-extra*
drwxrwx---  2 root root 120 Aug 25 22:59 config/
-rwxrwx---  1 root root 181 Aug 25 21:00 remove-smb-extra*
drwxrwxrwx  2 root root  40 Aug 25 21:00 scripts/
-rw-rw-rw-  1 root root   1 Aug 25 21:00 smb-settings.conf

 

I'm sure I'm missing something here, but still very new to Unraid. Once I get this solved, I have an Ubuntu box with 27 Docker containers I want to eventually migrate over...but one step at a time.

 

Any advice would be appreciated.

 

Thanks

Ross

Link to comment
23 minutes ago, rosskinard said:

I've added the SMB shares to UD on the Unraid box...and when adding them I can query the list of shares, etc. But when I click the MOUNT button, it errors out:

That's generally an issue with credentials.  Try not to use special characters in the password. 

 

24 minutes ago, rosskinard said:

Should there be a credentials file created at the /tmp/unassigned.devices/credentials_PrimaryRAID location?

As soon as the mount is completed, that file is removed because the user and password are in plain text.  After mounting the remote share, the credentials are no longer needed.

Link to comment
37 minutes ago, dlandon said:

That's generally an issue with credentials.  Try not to use special characters in the password. 

 

There are no special characters in the password. Just upper/lower/numbers. Sorry, should have specified that.

 

I tried different user credentials with a super simple password and it fails too.

 

Also tried Allow "EVERYONE" read/write access.

Restarting both file sharing and the machine itself (Mac Pro)

 

Connecting to the shares on my MacBook Pro and my Windows 11 gaming PC works fine.

 

That being said, my Ubuntu machine doesn't want to connect to the shares either. I had never tried from it, but doesn't seem like Linux wants to talk to the Mac Pro's SMB sharing fully.

 

My LibreELEC/Kodi system will browse the SMB shares when added though.

 

Any ideas?

 

Thanks

Ross

Link to comment

may a question about auto mounting smb shares since 6.10, seems here UAD tries to mount and gives up after a reboot

 

ug 28 06:23:00 AlsServer emhttpd: nothing to sync
Aug 28 06:23:00 AlsServer unassigned.devices: Mounting 'Auto Mount' Remote Shares...
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server '192.168.1.45' is offline and share '//ALSBATH/internal' cannot be mounted.
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server '192.168.1.25' is offline and share '//ALSSLEEP/internal' cannot be mounted.
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server 'VUDUO4KSE' is offline and share '//VUDUO4KSE/harddisk' cannot be mounted.
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server 'VUDUO4KSE' is offline and share '//VUDUO4KSE/rootfs' cannot be mounted.

 

even the shares are online, so i have to manually mount them in the GUI then which is working just fine.

 

question, any chance to "delay" the mounts as soon network is available to UAD ?

Link to comment
2 hours ago, alturismo said:

may a question about auto mounting smb shares since 6.10, seems here UAD tries to mount and gives up after a reboot

 

ug 28 06:23:00 AlsServer emhttpd: nothing to sync
Aug 28 06:23:00 AlsServer unassigned.devices: Mounting 'Auto Mount' Remote Shares...
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server '192.168.1.45' is offline and share '//ALSBATH/internal' cannot be mounted.
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server '192.168.1.25' is offline and share '//ALSSLEEP/internal' cannot be mounted.
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server 'VUDUO4KSE' is offline and share '//VUDUO4KSE/harddisk' cannot be mounted.
Aug 28 06:23:00 AlsServer unassigned.devices: Remote SMB/NFS server 'VUDUO4KSE' is offline and share '//VUDUO4KSE/rootfs' cannot be mounted.

 

even the shares are online, so i have to manually mount them in the GUI then which is working just fine.

 

question, any chance to "delay" the mounts as soon network is available to UAD ?

Please post your diagnostics.

Link to comment
6 minutes ago, TIE Fighter said:

You rebooted, so the log doesn't show the spin downs for /dev/sda like you posted.  Looks like you have the spin down set for every 15 minutes.

 

/dev/sda is a WD hard drive (WD60EFRX), so Unraid will spin it down.  It doesn't appear to be a nvme SSD, but the sdX designation can change on reboot so that might not be right.

 

This is not really a UD issue.

 

You can filter the log messages by installing the Enhanced Log plugin and filtering these messages in the log 'Syslog Filter' tab of Enhanced Log.

Link to comment
1 hour ago, dlandon said:

You rebooted, so the log doesn't show the spin downs for /dev/sda like you posted.  Looks like you have the spin down set for every 15 minutes.

 

/dev/sda is a WD hard drive (WD60EFRX), so Unraid will spin it down.  It doesn't appear to be a nvme SSD, but the sdX designation can change on reboot so that might not be right.

 

This is not really a UD issue.

 

You can filter the log messages by installing the Enhanced Log plugin and filtering these messages in the log 'Syslog Filter' tab of Enhanced Log.

correct the server was rebooted after my first post did not notice the sdX deignation was changed sorry for confusion.

see below

15899979_usbnvme.thumb.png.d94c1aa1a669f7d27f108962dcd9f200.png

420981797_usbnvme1.thumb.png.2d7cdf327e2129146cd38d69cf46863f.png

the timer spin down timer set for 15min.

so thats why the disk log is filling up for that particular drive.

so unassigned devices do not exclude ssd/nvme drives like unraid is excluding cache drives from spin down?

 

galactica-diagnostics-20210901-2107.zip

Edited by TIE Fighter
Link to comment
2 minutes ago, TIE Fighter said:

correct the server was rebooted after my first post did not notice the sdX deignation was changed sorry for confusion.

see below

15899979_usbnvme.thumb.png.d94c1aa1a669f7d27f108962dcd9f200.png

420981797_usbnvme1.thumb.png.2d7cdf327e2129146cd38d69cf46863f.png

the timer spin down timer set for 15min.

so unassigned devices do not exclude ssd/nvme drives like unraid is excluding cache drives from spin down?

galactica-diagnostics-20210901-2107.zip 164.93 kB · 0 downloads

You have the disk passed through:

Sep  1 17:22:54 Galactica unassigned.devices: Disk with serial 'SSD_970_EVO_DD5641988390', mountpoint 'Samsung_SSD_970_EVO-part1' is set as passed through.
Sep  1 17:22:54 Galactica unassigned.devices: Disk with serial 'SSD_970_EVO_DD5641988390', mountpoint 'Ny_volym' is set as passed through.

 

UD does not spin down disks.  Those messages come from Unraid spinning down the disk.  Where is the disk passed through to?  Check there.

Link to comment
2 hours ago, dlandon said:

You can filter the log messages by installing the Enhanced Log plugin and filtering these messages in the log 'Syslog Filter' tab of Enhanced Log.

thank you very much for the advice and for another great plugin 🙂

12 minutes ago, dlandon said:

UD does not spin down disks.  Those messages come from Unraid spinning down the disk.  Where is the disk passed through to?  Check there.

passed to a vm as a virtual disk, i'll have a look.

cheers.

Link to comment

Hi,

 

I have problems with my External HD Drive and unassigned plugin in my Unraid Server. I have everything updated, Unraid OS, Unraid unassigned plugin, etc

 

I precleared my external drive and I checked that the disk have errors and everything is fine.

 

When I plug the external HD I can mount and format the disk without problems. The problem is that randonmly Unraid unmount the external disk and I can not mount again (even if i reboot the system I can not mount again the disk).

 

I have checked that the automount option is marked and it is ok.

 

It is very frustanting because I don´t know why Unraid unmount the disk.

 

Thank you in advance an best regards

 

 

Link to comment
1 hour ago, bonistir said:

The disk was not unmounted cleanly:

Aug 26 18:03:03 Tower unassigned.devices: Adding disk '/dev/sdf1'...
Aug 26 18:03:03 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'exfat' -o rw,auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdf1' '/mnt/disks/External_HD_Drive'
Aug 26 18:03:04 Tower mount.exfat: volume was not unmounted cleanly
Aug 26 18:03:04 Tower unassigned.devices: Mount of '/dev/sdf1' failed: 'FUSE exfat 1.3.0 WARN: volume was not unmounted cleanly. fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option '
Aug 26 18:03:04 Tower unassigned.devices: Partition 'WD Elements_25A3' cannot be mounted.

Click on the check mark next to the mount point and see if it can be fixed.

 

You also have a UPS communications issue:

Aug 26 17:06:39 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:15:51 Tower emhttpd: spinning down /dev/sda
Aug 26 17:16:45 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:16:56 Tower emhttpd: spinning down /dev/sde
Aug 26 17:17:22 Tower emhttpd: spinning down /dev/sdd
Aug 26 17:17:22 Tower emhttpd: spinning down /dev/sdc
Aug 26 17:26:51 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:30:52 Tower emhttpd: spinning down /dev/sda
Aug 26 17:36:57 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:45:53 Tower emhttpd: spinning down /dev/sda
Aug 26 17:47:03 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:51:07 Tower emhttpd: read SMART /dev/sde
Aug 26 17:57:09 Tower apcupsd[5597]: Communications with UPS lost.

You need to get that fixed.

Link to comment
14 hours ago, dlandon said:

The disk was not unmounted cleanly:

Aug 26 18:03:03 Tower unassigned.devices: Adding disk '/dev/sdf1'...
Aug 26 18:03:03 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'exfat' -o rw,auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdf1' '/mnt/disks/External_HD_Drive'
Aug 26 18:03:04 Tower mount.exfat: volume was not unmounted cleanly
Aug 26 18:03:04 Tower unassigned.devices: Mount of '/dev/sdf1' failed: 'FUSE exfat 1.3.0 WARN: volume was not unmounted cleanly. fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option '
Aug 26 18:03:04 Tower unassigned.devices: Partition 'WD Elements_25A3' cannot be mounted.

Click on the check mark next to the mount point and see if it can be fixed.

 

You also have a UPS communications issue:

Aug 26 17:06:39 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:15:51 Tower emhttpd: spinning down /dev/sda
Aug 26 17:16:45 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:16:56 Tower emhttpd: spinning down /dev/sde
Aug 26 17:17:22 Tower emhttpd: spinning down /dev/sdd
Aug 26 17:17:22 Tower emhttpd: spinning down /dev/sdc
Aug 26 17:26:51 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:30:52 Tower emhttpd: spinning down /dev/sda
Aug 26 17:36:57 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:45:53 Tower emhttpd: spinning down /dev/sda
Aug 26 17:47:03 Tower apcupsd[5597]: Communications with UPS lost.
Aug 26 17:51:07 Tower emhttpd: read SMART /dev/sde
Aug 26 17:57:09 Tower apcupsd[5597]: Communications with UPS lost.

You need to get that fixed.

 

Thank you for your help!

 

I don´t know where is exactly this check: "click on the check mark next to the mount point and see if it can be fixed." it could be possible that post image capture?

 

Best regards

 

 

Link to comment
1 hour ago, bonistir said:

 

Thank you for your help!

 

I don´t know where is exactly this check: "click on the check mark next to the mount point and see if it can be fixed." it could be possible that post image capture?

 

Best regards

 

 

I don't have access to my servers right now to get a screen shot.  Click on the '+' under the drive and then click on the check mark.

Link to comment

Dear friends,

 

I have 2 (two) SSDs not format /dev/sdc and /dev/sdd, the unraid server recognize both ssds, but only one show in dashboard.

 

[0:0:0:0]disk SanDisk' Cruzer Fit 1.00 /dev/sda 8.00GB

[1:0:0:0]disk ATA ST1000LM024 HN-M 0001 /dev/sdb 1.00TB

[1:0:1:0]disk ATA P4-480 522a /dev/sdc 480GB

[1:0:2:0]disk ATA P4-480 60 /dev/sdd 480GB

[1:0:3:0]disk ATA WDC WDS480G2G0A- 0000 /dev/sde 480GB

[1:0:4:0]disk ATA ST2000DM001-1ER1 CC43 /dev/sdf 2.00TB

[1:0:5:0]disk ATA ST1000DM003-1CH1 CC47 /dev/sdg 1.00TB

[1:0:6:0]disk ATA ST2000DM001-1ER1 CC43 /dev/sdh 2.00TB

[1:0:7:0]disk ATA ST2000DM001-1ER1 CC26 /dev/sdi 2.00TB

[2:0:0:0]disk ATA ST2000DM008-2FR1 0001 /dev/sdj 2.00TB

[3:0:0:0]disk ATA ST2000VX008-2E31 CV12 /dev/sdk 2.00TB

[4:0:0:0]disk ATA ST1000DM003-1CH1 CC47 /dev/sdl 1.00TB

[5:0:0:0]disk ATA ST1000DM003-1CH1 CC47 /dev/sdm 1.00TB

 

 

 Why dont show/dev/sdd ?

 

Thanks

 

Adriano

Capturar.PNG

Link to comment
1 hour ago, Adriano Frare said:

Dear friends,

 

I have 2 (two) SSDs not format /dev/sdc and /dev/sdd, the unraid server recognize both ssds, but only one show in dashboard.

 

[0:0:0:0]disk SanDisk' Cruzer Fit 1.00 /dev/sda 8.00GB

[1:0:0:0]disk ATA ST1000LM024 HN-M 0001 /dev/sdb 1.00TB

[1:0:1:0]disk ATA P4-480 522a /dev/sdc 480GB

[1:0:2:0]disk ATA P4-480 60 /dev/sdd 480GB

[1:0:3:0]disk ATA WDC WDS480G2G0A- 0000 /dev/sde 480GB

[1:0:4:0]disk ATA ST2000DM001-1ER1 CC43 /dev/sdf 2.00TB

[1:0:5:0]disk ATA ST1000DM003-1CH1 CC47 /dev/sdg 1.00TB

[1:0:6:0]disk ATA ST2000DM001-1ER1 CC43 /dev/sdh 2.00TB

[1:0:7:0]disk ATA ST2000DM001-1ER1 CC26 /dev/sdi 2.00TB

[2:0:0:0]disk ATA ST2000DM008-2FR1 0001 /dev/sdj 2.00TB

[3:0:0:0]disk ATA ST2000VX008-2E31 CV12 /dev/sdk 2.00TB

[4:0:0:0]disk ATA ST1000DM003-1CH1 CC47 /dev/sdl 1.00TB

[5:0:0:0]disk ATA ST1000DM003-1CH1 CC47 /dev/sdm 1.00TB

 

 

 Why dont show/dev/sdd ?

 

Thanks

 

Adriano

Capturar.PNG

How do you have the disks connected?

Link to comment

Hello!

 

I'm encountering an issue and I'm in a bit of a pickle.

 

After a data drive swap in my main array and a UD plugin update, I am no longer able to mount certain drives in UD. I have a total of 10 drives in UD. 2 SSDs, 7 pre-existing HDDs, and 1 new HDD. The 2 SSDs and 1 new HDD mount fine, but the 7 pre-existing HDDs no longer mount. When attempting to mount, the log shows:

 

Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] physical block alignment offset: 4096
Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] 35156656128 512-byte logical blocks: (18.0 TB/16.4 TiB)
Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] 4096-byte physical blocks
Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] Write Protect is off
Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] Mode Sense: 73 00 00 08
Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 6 22:08:32 Tower kernel: sdaa: sdaa1
Sep 6 22:08:32 Tower kernel: sd 8:0:7:0: [sdaa] Attached SCSI disk
Sep 6 22:08:52 Tower emhttpd: WDC_WUH721818ALE6L4_3WKXN7LJ (sdaa) 512 35156656128
Sep 6 22:08:52 Tower emhttpd: read SMART /dev/sdaa
Sep 6 22:09:56 Tower unassigned.devices: Adding disk '/dev/sdaa1'...
Sep 6 22:09:56 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime '/dev/sdaa1' '/mnt/disks/<drivename>'
Sep 6 22:09:56 Tower unassigned.devices: Mount of '/dev/sdaa1' failed: 'mount: /mnt/disks/<drivename>: mount point does not exist. '
Sep 6 22:15:30 Tower unassigned.devices: Adding disk '/dev/sdaa1'...
Sep 6 22:15:30 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime '/dev/sdaa1' '/mnt/disks/<drivename>'
Sep 6 22:15:30 Tower unassigned.devices: Mount of '/dev/sdaa1' failed: 'mount: /mnt/disks/<drivename>: mount point does not exist. '
Sep 6 22:18:48 Tower unassigned.devices: Adding disk '/dev/sdaa1'...
Sep 6 22:18:48 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime '/dev/sdaa1' '/mnt/disks/<drivename>'
Sep 6 22:18:48 Tower unassigned.devices: Mount of '/dev/sdaa1' failed: 'mount: /mnt/disks/<drivename>: mount point does not exist. '

 

This is the same error show for all 7 of my drives which previously mounted just fine. Anyone have any insight? I really need to get this fixed ASAP as these drives contain data I need to access.

 

I have tried reinstalling the plugin as well as full server restarts, neither seem to help.

Edited by doubley
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.