joelkaberg
Posts: 14
Joined: Tue Oct 23, 2012 7:02 am

rpi and usb performance (raid, samba/nfs)

Tue Oct 23, 2012 7:06 am

hello!

im note quite sure im in the right forum, so please forgive me if I posted wrong

Im currently in the makeing of a rpi NAS server and was wondering if anyone got any figures on the setup below, my thoughts was to set it up as;

Code: Select all

rpi usb 2.0 host
		usb 2.0 hub
				2TB 2.0 usb external drive
				2TB 2.0 usb external drive
				2TB 2.0 usb external drive
				2TB 2.0 usb external drive
				2TB 2.0 usb external drive
before I do this I need to know the write/read performances wont go to low. so im wondering if anyone has tried this kind of setup in (software) raid, what write/read speeds you got both internal and over ex. samba/nfs

would really appreciate the input

thanks

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: rpi and usb performance (raid, samba/nfs)

Tue Oct 23, 2012 8:24 am

Given the current situation with USB on the Pi I might be surprised if this works reliably.
Memory in C++ is a leaky abstraction .

joelkaberg
Posts: 14
Joined: Tue Oct 23, 2012 7:02 am

Re: rpi and usb performance (raid, samba/nfs)

Tue Oct 23, 2012 8:27 am

whats the given situation?

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: rpi and usb performance (raid, samba/nfs)

Tue Oct 23, 2012 8:34 am

This will work.

I use 12 USB HDs with LVM/dm-crypt/smb
The limiting factor is cpu and usb speed but 8MBps is fine for most things (multiple HD video streaming) (large backups less so)
You may have to use an older kernel:
http://www.raspberrypi.org/phpBB3/viewt ... 28&t=18155

You need to use powered hubs (2x 7port)
http://elinux.org/Rpi_USB_check-list
the current situation is that the rpi and usb are not so universal (3 or 4 TB drives might not work and some hubs don't work, and having to many hubs won't work)...that last one might have been fixed if you can use the latest kernel.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

User avatar
michele.x
Posts: 72
Joined: Sat Sep 22, 2012 8:15 pm

Re: rpi and usb performance (raid, samba/nfs)

Thu Oct 25, 2012 9:17 am

joelkaberg wrote:hello!

im note quite sure im in the right forum, so please forgive me if I posted wrong

Im currently in the makeing of a rpi NAS server and was wondering if anyone got any figures on the setup below, my thoughts was to set it up as;

would really appreciate the input

thanks
I think the Raspberry Pi isn't the best solution to homebrew a NAS server. I think a fanless Atom board with SATA interfaces, like the Intel D2500HN and a PCI SATA board, will be more performing and reliable for this kind of work.

The USB driver of the Pi is still a bit buggy, so some combination of USB peripherals don't work very well. Moreover the ethernet port is connected via the USB, so will fight with the drives for the bandwidth anyway.

Given the cost of five 2TB drives sata and a case will cost less than five 2TB USB drives anyway, so if you are doing this thing for save some money, check that using mini ITX board with sata will cost less.

Of course, if you're doing it for the challege it's another matter...

Return to “General discussion”