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


Recommended Posts

43 minutes ago, johnnie.black said:

You need to completely wipe the device, e.g., with blkdiscard, or removr the partition, if you just change the filesystem Unraid will use the existing partition when re-formatting.

thanks, thought so after going through UAD and removed the partition and worked out as expected then

27 minutes ago, trurl said:

thanks for the hint in release notes, i actually forgot there is something due i only readed about it here and in a comment in the bug report thread, my fault.

may it would be nice if there would be a advise or a possibility in unraid gui itself todo so, wipe partition ... thanks again.

Link to comment
56 minutes ago, APD189 said:

Hey Guys,

 

I'm getting the following message:

Warning: file_get_contents(/sys/block/video/queue/rotational): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 635

 

here is my diagnostics

diagnostics-20200716-1430.zip 104.83 kB · 1 download

You got that error on 7/13.  The 7/14 update of UD fixed that issue.  You should not see it any more.

Link to comment
8 minutes ago, APD189 said:

I have the 7/14 version already installed.

image.thumb.png.54cfb9f366cf95006e8c90eab4e088e4.png

Yes.  The error showed up when 7/13 was installed.  You won't see it now with 7/14 installed.

Jul 13 13:35:06 UNRAID-1 emhttpd: Warning: array_merge(): Expected parameter 2 to be an array, null given in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1627
Jul 13 13:35:06 UNRAID-1 emhttpd: Warning: in_array() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1630
Jul 13 13:35:06 UNRAID-1 emhttpd: Warning: file_get_contents(/sys/block/video/queue/rotational): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 635

Please note the date.

Jul 15 04:40:51 UNRAID-1 root: plugin: creating: /boot/config/plugins/unassigned.devices/packages/unassigned.devices-2020.07.14.tgz - downloading from URL https://github.com/dlandon/unassigned.devices/raw/master/unassigned.devices-2020.07.14.tgz

 

Link to comment
1 minute ago, dlandon said:

Yes.  The error showed up when 7/13 was installed.  You won't see it now with 7/14 installed.


Jul 13 13:35:06 UNRAID-1 emhttpd: Warning: array_merge(): Expected parameter 2 to be an array, null given in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1627
Jul 13 13:35:06 UNRAID-1 emhttpd: Warning: in_array() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1630
Jul 13 13:35:06 UNRAID-1 emhttpd: Warning: file_get_contents(/sys/block/video/queue/rotational): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 635

Please note the date.


Jul 15 04:40:51 UNRAID-1 root: plugin: creating: /boot/config/plugins/unassigned.devices/packages/unassigned.devices-2020.07.14.tgz - downloading from URL https://github.com/dlandon/unassigned.devices/raw/master/unassigned.devices-2020.07.14.tgz

 

So if I'm still seeing it on my GUI, what do I need to do to clear it?

 

image.thumb.png.5b1c5609155d34e87af2a6cdf9151e4a.png

Link to comment

Hello :)

I tried searching up and down in the various UD threads and can't find an answer for the new interface. I have been having problems mounting an smbv1 mount on an ancient NAS device (probably moving it over to unraid but have had other things to do :P). I have had it mounted before last year, and was backing it up with Duplicati, though it failed later last year and  I never realized it :D

Yes I still have force SMBv1 in settings, I can manually mount it so I know the password works. I deleted the mounts as I saw there was a change in UD with encrypting passwords (Applause there :) ), but I can not seem to get a listing of shares. I get the scan for 'Win 10' shares, enter username and next, password and next, don't enter anything for Domain and then ext, hit Scan for Shares and it's an immediate come back with nothing.

I can mount it fine from the command line, but want to use UD since you guys do an awesome job with it (And having supported a few free apps in the past, I feel your pain! You need more love!!!)!

Command line


 

 mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,sec=ntlm,vers=1.0,username='****',password='****' '//STORAGE1/C' '/mnt/disks/STORAGE1_C/'


I don't get an error in dmesg or syslog when trying to use UD, but was hoping for a quick fix like 'Oh Stupid, click on this first'. If not I can run diagnostics and dump them if needed :)

Thank you again for the wonderful community here and awesome support. Sorry if I missed the easy fix in past posts, but Soooo many posts to look through (I only made it through like 20 or so pages from the past few months on a couple of different threads' 

EDIT: OH! And also yes, NetBIOS is also enabled :)

Edited by darkwolf
Link to comment
5 hours ago, darkwolf said:

Hello :)

I tried searching up and down in the various UD threads and can't find an answer for the new interface. I have been having problems mounting an smbv1 mount on an ancient NAS device (probably moving it over to unraid but have had other things to do :P). I have had it mounted before last year, and was backing it up with Duplicati, though it failed later last year and  I never realized it :D

Yes I still have force SMBv1 in settings, I can manually mount it so I know the password works. I deleted the mounts as I saw there was a change in UD with encrypting passwords (Applause there :) ), but I can not seem to get a listing of shares. I get the scan for 'Win 10' shares, enter username and next, password and next, don't enter anything for Domain and then ext, hit Scan for Shares and it's an immediate come back with nothing.

I can mount it fine from the command line, but want to use UD since you guys do an awesome job with it (And having supported a few free apps in the past, I feel your pain! You need more love!!!)!

Command line


 


 mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,sec=ntlm,vers=1.0,username='****',password='****' '//STORAGE1/C' '/mnt/disks/STORAGE1_C/'


I don't get an error in dmesg or syslog when trying to use UD, but was hoping for a quick fix like 'Oh Stupid, click on this first'. If not I can run diagnostics and dump them if needed :)

Thank you again for the wonderful community here and awesome support. Sorry if I missed the easy fix in past posts, but Soooo many posts to look through (I only made it through like 20 or so pages from the past few months on a couple of different threads' 

EDIT: OH! And also yes, NetBIOS is also enabled :)

You have several options:

  • Use the IP address of the server instead of the name.  Share lookup will probably work with IP address.
  • Enter the share name manually.
Link to comment

I tried with entering the IP address, still does not find the shares. I would LOVE to manually add the shares, but do not see how from the "ADD REMOVE SMB/NFS SHARE" 

It finds my server just fine in the "SEARCH FOR SERVERS", just can not find any shares after trying to authenticate.

Can I add it manually via config file?

Link to comment
4 hours ago, darkwolf said:

I tried with entering the IP address, still does not find the shares. I would LOVE to manually add the shares, but do not see how from the "ADD REMOVE SMB/NFS SHARE" 

It finds my server just fine in the "SEARCH FOR SERVERS", just can not find any shares after trying to authenticate.

Can I add it manually via config file?

Just type it in the share field instead of clicking the search for shares button.

Link to comment
5 hours ago, nerv said:

Are hard linked files expected to work when they exist in a mounted SMB? I'm getting "head: cannot open 'file' for reading: Invalid argument" on one of the hard links, but not the other.

Are you talking about a remote mounted share?

Link to comment
6 minutes ago, dlandon said:

I don't see the permission issues above you are taking about.

Copying from above. Basically unraid can only access one of the two hard linked files, and fails the other. I guess it's not necessarily a permission issue, it just presents that way in Plex.

 

Are hard linked files expected to work when they exist in a mounted SMB? I'm getting "head: cannot open 'file' for reading: Invalid argument" on one of the hard links, but not the other.

Link to comment
1 minute ago, nerv said:

Copying from above. Basically unraid can only access one of the two hard linked files, and fails the other. I guess it's not necessarily a permission issue, it just presents that way in Plex.

 

Are hard linked files expected to work when they exist in a mounted SMB? I'm getting "head: cannot open 'file' for reading: Invalid argument" on one of the hard links, but not the other.

They should.  Do you have any special characters in the one that does not?

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.