Esiiou
Posts: 5
Joined: Sun Aug 09, 2020 9:06 pm
Location: France

NAS on raspberry pi

Sun Aug 09, 2020 9:32 pm

Hello,

I am trying to do a small NAS with my raspberry pi.
The goal is to connect 5 HDD 3.5 on a single USB.

So I bought 2 cards : 1x JMS578 and 1x JMB575. The first one is an adapter USB->Sata and the last one is an adapter 5xSata -> Sata.
The 5 HDD is connected to the JMB575.
The JMB575 is connected to the JMS578.
The JMS578 is connected to the PC/raspberry pi (USB).

But only one HDD is recognized by the raspberry pi (same issue on Windows 10 and on PC with Debian). The first hdd connected to the JMB575 is recognized and the others are only recognized by the JMB575.

I tried to flash the JMS578 with a lot of firmwares found on internet without success... (exemple : https://wiki.odroid.com/odroid-xu4/soft ... _fw_update)

Any ideas ?

LTolledo
Posts: 3753
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: NAS on raspberry pi

Sun Aug 09, 2020 11:02 pm

am a bit baffled....

can you show us (an image please) these "cards" that you mentioned in your post?
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
butchkemper
Posts: 40
Joined: Sat Jul 22, 2017 8:03 pm
Location: Sachse, Texas USA

Re: NAS on raspberry pi

Mon Aug 10, 2020 1:57 am

Esiiou wrote:
Sun Aug 09, 2020 9:32 pm
Hello,

I am trying to do a small NAS with my raspberry pi.
The goal is to connect 5 HDD 3.5 on a single USB.

So I bought 2 cards : 1x JMS578 and 1x JMB575. The first one is an adapter USB->Sata and the last one is an adapter 5xSata -> Sata.
The 5 HDD is connected to the JMB575.
The JMB575 is connected to the JMS578.
The JMS578 is connected to the PC/raspberry pi (USB).

But only one HDD is recognized by the raspberry pi (same issue on Windows 10 and on PC with Debian). The first hdd connected to the JMB575 is recognized and the others are only recognized by the JMB575.

I tried to flash the JMS578 with a lot of firmwares found on internet without success... (exemple : https://wiki.odroid.com/odroid-xu4/soft ... _fw_update)

Any ideas ?
I looked up the two boards at https://www.jmicron.com/products/list/12 and https://www.jmicron.com/products/list/16 and I found:
  • The JMS578 is a USB to SATA converter used to connect to a single SATA device as shown on the application page.
  • The JMS575 is a SATA to SATA Bridge controller connecting 6 SATA devices to one SATA host.
  • The JMS580 is a USB to SATA bridge controller between USB host and SATA storage device. "The JMS580 can be adopted with other JMicron SATA port multipliers, such as the JMB572, JMB575, JMB390, JMB393 andJMB394toformamedium-sized data storage (with or without RAID) for digital video recorder (DVR) and network video recorder (NVR) surveillance storages."
It appears you need the JSM580 card instead of the JMS578 card.

Butch

ggrats
Posts: 6
Joined: Wed Aug 05, 2020 6:38 pm

Re: NAS on raspberry pi

Mon Aug 10, 2020 4:13 am

J Micon chips were good with USB 2.0, but all of them are pretty trashy with 3.0 and I have never seen any that really work with UAS even with the odroid firmware "fix" (maybe it works with their special stuff, but not anything else)

The best thing you can do is use an asmedia chip, the ASM1153E and ASM1153CM are both fantastic chips they are much better than any of the J micron. I've tested all of them with the pi 4
I noticed you're doing 3.5inch so I don't really have anything to recommend you, if you plan on getting a powered hub and using 2.5inch here are some I can recommend:
https://www.amazon.com/gp/product/B07MHHFJ43/
This one I recommend more because it has a type A to type A cord and an authentic ASM1153E chip, you can easily open the side with 2 screws and see the chip name/number under a microscope (I have done this)

https://www.amazon.com/gp/product/B0716LDKDC/
this one has the better ASM1153CM chip, however it us usb type C to usb type C so you need cables too that can handle the speed, and it is more expensive as well. So not sure it is quite worth it. Not too much of a speed difference on the pi4 but if you have a full gen 2 (usb 3.1) it has good speed.
Note the other version of this with type A does not use the same chip......

Esiiou
Posts: 5
Joined: Sun Aug 09, 2020 9:06 pm
Location: France

Re: NAS on raspberry pi

Mon Aug 10, 2020 9:29 am

butchkemper wrote:
Mon Aug 10, 2020 1:57 am
Esiiou wrote:
Sun Aug 09, 2020 9:32 pm
Hello,

I am trying to do a small NAS with my raspberry pi.
The goal is to connect 5 HDD 3.5 on a single USB.

So I bought 2 cards : 1x JMS578 and 1x JMB575. The first one is an adapter USB->Sata and the last one is an adapter 5xSata -> Sata.
The 5 HDD is connected to the JMB575.
The JMB575 is connected to the JMS578.
The JMS578 is connected to the PC/raspberry pi (USB).

But only one HDD is recognized by the raspberry pi (same issue on Windows 10 and on PC with Debian). The first hdd connected to the JMB575 is recognized and the others are only recognized by the JMB575.

I tried to flash the JMS578 with a lot of firmwares found on internet without success... (exemple : https://wiki.odroid.com/odroid-xu4/soft ... _fw_update)

Any ideas ?
I looked up the two boards at https://www.jmicron.com/products/list/12 and https://www.jmicron.com/products/list/16 and I found:
  • The JMS578 is a USB to SATA converter used to connect to a single SATA device as shown on the application page.
  • The JMS575 is a SATA to SATA Bridge controller connecting 6 SATA devices to one SATA host.
  • The JMS580 is a USB to SATA bridge controller between USB host and SATA storage device. "The JMS580 can be adopted with other JMicron SATA port multipliers, such as the JMB572, JMB575, JMB390, JMB393 andJMB394toformamedium-sized data storage (with or without RAID) for digital video recorder (DVR) and network video recorder (NVR) surveillance storages."
It appears you need the JSM580 card instead of the JMS578 card.

Butch
Thank you for your answer !

I do not understand because on the datasheet of the JMS578 (https://www.jmicron.com/file/download/1 ... +Brief.pdf) we can find that this chip is a bridge controller and on the first page of the datasheet : "Moreover, the JMS578 can combine with JMicron’s SATA port multipliers to construct a data storage
device with multiple bays of HDDs to meet the requirement for large capacity data storage applications."

I will look up about the JMS580.

Esiiou
Posts: 5
Joined: Sun Aug 09, 2020 9:06 pm
Location: France

Re: NAS on raspberry pi

Mon Aug 10, 2020 9:40 am

ggrats wrote:
Mon Aug 10, 2020 4:13 am
J Micon chips were good with USB 2.0, but all of them are pretty trashy with 3.0 and I have never seen any that really work with UAS even with the odroid firmware "fix" (maybe it works with their special stuff, but not anything else)

The best thing you can do is use an asmedia chip, the ASM1153E and ASM1153CM are both fantastic chips they are much better than any of the J micron. I've tested all of them with the pi 4
I noticed you're doing 3.5inch so I don't really have anything to recommend you, if you plan on getting a powered hub and using 2.5inch here are some I can recommend:
https://www.amazon.com/gp/product/B07MHHFJ43/
This one I recommend more because it has a type A to type A cord and an authentic ASM1153E chip, you can easily open the side with 2 screws and see the chip name/number under a microscope (I have done this)

https://www.amazon.com/gp/product/B0716LDKDC/
this one has the better ASM1153CM chip, however it us usb type C to usb type C so you need cables too that can handle the speed, and it is more expensive as well. So not sure it is quite worth it. Not too much of a speed difference on the pi4 but if you have a full gen 2 (usb 3.1) it has good speed.
Note the other version of this with type A does not use the same chip......
Thank you for your answer !

Okay but this two chips are compatible with the JMB575 ? (or if you have a better sata port multiplier !)

For the power, I use an old PC power supply.

User avatar
pi-anazazi
Posts: 776
Joined: Fri Feb 13, 2015 9:22 pm
Location: EU

Re: NAS on raspberry pi

Mon Aug 10, 2020 12:19 pm

As all SATA devices will be connected to a single USB port (hopefully a USB3 at least) there is a clear bottleneck in your design. What is the use case and why do you specifically need 5 HDDs?
Kind regards

anazazi

LTolledo
Posts: 3753
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: NAS on raspberry pi

Mon Aug 10, 2020 12:35 pm

Goal: RPi based NAS
requirement: 5 x 3.5" HDDs

this (or something similar to) the OP needs:
5-bay 3.5in HDD enclosure USB 3.1 front.jpg
5-bay 3.5in HDD enclosure USB 3.1 front.jpg (67.52 KiB) Viewed 343 times
5-bay 3.5in HDD enclosure USB 3.1 backview.jpg
5-bay 3.5in HDD enclosure USB 3.1 backview.jpg (83.1 KiB) Viewed 343 times

or if OP still want to pursue DIY method to make the interface unit... nobody (here) can stop you :mrgreen:
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
pi-anazazi
Posts: 776
Joined: Fri Feb 13, 2015 9:22 pm
Location: EU

Re: NAS on raspberry pi

Mon Aug 10, 2020 3:14 pm

Hmmm, 5x SATA = 5x 3GBit/s (or 6GBit/s), but USB 3.1 gen2 has only 10GBit/s. Still bottleneck, or?

https://en.wikipedia.org/wiki/USB#USB_3.x

A single SATA (3 or 6Gbit/s) with USB3 (5GBit/s) sounds more reasonable to me...
Kind regards

anazazi

Esiiou
Posts: 5
Joined: Sun Aug 09, 2020 9:06 pm
Location: France

Re: NAS on raspberry pi

Mon Aug 10, 2020 7:01 pm

pi-anazazi wrote:
Mon Aug 10, 2020 12:19 pm
As all SATA devices will be connected to a single USB port (hopefully a USB3 at least) there is a clear bottleneck in your design. What is the use case and why do you specifically need 5 HDDs?
Yes I know there is a clear bottleneck in our design, maybe after I will try to use more than one USB but for my usage I did not need lot of speed.
I want to use 5 HDDs for raid 6 maybe and because I have 5 HDDs :lol:

Esiiou
Posts: 5
Joined: Sun Aug 09, 2020 9:06 pm
Location: France

Re: NAS on raspberry pi

Mon Aug 10, 2020 7:02 pm

LTolledo wrote:
Mon Aug 10, 2020 12:35 pm
Goal: RPi based NAS
requirement: 5 x 3.5" HDDs

this (or something similar to) the OP needs:
5-bay 3.5in HDD enclosure USB 3.1 front.jpg
5-bay 3.5in HDD enclosure USB 3.1 backview.jpg


or if OP still want to pursue DIY method to make the interface unit... nobody (here) can stop you :mrgreen:
Yes I prefere the DIY method !

Return to “Networking and servers”