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


dlandon

Recommended Posts

1 minute ago, mgranger said:

I am having a lot of issues with this container. The honeywell component went seem to stay connected

 

2018-04-14 09:06:34 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: 2018-04-14 09:06:34 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: 2018-04-14 09:06:34 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: 2018-04-14 09:52:52 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: ContentTypeError("0, message='Attempt to decode JSON with unexpected mimetype: '",) 2018-04-14 10:06:43 ERROR (SyncWorker_7) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 10:16:45 ERROR (SyncWorker_37) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 10:26:48 ERROR (SyncWorker_34) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 10:30:19 ERROR (SyncWorker_22) [homeassistant.core] Error doing job: Task was destroyed but it is pending! 2018-04-14 10:30:19 ERROR (SyncWorker_22) [homeassistant.core] Error doing job: Task exception was never retrieved RuntimeError: cannot reuse already awaited coroutine 2018-04-14 10:36:47 ERROR (SyncWorker_16) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 10:56:51 ERROR (SyncWorker_11) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 11:06:52 ERROR (SyncWorker_7) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 11:26:56 ERROR (SyncWorker_36) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 11:46:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.dark_sky_precip_intensity is taking over 10 seconds 2018-04-14 11:46:54 WARNING (MainThread) [homeassistant.components.sensor] Updating darksky sensor took longer than the scheduled update interval 0:00:30 2018-04-14 11:47:00 ERROR (SyncWorker_31) [homeassistant.components.climate.honeywell] SomeComfort update failed, Retrying - Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) 2018-04-14 11:51:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.pws_precip_today_in is taking over 10 seconds 2018-04-14 11:51:35 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError() 2018-04-14 14:00:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.pws_feelslike_f is taking over 10 seconds 2018-04-14 14:00:29 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError() 2018-04-14 14:36:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.pws_temp_high_record_f is taking over 10 seconds 2018-04-14 14:36:34 ERROR (MainThread) [homeassistant.components.sensor.wunderground] Error fetching WUnderground data: TimeoutError()

 

It seems you are posting in the wrong thread ;-)

Link to comment
12 hours ago, dlandon said:

The wrong csrf_token is because you have left open a web session on the server.  Close all web sessions with unRAID.

 

Confirmed. Had two browser windows open to the same server, issues a reboot with one, the other started giving the bad token after the reboot until the page was refreshed.

Link to comment

hello i have some issue with plugin on my 4 tb disk

basically it's an "can't read superblock  error msg "

i used to use this drive for backup with user script

 

any advise please ?

 

i copy here the log: 

"

Apr 15 18:52:04 Tower unassigned.devices: Disk with serial 'ST4000DM000-1F2168_Z305RYH3', mountpoint 'ST4000DM000-1F2168_Z305RYH3' is not set to auto mount and will not be mounted...
Apr 15 18:52:16 Tower unassigned.devices: Adding disk '/dev/sdo1'...
Apr 15 18:52:16 Tower unassigned.devices: Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sdo1' '/mnt/disks/ST4000DM000-1F2168_Z305RYH3'
Apr 15 18:52:36 Tower kernel: usb 1-1.6: reset high-speed USB device number 13 using ehci-pci
Apr 15 18:52:36 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:36 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:36 Tower kernel: usb 1-1.6: reset high-speed USB device number 13 using ehci-pci
Apr 15 18:52:36 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:37 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:37 Tower kernel: usb 1-1.6: reset high-speed USB device number 13 using ehci-pci
Apr 15 18:52:37 Tower kernel: usb 1-1.6: device not accepting address 13, error -71
Apr 15 18:52:37 Tower kernel: usb 1-1.6: reset high-speed USB device number 13 using ehci-pci
Apr 15 18:52:38 Tower kernel: usb 1-1.6: device not accepting address 13, error -71
Apr 15 18:52:38 Tower kernel: usb 1-1.6: USB disconnect, device number 13
Apr 15 18:52:38 Tower kernel: XFS (sdo1): SB validate failed with error -5.
Apr 15 18:52:38 Tower unassigned.devices: Mount of '/dev/sdo1' failed. Error message: mount: /mnt/disks/ST4000DM000-1F2168_Z305RYH3: can't read superblock on /dev/sdo1.
Apr 15 18:52:38 Tower unassigned.devices: Partition 'ST4000DM000-1F2168_Z305RYH3' could not be mounted...
Apr 15 18:52:38 Tower kernel: usb 1-1.6: new high-speed USB device number 14 using ehci-pci
Apr 15 18:52:38 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:38 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:38 Tower kernel: usb 1-1.6: new high-speed USB device number 15 using ehci-pci
Apr 15 18:52:38 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:38 Tower kernel: usb 1-1.6: device descriptor read/64, error -71
Apr 15 18:52:38 Tower kernel: usb 1-1-port6: attempt power cycle
Apr 15 18:52:39 Tower kernel: usb 1-1.6: new high-speed USB device number 16 using ehci-pci
Apr 15 18:52:39 Tower kernel: usb 1-1.6: device not accepting address 16, error -71
Apr 15 18:52:40 Tower kernel: usb 1-1.6: new high-speed USB device number 17 using ehci-pci
Apr 15 18:52:40 Tower kernel: usb 1-1.6: device not accepting address 17, error -71
Apr 15 18:52:40 Tower kernel: usb 1-1-port6: unable to enumerate USB device
Apr 15 18:53:42 Tower emhttpd: req (1): csrf_token=****************&title=Log+Information&cmd=%2Fplugins%2Fuser.scripts%2FshowLog.php&arg1=WeeklyBackup
Apr 15 18:53:42 Tower emhttpd: cmd: /usr/local/emhttp/plugins/user.scripts/showLog.php WeeklyBackup
Apr 15 18:54:29 Tower emhttpd: req (2): csrf_token=****************&title=Log+Information&cmd=%2Fplugins%2Fuser.scripts%2FshowLog.php&arg1=WeeklyBackup
Apr 15 18:54:29 Tower emhttpd: cmd: /usr/local/emhttp/plugins/user.scripts/showLog.php WeeklyBackup

 

"

Link to comment

Hello All,

I have just attached a new HDD using "unassigned devices" and have shared it to my network. I can access this new drive, but I am unable to make any changes to the drive. I keep getting a windows notification with "Destinstion Folder Access Denied, You need permission to perform this action". How do I go about getting permission to write?

Link to comment
6 hours ago, chronicvader said:

Hello All,

I have just attached a new HDD using "unassigned devices" and have shared it to my network. I can access this new drive, but I am unable to make any changes to the drive. I keep getting a windows notification with "Destinstion Folder Access Denied, You need permission to perform this action". How do I go about getting permission to write?

Post your diagnostics.

Link to comment

I can't seem to find a way to search this thread. I haven't done much posting recently.

 

I just added this plugin to my 6.5 unRAID server. I am having some issues with a VM that runs my Security Camera Software. I am thinking the issue is the slower write speeds to the array so I am wanting to offload the VM onto a single mount. All seems to be working well with the exception that my Shares in the normal unRAID GUI are not showing up. Any thoughts?

 

image.thumb.png.f015b8ef4866b9dc8f4c0fbfaffec3d8.png

Link to comment
1 minute ago, DDock said:

I can't seem to find a way to search this thread. I haven't done much posting recently.

 

I just added this plugin to my 6.5 unRAID server. I am having some issues with a VM that runs my Security Camera Software. I am thinking the issue is the slower write speeds to the array so I am wanting to offload the VM onto a single mount. All seems to be working well with the exception that my Shares in the normal unRAID GUI are not showing up. Any thoughts?

 

image.thumb.png.f015b8ef4866b9dc8f4c0fbfaffec3d8.png

 

unRAID webUI problems such as this are usually caused by incompatible plugins, adblockers in the browser, or possibly browser cache.

 

Did you take care of everything in these Update Notes when you updated to 6.5?

Link to comment
7 hours ago, chronicvader said:

Thanks dlandon. I have used other HDDs with unassigned devices.

tower-diagnostics-20180419-1802.zip

Read your log:

Apr 18 19:17:00 Tower unassigned.devices: Adding disk '/dev/sdk1'...
Apr 18 19:17:00 Tower unassigned.devices: Mount drive command: /sbin/mount -t ntfs -o auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdk1' '/mnt/disks/Network_Storage_HDD'
Apr 18 19:17:01 Tower ntfs-3g[27708]: Version 2017.3.23 integrated FUSE 27
Apr 18 19:17:01 Tower ntfs-3g[27708]: Mounted /dev/sdk1 (Read-Only, label "Network Storage HDD", NTFS 3.1)
Apr 18 19:17:01 Tower ntfs-3g[27708]: Cmdline options: rw,noatime,nodiratime,nodev,nosuid,umask=000
Apr 18 19:17:01 Tower ntfs-3g[27708]: Mount options: rw,nodiratime,nodev,nosuid,allow_other,nonempty,noatime,ro,default_permissions,fsname=/dev/sdk1,blkdev,blksize=4096
Apr 18 19:17:01 Tower ntfs-3g[27708]: Global ownership and permissions enforced, configuration type 1
Apr 18 19:17:01 Tower unassigned.devices: Mount error: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Falling back to read-only mount because the NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting.) 

The last line indicates the problem.

Link to comment

Hello. I am trying to reduce the load and I/O on my external disk mounter with UD, I am mainly using for storing torrent data, was wondering how to add "noatime" option to reduce read and write, don't know whether edit the fstab or UD has a built-in webUI option, it would be really nice to make the changes to stay persistent after the reboot

 

this is how my fstab file looks like:

 

/dev/disk/by-label/UNRAID  /boot         vfat      auto,rw,exec,noatime,nodiratime,umask=0,shortname=mixed  0  1
/boot/bzmodules            /lib/modules  squashfs  ro,defaults  0  2
/boot/bzfirmware           /lib/firmware squashfs  ro,defaults  0  2
tmpfs                      /dev/shm      tmpfs     defaults     0  0

 

Attached the screenshot of the drive just in case if needed down below:

 

Screenshot_2018-04-22_at_8.19.55_AM.png

 

Would appreciate any input. Thank you!!!

 

 

Edited by pervin_1
Link to comment
2 hours ago, pervin_1 said:

Hello. I am trying to reduce the load and I/O on my external disk mounter with UD, I am mainly using for storing torrent data, was wondering how to add "noatime" option to reduce read and write, don't know whether edit the fstab or UD has a built-in webUI option, it would be really nice to make the changes to stay persistent after the reboot

 

this is how my fstab file looks like:

 

/dev/disk/by-label/UNRAID  /boot         vfat      auto,rw,exec,noatime,nodiratime,umask=0,shortname=mixed  0  1
/boot/bzmodules            /lib/modules  squashfs  ro,defaults  0  2
/boot/bzfirmware           /lib/firmware squashfs  ro,defaults  0  2
tmpfs                      /dev/shm      tmpfs     defaults     0  0

 

Attached the screenshot of the drive just in case if needed down below:

 

Screenshot_2018-04-22_at_8.19.55_AM.png

 

Would appreciate any input. Thank you!!!

 

 

Disks formatted XFS are mounted with "noatime" and "nodiratime".

Link to comment

UD does not support formatting to the encrypted file systems that unRaid now supports.  I would be interested in XFS encrypted formatting specifically.

 

Thanks for making UD support mounting encrypted devices. 

 

Is there any way to format a drive as encrypted in UD?

Link to comment
3 hours ago, tr0910 said:

UD does not support formatting to the encrypted file systems that unRaid now supports.  I would be interested in XFS encrypted formatting specifically.

 

Thanks for making UD support mounting encrypted devices. 

 

Is there any way to format a drive as encrypted in UD?

Not at this time.  UD can only mount one from the array.

Link to comment

Hello

 

I don't know if anyone can help with this but I suspect it might be a bug in the plugin.

 

I just installed the latest version of Unnassigned Devices - dated 2018.04.09 onto Unraid v 6.5.1

 

I did a conversion of a VM disk directly to a new SSD drive, unassigned to the array, and it created the expected partitions. But each of the partitions are listed as 0 bytes. I updated the VM to use the disk and it did work, although slower than I had expected, but the sizes of the partitions are still showing zero.

 

Below is a screenshot of what I see. Any ideas?

 

image.thumb.png.0ab2b3392e8c7f9bb2303672cc7daad6.png

Link to comment
5 hours ago, awpullen said:

Hello

 

I don't know if anyone can help with this but I suspect it might be a bug in the plugin.

 

I just installed the latest version of Unnassigned Devices - dated 2018.04.09 onto Unraid v 6.5.1

 

I did a conversion of a VM disk directly to a new SSD drive, unassigned to the array, and it created the expected partitions. But each of the partitions are listed as 0 bytes. I updated the VM to use the disk and it did work, although slower than I had expected, but the sizes of the partitions are still showing zero.

 

Below is a screenshot of what I see. Any ideas?

 

image.thumb.png.0ab2b3392e8c7f9bb2303672cc7daad6.png

Mount the disk and the sizes of the partitions will show.

Link to comment

I have started using unassigned devices for mounting xfs-encrypted drives.  I am needing to take backups of the Luks Header, as this is recommended for disaster recovery.  If the drive is array mounted I would:

cryptsetup luksHeaderBackup /dev/md1 --header-backup-file /boot/LuksHeaderBackup/SS_2T_1695

But with unassiged devices I get the following:

 

May 2 08:55:39 drChina1 unassigned.devices: Adding disk '/dev/mapper/SS_1695'...
May 2 08:55:41 drChina1 unassigned.devices: Mount drive command: /sbin/mount '/dev/mapper/SS_1695' '/mnt/disks/SS_1695'
May 2 08:55:41 drChina1 kernel: XFS (dm-2): Mounting V5 Filesystem
May 2 08:55:41 drChina1 kernel: XFS (dm-2): Ending clean mount
May 2 08:55:42 drChina1 unassigned.devices: Successfully mounted '/dev/mapper/SS_1695' on '/mnt/disks/SS_1695'.

and referencing as /dev/mapper/SS_1695 just errors out with

 

"Device /dev/mapper/SS_1695 is not a valid LUKS device."

 

Is this not the correct way to reference this drive?

Edited by tr0910
Link to comment
On 5/1/2018 at 4:37 PM, John_M said:

 

What happens when you click the Mount button?

 

 

On 5/1/2018 at 8:15 PM, dlandon said:

Mount the disk and the sizes of the partitions will show.

Thank you both. I guess the simplest solutions are the best, it works fine.

 

I had seen a tutorial where this was not necessary, so maybe that was a version issue of either the plugin or of Unraid itself.

 

Anyway, thanks for your feedback, I am now all set.

Link to comment

Strange behavior for a 4tb disk converted to xfs-encrypted on a different machine and then plugged in and attempted to mount with UD.  No option to rename the device is given and format is the only option available.  It should present a mount option.  This drive was previously formatted xfs and attached via UD so there is some history that may be confusing things.  However after I have forgotten the historical record of it, still no luck mounting it.

 

I have done this exact same process with other drives and had no issue mounting xfs-encrypted.  What might be wrong with this one?  Relevant logs below?

 

May 5 11:14:08 drChina1 kernel: ata7: hard resetting link
May 5 11:14:09 drChina1 kernel: ata7: SATA link down (SStatus 0 SControl 300)
May 5 11:14:09 drChina1 kernel: ata7: limiting SATA link speed to 1.5 Gbps
May 5 11:14:14 drChina1 kernel: ata7: hard resetting link
May 5 11:14:14 drChina1 kernel: ata7: SATA link down (SStatus 0 SControl 310)
May 5 11:14:14 drChina1 kernel: ata7.00: disabled
May 5 11:14:14 drChina1 kernel: ata7: EH complete
May 5 11:14:14 drChina1 kernel: ata7.00: detaching (SCSI 7:0:0:0)
May 5 11:14:14 drChina1 kernel: sd 7:0:0:0: [sdh] Synchronizing SCSI cache
May 5 11:14:14 drChina1 kernel: sd 7:0:0:0: [sdh] Synchronize Cache(10) failed: Result: hostbyte=0x04 driverbyte=0x00
May 5 11:14:14 drChina1 kernel: sd 7:0:0:0: [sdh] Stopping disk
May 5 11:14:14 drChina1 kernel: sd 7:0:0:0: [sdh] Start/Stop Unit failed: Result: hostbyte=0x04 driverbyte=0x00
May 5 11:14:14 drChina1 rc.diskinfo[9417]: SIGHUP received, forcing refresh of disks info.
May 5 11:14:14 drChina1 rc.diskinfo[9417]: SIGHUP received, forcing refresh of disks info.
May 5 11:18:48 drChina1 kernel: ata7: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
May 5 11:18:48 drChina1 kernel: ata7: irq_stat 0x00000040, connection status changed
May 5 11:18:48 drChina1 kernel: ata7: SError: { CommWake DevExch }
May 5 11:18:48 drChina1 kernel: ata7: hard resetting link
May 5 11:18:58 drChina1 kernel: ata7: softreset failed (1st FIS failed)
May 5 11:18:58 drChina1 kernel: ata7: hard resetting link
May 5 11:19:01 drChina1 kernel: ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
May 5 11:19:01 drChina1 kernel: ata7.00: ATA-8: ST4000DM000-1F2168, S30030A6, CC52, max UDMA/133
May 5 11:19:01 drChina1 kernel: ata7.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
May 5 11:19:01 drChina1 kernel: ata7.00: configured for UDMA/133
May 5 11:19:01 drChina1 kernel: ata7: EH complete
May 5 11:19:01 drChina1 kernel: scsi 7:0:0:0: Direct-Access ATA ST4000DM000-1F21 CC52 PQ: 0 ANSI: 5
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: Attached scsi generic sg7 type 0
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: [sdh] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: [sdh] 4096-byte physical blocks
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: [sdh] Write Protect is off
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: [sdh] Mode Sense: 00 3a 00 00
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 5 11:19:01 drChina1 kernel: sd 7:0:0:0: [sdh] Attached SCSI disk
May 5 11:19:01 drChina1 rc.diskinfo[9417]: SIGHUP received, forcing refresh of disks info.
May 5 11:19:01 drChina1 rc.diskinfo[9417]: PHP Warning: Use of undefined constant ID_MODEL - assumed 'ID_MODEL' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 470
May 5 11:19:01 drChina1 rc.diskinfo[9417]: PHP Warning: Use of undefined constant SERIAL_SHORT - assumed 'SERIAL_SHORT' (this will throw an Error in a future version of PHP) in /etc/rc.d/rc.diskinfo on line 470

Here the result of a successful xfs-encrypted mount

May 5 11:37:36 drChina1 unassigned.devices: Adding disk '/dev/mapper/SS_1695'...
May 5 11:37:39 drChina1 unassigned.devices: Mount drive command: /sbin/mount '/dev/mapper/SS_1695' '/mnt/disks/SS_1695'
May 5 11:37:39 drChina1 kernel: XFS (dm-3): Mounting V5 Filesystem
May 5 11:37:39 drChina1 kernel: XFS (dm-3): Ending clean mount
May 5 11:37:39 drChina1 unassigned.devices: Successfully mounted '/dev/mapper/SS_1695' on '/mnt/disks/SS_1695'.
May 5 11:37:39 drChina1 unassigned.devices: Defining share 'SS_1695' with file '/etc/samba/unassigned-shares/SS_1695.conf'
May 5 11:37:39 drChina1 unassigned.devices: Adding share 'SS_1695' to '/boot/config/smb-extra.conf'
May 5 11:37:39 drChina1 unassigned.devices: Reloading Samba configuration...
May 5 11:37:39 drChina1 unassigned.devices: Directory '/mnt/disks/SS_1695' shared successfully.
May 5 11:37:39 drChina1 unassigned.devices: Device '/dev/mapper/SS_1695' script file not found. 'ADD' script not executed.

 

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