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


Recommended Posts

29 minutes ago, neruve said:

But you nailed it! When I removed the preclear plugin it worked as expected and let me format the disk. Now the question is is the incompatibility on UD or preclear?

Don't know.  Preclear adds some logic to UD to remove the preclear script when the X is clicked.  Not sure which has the issue.  If you are not actively preclearing disks, it's best to remove the plugin to prevent any interference.

Link to comment
1 hour ago, dlandon said:

Don't know.  Preclear adds some logic to UD to remove the preclear script when the X is clicked.  Not sure which has the issue.  If you are not actively preclearing disks, it's best to remove the plugin to prevent any interference.

Very strange behavior. Let's be clear, when you @neruve clicked the X button after the partition mount point, nothing happened?

Link to comment
Just now, gfjardim said:

Very strange behavior. Let's be clear, when you @neruve clicked the X button after the partition mount point, nothing happened?

It popped the box up asking to type yes. Then it actually did delete the partition, but then after UD refreshed the partition name was still there at 0b and the option to format never appeared. When I uninstalled preclear disks everything worked as normal.

Link to comment
5 hours ago, neruve said:

It popped the box up asking to type yes. Then it actually did delete the partition, but then after UD refreshed the partition name was still there at 0b and the option to format never appeared. When I uninstalled preclear disks everything worked as normal.

Took a look at both Preclear and UD and this make no sense. Maybe some of the cached information didn't got updated correctly. I found no scenario where Preclear can prevent UD from correctly remove a partition.

Link to comment
7 minutes ago, gfjardim said:

Took a look at both Preclear and UD and this make no sense. Maybe some of the cached information didn't got updated correctly. I found no scenario where Preclear can prevent UD from correctly remove a partition.

I think the issue is not that the partition could not be deleted, it appears it was deleted.  The issue as I understand it is that after deleting the partition, the format button would not show until preclear was deleted.  Background update?

Link to comment
14 minutes ago, dlandon said:

I think the issue is not that the partition could not be deleted, it appears it was deleted.  The issue as I understand it is that after deleting the partition, the format button would not show until preclear was deleted.  Background update?

UDEV rules are reloaded when Preclear is uninstalled, maybe that makes rc.unassigned reload all UDEV info Unassigned Devices caches, fixing the problem.

Link to comment
1 minute ago, gfjardim said:

UDEV rules are reloaded when Preclear is uninstalled, maybe that makes rc.unassigned reload all UDEV info Unassigned Devices caches, fixing the problem.

Is there something UD can do to correct this?  Update UDEV rules?  Haven't done anything with UDEV lately so I don't remember much about it.

Link to comment

@gfjardim Yes, it did indeed delete the partition, however, the partition name was always still there after the delete with a size of 0b and the format button did not appear. After preclear was removed both of those issues were fixed. When you deleted the partition nothing was shown at all when you click the little plus to the left to view the partitions and the format button was available.

 

Also thank you and @dlandon for the quick response and attention in getting everything resolved. It's what makes this community so great!

Link to comment
12 minutes ago, dlandon said:

I'm thinking you've got memory issues.  Try rebooting.  If it comes back test your memory?

I think you and @perhansen might be right.  I've been getting high memory usage lately and I've purchased another 32GB that's waiting to go in once a big processing job finishes in a day or two.  Will report back if all ok afterwards.

 

Thanks

Link to comment

Hi

This week I had to format my usb backup drive.

After that, I mounted the disk and lauch my rsync script. At the end of the backup I wanted to unmounted disk but it's not work. Logs says "Unmount of '/dev/sde2' failed. Error message: umount: /mnt/disks/Seagate_Backup_Plus_Drive: no mount point specified. " while my new drive name is Unraid_Backup.
Can someone help me ?


Thanks for your help

tower-diagnostics-20200222-0756.zip

Edited by deadnote
Link to comment
4 hours ago, deadnote said:

Hi

This week I had to format my usb backup drive.

After that, I mounted the disk and lauch my rsync script. At the end of the backup I wanted to unmounted disk but it's not work. Logs says "Unmount of '/dev/sde2' failed. Error message: umount: /mnt/disks/Seagate_Backup_Plus_Drive: no mount point specified. " while my new drive name is Unraid_Backup.
Can someone help me ?


Thanks for your help

tower-diagnostics-20200222-0756.zip 193.07 kB · 0 downloads

I'm not sure, but I think you removed the drive when it was mounted with the old name, then added it back, renamed it and then tried to unmount?  Or something along those lines.

 

Best thing to do is reboot.

Link to comment
On 2/21/2020 at 11:42 AM, DZMM said:

I think you and @perhansen might be right.  I've been getting high memory usage lately and I've purchased another 32GB that's waiting to go in once a big processing job finishes in a day or two.  Will report back if all ok afterwards.

 

Thanks

rebooted and all is well again - must have been low memory

Link to comment

I've been struggling with UD for weeks; it all started about when we had to remove shares and re-add them due to an update.  About that time I added my two unRAID systems to my domain.  This morning, I noticed that yet again, all of my UD shares were unmounted on both systems and they refused to remount.  I've had this happen before and removing the share and adding it again fixed it.  Today, it refused to add them using their "name" even though "search for servers" brought them up successfully, I added credentials and load shares brought up the share names.  it all *appeared* to work until I tried to mount the shares.  I eventually was able to add them via IP address instead of server name.  Here are some examples:

 

Connecting 2nd unRAID to one of my Windows Server 2019 boxes:  (I removed Preclear in the middle of this thinking it was causing trouble)

Feb 22 09:24:48 Econoline2 unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB2 protocol.
Feb 22 09:24:48 Econoline2 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:24:48 Econoline2 unassigned.devices: SMB2 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:24:48 Econoline2 unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB1 protocol.
Feb 22 09:24:48 Econoline2 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:24:48 Econoline2 unassigned.devices: SMB1 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:24:48 Econoline2 unassigned.devices: Mount of '//MAVERICK/DataStore' failed. Error message: 'mount error: could not resolve address for MAVERICK: Unknown error '.
Feb 22 09:25:10 Econoline2 emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin update preclear.disk.plg
Feb 22 09:25:10 Econoline2 root: plugin: creating: /boot/config/plugins/preclear.disk/preclear.disk-2020.02.17a.txz - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/archive/preclear.disk-2020.02.17a.txz
Feb 22 09:25:11 Econoline2 root: plugin: creating: /boot/config/plugins/preclear.disk/preclear.disk-2020.02.17a.md5 - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/archive/preclear.disk-2020.02.17a.md5
Feb 22 09:25:11 Econoline2 root: plugin: skipping: /boot/readvz already exists
Feb 22 09:25:11 Econoline2 root: plugin: setting: /boot/readvz - mode to 755
Feb 22 09:25:11 Econoline2 root: plugin: running: anonymous
Feb 22 09:25:14 Econoline2 root: plugin: running: anonymous
Feb 22 09:25:14 Econoline2 rc.diskinfo[4676]: killing daemon with PID [45437]
Feb 22 09:25:14 Econoline2 root: plugin: running: anonymous
Feb 22 09:25:52 Econoline2 unassigned.devices: Removing configuration '//MAVERICK/DataStore'.
Feb 22 09:34:35 Econoline2 emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.sh remove preclear.disk.plg
Feb 22 09:34:35 Econoline2 root: plugin: running: anonymous
Feb 22 09:34:36 Econoline2 rc.diskinfo[14939]: killing daemon with PID [4778]
Feb 22 09:35:01 Econoline2 crond[2355]: exit status 127 from user root /etc/rc.d/rc.diskinfo --daemon &> /dev/null
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB3 protocol.
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:35:46 Econoline2 unassigned.devices: SMB3 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB2 protocol.
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:35:46 Econoline2 unassigned.devices: SMB2 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB1 protocol.
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:35:46 Econoline2 unassigned.devices: SMB1 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:35:46 Econoline2 unassigned.devices: Mount of '//MAVERICK/DataStore' failed. Error message: 'mount error: could not resolve address for MAVERICK: Unknown error '.
Feb 22 09:36:01 Econoline2 crond[2355]: exit status 127 from user root /etc/rc.d/rc.diskinfo --daemon &> /dev/null
Feb 22 09:36:16 Econoline2 unassigned.devices: Removing configuration '//MAVERICK/DataStore'.
Feb 22 09:36:46 Econoline2 unassigned.devices: Mount SMB share '//192.168.1.100/DataStore' using SMB3 protocol.
Feb 22 09:36:46 Econoline2 unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.0,credentials='/tmp/unassigned.devices/credentials' '//192.168.1.100/DataStore' '/mnt/disks/192.168.1.100_DataStore'
Feb 22 09:36:46 Econoline2 unassigned.devices: Successfully mounted '//192.168.1.100/DataStore' on '/mnt/disks/192.168.1.100_DataStore'.
Feb 22 09:36:46 Econoline2 unassigned.devices: Adding SMB share '192.168.1.100_DataStore'.'
Feb 22 09:37:01 Econoline2 crond[2355]: exit status 127 from user root /etc/rc.d/rc.diskinfo --daemon &> /dev/null
Feb 22 09:38:01 Econoline2 crond[2355]: exit status 127 from user root /etc/rc.d/rc.diskinfo --daemon &> /dev/null
Feb 22 09:39:01 Econoline2 crond[2355]: exit status 127 from user root /etc/rc.d/rc.diskinfo --daemon &> /dev/null

 

Here's connecting unRAID #2 to unRAID #1:

 

Feb 22 09:26:19 Econoline unassigned.devices: Mount SMB share '//ECONOLINE2/TorrentStuff' using SMB3 protocol.
Feb 22 09:26:19 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.0,credentials='/tmp/unassigned.devices/credentials' '//ECONOLINE2/TorrentStuff' '/mnt/disks/ECONOLINE2_TorrentStuff'
Feb 22 09:26:19 Econoline unassigned.devices: SMB3 mount failed: mount error: could not resolve address for ECONOLINE2: Unknown error .
Feb 22 09:26:19 Econoline unassigned.devices: Mount SMB share '//ECONOLINE2/TorrentStuff' using SMB2 protocol.
Feb 22 09:26:19 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials' '//ECONOLINE2/TorrentStuff' '/mnt/disks/ECONOLINE2_TorrentStuff'
Feb 22 09:26:19 Econoline unassigned.devices: SMB2 mount failed: mount error: could not resolve address for ECONOLINE2: Unknown error .
Feb 22 09:26:19 Econoline unassigned.devices: Mount SMB share '//ECONOLINE2/TorrentStuff' using SMB1 protocol.
Feb 22 09:26:19 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials' '//ECONOLINE2/TorrentStuff' '/mnt/disks/ECONOLINE2_TorrentStuff'
Feb 22 09:26:19 Econoline unassigned.devices: SMB1 mount failed: mount error: could not resolve address for ECONOLINE2: Unknown error .
Feb 22 09:26:19 Econoline unassigned.devices: Mount of '//ECONOLINE2/TorrentStuff' failed. Error message: 'mount error: could not resolve address for ECONOLINE2: Unknown error '.
Feb 22 09:27:06 Econoline unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB3 protocol.
Feb 22 09:27:06 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:27:06 Econoline unassigned.devices: SMB3 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:27:06 Econoline unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB2 protocol.
Feb 22 09:27:06 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:27:06 Econoline unassigned.devices: SMB2 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:27:06 Econoline unassigned.devices: Mount SMB share '//MAVERICK/DataStore' using SMB1 protocol.
Feb 22 09:27:06 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials' '//MAVERICK/DataStore' '/mnt/disks/MAVERICK_DataStore'
Feb 22 09:27:06 Econoline unassigned.devices: SMB1 mount failed: mount error: could not resolve address for MAVERICK: Unknown error .
Feb 22 09:27:06 Econoline unassigned.devices: Mount of '//MAVERICK/DataStore' failed. Error message: 'mount error: could not resolve address for MAVERICK: Unknown error '.
Feb 22 09:48:22 Econoline unassigned.devices: Mount SMB share '//ECONOLINE2/TorrentStuff' using SMB3 protocol.
Feb 22 09:48:22 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.0,credentials='/tmp/unassigned.devices/credentials' '//ECONOLINE2/TorrentStuff' '/mnt/disks/ECONOLINE2_TorrentStuff'
Feb 22 09:48:22 Econoline unassigned.devices: SMB3 mount failed: mount error: could not resolve address for ECONOLINE2: Unknown error .
Feb 22 09:48:22 Econoline unassigned.devices: Mount SMB share '//ECONOLINE2/TorrentStuff' using SMB2 protocol.
Feb 22 09:48:22 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=2.0,credentials='/tmp/unassigned.devices/credentials' '//ECONOLINE2/TorrentStuff' '/mnt/disks/ECONOLINE2_TorrentStuff'
Feb 22 09:48:22 Econoline unassigned.devices: SMB2 mount failed: mount error: could not resolve address for ECONOLINE2: Unknown error .
Feb 22 09:48:22 Econoline unassigned.devices: Mount SMB share '//ECONOLINE2/TorrentStuff' using SMB1 protocol.
Feb 22 09:48:22 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials' '//ECONOLINE2/TorrentStuff' '/mnt/disks/ECONOLINE2_TorrentStuff'
Feb 22 09:48:22 Econoline unassigned.devices: SMB1 mount failed: mount error: could not resolve address for ECONOLINE2: Unknown error .
Feb 22 09:48:22 Econoline unassigned.devices: Mount of '//ECONOLINE2/TorrentStuff' failed. Error message: 'mount error: could not resolve address for ECONOLINE2: Unknown error '.
Feb 22 09:49:09 Econoline unassigned.devices: Removing configuration '//ECONOLINE2/TorrentStuff'.
Feb 22 09:50:41 Econoline unassigned.devices: Removing Remote SMB/NFS share '//192.168.1.225/TorrentStuff'...
Feb 22 09:50:41 Econoline unassigned.devices: Unmounting Remote SMB/NFS Share '//192.168.1.225/TorrentStuff'...
Feb 22 09:50:41 Econoline unassigned.devices: Unmounting '//192.168.1.225/TorrentStuff'...
Feb 22 09:50:41 Econoline unassigned.devices: Unmount cmd: /sbin/umount -t cifs '//192.168.1.225/TorrentStuff' 2>&1
Feb 22 09:50:41 Econoline unassigned.devices: Successfully unmounted '//192.168.1.225/TorrentStuff'
Feb 22 09:50:41 Econoline unassigned.devices: Share '//192.168.1.225/TorrentStuff' unmount successfull.
Feb 22 09:50:53 Econoline unassigned.devices: Mount SMB share '//192.168.1.225/TorrentStuff' using SMB3 protocol.
Feb 22 09:50:53 Econoline unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=3.0,credentials='/tmp/unassigned.devices/credentials' '//192.168.1.225/TorrentStuff' '/mnt/disks/192.168.1.225_TorrentStuff'
Feb 22 09:50:53 Econoline unassigned.devices: Successfully mounted '//192.168.1.225/TorrentStuff' on '/mnt/disks/192.168.1.225_TorrentStuff'.
Feb 22 09:50:53 Econoline unassigned.devices: Adding SMB share '192.168.1.225_TorrentStuff'.'

 

I just don't understand what is going on.  What am I doing wrong?

 

Link to comment

Hello.


I just added a 500GB SATA SSD to UD, and cannot format it.  I turned Destructive mode on, and the only button available is Mount.  It does successfully mount, but I can't seem to format it as the Format button never shows up.

 

UD.thumb.PNG.fa0fa65f4bb57dd32b6d474ac291ffa0.PNG

 

I initially tried Preclearing it (I knew I should try that with SSDs, but I couldn't think of anything else to try).  I then thought it was because it has a bunch of Proxmox partitions on it, so I tried deleting those.  That didn't work, and after I did that it wouldn't even mount.

 

So then I pulled it from the server and hooked it up to another machine and formatted it NTFS, and that's where I'm at now.  I'd like to format it as XFS, but can't figure out how to do that.

 

It's an older generation drive, that supports TRIM, but not "Deterministic read" if that helps.


Any help would be appreciated.

Link to comment

Have UD setup and its been running fine for months and months, however had a power cut and lost power to unraid and restarted.

 

However the remote SMB shares are not mounting any more, either automatically or clicking on mount.

 

I tried to add another, UnRaid found my server, the username and password worked it could load the list of shares but then it would not load that drive either.

 

I am update to day, there is nothing showing in the log window on the UD section of the dashboard.


Can anyone point me in a direction to look to resolve this

 

Thanks


Kimbie

Link to comment
16 minutes ago, Kimbie said:

Have UD setup and its been running fine for months and months, however had a power cut and lost power to unraid and restarted.

 

However the remote SMB shares are not mounting any more, either automatically or clicking on mount.

 

I tried to add another, UnRaid found my server, the username and password worked it could load the list of shares but then it would not load that drive either.

 

I am update to day, there is nothing showing in the log window on the UD section of the dashboard.


Can anyone point me in a direction to look to resolve this

 

Thanks


Kimbie

The SMB passwords are now encrypted.  You probably just updated UD and that breaks the SMB mounts.  You will have to remove them and recreate them.  You also need to be careful of passwords with special characters.

Link to comment
28 minutes ago, dlandon said:

The SMB passwords are now encrypted.  You probably just updated UD and that breaks the SMB mounts.  You will have to remove them and recreate them.  You also need to be careful of passwords with special characters.

 

Hi

 

Thanks I had to remove all my connections and redo them, only thing found annoying was when readded put folders in upper case so had to change my docker assignments but working now

 

Thanks

 

Link to comment
  • trurl pinned this topic

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.