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


Recommended Posts

USB is known for being flaky and randomly disconnecting. Normally it is not an issue since it just reconnects it almost instantly with normal USB devices. Bit different with things like hard drives and such.

 

My guess is that the USB is just disconnecting and that is causing your trouble.

 

To fix it, first thing I would do is a new cable and try a different USB port. This will sort it out most of the time if it is not a hardware issue.

Link to comment

I had a new 12TB disk (attached via USB) fail on preclear twice now.

I am on Unraid 6.9.0-beta25 with Unassigned Devices 2020.07.26b (Plus 2020.05.22). I also tried on Unraid 6.8.3 before upgrading to the new beta.

Here is the disk log which is showing errors that I do not understand. Furthermore the errors seems to happen earlier before the webui notified me that the preclear had failed.

I have precleared other USB disk drives multiple times before (> 6 months). However recently (< 1-2 months) I am having problems with other disks attached via USB (causing docker/system hangs and other nasty things)
 


Jul 29 19:43:31 MasterTower kernel: sd 1:0:0:0: [sdb] 1465081856 512-byte logical blocks: (750 GB/699 GiB)
Jul 29 19:43:31 MasterTower kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jul 29 19:43:31 MasterTower kernel: sd 1:0:0:0: [sdb] Mode Sense: 47 00 10 08
Jul 29 19:43:31 MasterTower kernel: sd 1:0:0:0: [sdb] No Caching mode page found
Jul 29 19:43:31 MasterTower kernel: sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jul 29 19:43:31 MasterTower kernel: sdb: sdb1
Jul 29 19:43:31 MasterTower kernel: sd 1:0:0:0: [sdb] Attached SCSI disk
Jul 29 19:43:31 MasterTower kernel: BTRFS: device label cache1 devid 2 transid 9272 /dev/sdb1 scanned by udevd (1339)
Jul 29 19:44:13 MasterTower emhttpd: WD_Elements_25A3_574D41553430303136323237-0:0 (sdb) 512 1465081856
Jul 29 19:48:38 MasterTower kernel: sd 1:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00 cmd_age=0s
Jul 29 19:48:38 MasterTower kernel: sd 1:0:0:0: [sdb] tag#0 CDB: opcode=0x28 28 00 00 00 00 00 00 00 20 00
Jul 29 19:48:38 MasterTower kernel: blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
Jul 29 19:48:38 MasterTower kernel: blk_update_request: I/O error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Jul 29 19:48:38 MasterTower kernel: Buffer I/O error on dev sdb, logical block 0, async page read
Jul 30 17:18:01 MasterTower kernel: sd 1:0:0:0: [sdb] Spinning up disk...
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] 23437705216 512-byte logical blocks: (12.0 TB/10.9 TiB)
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] 4096-byte physical blocks
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] Mode Sense: 47 00 10 08
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] No Caching mode page found
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jul 30 17:18:18 MasterTower kernel: sdb: sdb1
Jul 30 17:18:18 MasterTower kernel: sd 1:0:0:0: [sdb] Attached SCSI disk

 

Edited by ZipsServer
more info
Link to comment

First step is to try another USB port and cable if possible.

 

If that is not possible and you plan to shuck that drive anyways, might as well shuck it now and run the pre-clear on a sata port. You can shuck those drives pretty easy without damaging them, allowing you to put it back together if you need to return it.

 

The trick is to slide the outside case off the cage and not pry it off. Look up some videos on youtube if needed.

Link to comment

I should have mentioned that I already tried another USB port (one integrated on the MB and one plugged in to the MB via an adapter)

I also do not have any SATA ports free. I only have 14 slots and they are all filled. Really need to upgrade to a new case/SAS backplane. (That is also why I am running three other drives via USB ports)

Link to comment

ouch, you are in a touch spot.

 

I have had pretty good luck with USB to 3.5" docks but I only use them for backups, never had an issue with them but then I also generally only use them for short periods for backups.

 

One thing I know is that unless you have a fan blowing on the external drives, they can easily get very hot and that could lead to issues. I have  a 120mm fan connected to a USB port with an adapter off ebay that works great at keeping temps under control and it is quite due to only being run at 5v.

Edited by TexasUnraid
Link to comment
3 hours ago, Phoenix Down said:

Mount button is grayed out and "Pass Thru" column (and most every column) is just "-". I suppose I need to have a MicroSD card inserted to activate the Pass Thru option?

Setting pass through will not do anything more than what you already have.

  • Thanks 1
Link to comment

Is the encryption done through Disk Utility on Mac OS in the format Mac OS Extended (Journaled, Encrypted) supported? When mounting the disk the encrypted partition won't mount, but I also can't use the Set Encrypted Disk Password to select the disk and enter the Disk Password. If not what is the recommended way to encrypt a drive for use in Unraid and Mac OS?

Link to comment
9 hours ago, Moniker01 said:

Is the encryption done through Disk Utility on Mac OS in the format Mac OS Extended (Journaled, Encrypted) supported?

I doubt it.  Unraid encryption uses Linux Luks encryption.  I doubt Mac OS will support that and vice versa.

Link to comment

Ok so I removed the encryption. Now I get an error when running an rsync:

rsync: write failed on "/mnt/disks/Drive": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(374) [receiver=3.1.3]

The drive is an empty 1TB 2.5 inch SATA HD connected via a USB to SATA adapter. No matter what file size I try and transfer I get the error.

Link to comment

I'm away from my network right now, and had someone send me the screenshot, so while in the image the drive isn't mounted, when I was running rsync, both partitions were mounted. EFI had something like 11MB used of 212MB and the other about 600MB out of 1TB.

Upload.jpg

Edited by Moniker01
Add info
Link to comment
38 minutes ago, dlandon said:

Which partition are you trying to copy files to?

This is neither of those partitions.  One is 'EFI' the other is a disk serial number.

Apologies, it was the one with the serial number but in order to condense, I replaced the serial number with "drive"

Here is an image with the drive mounted.

Image 8-5-20 at 8.47 AM.jpeg

Link to comment
28 minutes ago, Moniker01 said:

Apologies, it was the one with the serial number but in order to condense, I replaced the serial number with "drive"

Here is an image with the drive mounted.

So are you saying that you edited the error message from rsync that you posted earlier and condensed that error message by replacing the serial number with "Drive"?

 

Or are you saying that you think you have successfully changed the mount name to "Drive"?

 

What do you get from the command line with this?

ls -lah /mnt/disks

 

 

Link to comment
8 minutes ago, Moniker01 said:

/mnt/disks/APPLE_HDD_HTS_541010A9E662_JD8002EZOXX3TD

The destination is /mnt/disks/APPLE_HDD_HTS_541010A9E662_JD8002EZOXX3TD-part2.

 

As I said earlier, change the mount point of the second partition to a meaningful name and use that as the destination.

Edited by dlandon
Link to comment
On 8/5/2020 at 10:12 AM, dlandon said:

The destination is /mnt/disks/APPLE_HDD_HTS_541010A9E662_JD8002EZOXX3TD-part2.

 

As I said earlier, change the mount point of the second partition to a meaningful name and use that as the destination.

Thanks for your help. I'm still having issues, but I'm pretty busy with other stuff right nw, so if I have any more issues, I'll ask them in a few days

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.