Experiences using USB HDD's in array?


_jonte

Recommended Posts

Hi,

Any experience using USB HDD drives in your arrays?

Problems, limitations, generally bad idea, excellent idea, etc..?

 

My mini-ITX board only has four SATA ports, used by three SSD's and one 2TB HDD. Plus one 2TB USB HDD connected as an unassigned device for media storage. 

So my "array" consist of one old 2TB HDD and no parity drive... (yeah, got backups)

No free PCI-slot.

 

Stuck with two options?

1: Remove the oldest SSD (60GB) for an extra HDD. Still limited to only two drives though. 

2: Get another 2TB USB HDD and use both for array, with the 2TB SATA as parity.

 

What would you do?

 

Link to comment

Sure it is not a good idea, curently I have an unRAID run on QNAP HW, it haven't PCIe for add-on.

Due to I want utilize it, so I add a cheap 5 bay USB enclosure (less then USD 100). In first, it have many problem, always reset/disconnect ( even test on a Windows PC ), can't read SMART etc ...

Finally, test/try and search on Internet almost 2 months, I got a solution by changing (1) Encloseure firmware, (2) Add a VIA USB hub between them, then it work stable.

 

BTW, it still have limitation,

(1) Don't let unRAID spin-down the HDD in enclosure, the disks will spin-up after few secord, and may cause the enclosure reset.

(2) Total BW will be ~300MB/s, that means if connect with 5 HDD, parity or disk check will got 60MB/s for all array disks.

(3) Disk Identification not be usual, i.e. last 3 disk in enclosure. So change disk or slot location, you need remove/add them again in array.

 

Anyway, this is my case, different HW will got different result.

 

2.png

Edited by Benson
Link to comment

Thanks @Benson!

Sounds like you have been pretty unfortunate. Do you think much of your problems are caused by "cheap" hdd-enclosures? Or do you think they are more software related?

Have you tried using any of the drives as an unassigned device, and did you experience the same issues then?

I'm asking because my USB-drive works perfect as unassigned ntfs drive. Smart works e.g., and I have not had any issues when the drive identification has changed.

I will have to check whether the disk spins down properly or not. 

Disk speed are not very critical for me, but 60MB/s total sounds very slow! Perhaps because you use an USB hub?

Link to comment
15 hours ago, trurl said:

Actually, USB drives in array or cache has been supported since 6.2b18

I don't think a lot of people have tried it though.

Yeah, haven't found anything searching the forums. 

Any thoughts to whether it's decent solution, or generally a bad setup?

Link to comment

I did some limited testing, it worked, but more than one disk on the same USB controller was noticeably slow, so if your board has a two USB 3.0 controllers you should be OK with 2 disks, if they share the same controller you'll probably notice slowdowns during parity check/disk rebuilds.

Edited by johnnie.black
Link to comment
24 minutes ago, johnnie.black said:

I did some limited testing, it worked, but more than one disk on the same USB controller was noticeably slow, so if your board has a two USB 3.0 controllers you should be OK with 2 disks, if they share the same controller you'll probably notice slowdowns during parity check/disk rebuilds.

There is only one USB entry listed under PCI-devices, so only one USB controller then?

However the USB 3.1 is 5 Gbps, while SATA is 6 Gbps. I'm thinking 2.5Gbps (~300MB/s) per drive would be good enough? 

Do you have full 5Gbps "Superspeed" on your USB controller?

 

Edited by _jonte
Link to comment
1 minute ago, _jonte said:

USB 3.1 is 5 Gbps

 

Yes, but at least in my tests it didn't handle concurrent access well (I tested on USB 3.0), much slower than half the speed with a single device.

 

Also max theoretical bandwidth and real world speeds are always different, but for me with USB 3.0 they were much different, in my tests with a single SSD speed was anywhere from 150MB/s to 250MB/s max depending on the USB controller and the SATA-to-USB adapter used.

Link to comment
2 minutes ago, johnnie.black said:

 

Yes, but at least in my tests it didn't handle concurrent access well (I tested on USB 3.0), much slower than half the speed with a single device.

 

Also max theoretical bandwidth and real world speeds are always different, but for me with USB 3.0 they were much different, in my tests with a single SSD speed was anywhere from 150MB/s to 250MB/s max depending on the USB controller and the SATA-to-USB adapter used.

Thats true.. I will have to do some research on that. Perhaps USB 3.1 handles it better.

Did you notice any functionality/features missing compared to SATA disks?

Link to comment

If your USB-drive works perfect as unassigned ntfs drive ( in fact no matter what FS is ), I'm sure this won't got problem be an array member.

During 2 months troubleshoot, I found most 2+ bays enclosure also got same problem, always crash / reset, the issue relate to thier chipset solution - Jmicron.

There are hard to found other chipset solution for 2+ bays enclosure.

The hub haven't slow down the speed, it is 1-to-1, if without it the enclosure will reset all time during mass read/write.

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