D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Raspberry Pi File Server

 

On 14/05/16 10:18, Richard Brown wrote:
> Hi All
>
> I want to set up and run a Raspberry Pi as a media server but I would
> like to raid the server as well. The idea is to run a Pi with a drive
> attached and then a second drive copy everything that happens on the
> first one. To give it all a bit more power I would like to connect the
> two together as one.
>
> Is this possible please? Is there a better way to do this please? Any
> ideas please? What do others do please?
>
> Thanks
>
> Rich
>
>
Personally, I tried sharing a USB HDD over ethernet using a R-Pi a
couple of years back, but had to ditch it, as performance was slower
than a drunk sloth. One of the major caveats of the Pi (in my opinion)
is the USB bridge chip that shares the single USB lane on the BCM
processor, but gives you that ethernet port *and* those four USB ports
_off the same single USB lane of the processor_. Hence, if you're
pulling data into, and out-of that single lane at the same time,
performance is worse than lamentable. No amount of adding drives, RAID
or anything else is going to help that.

In the end, I had a Beaglebone Black kicking around for other purposes,
and this has, of course, a physical Ethernet Phy on the processor chip,
hence a physical ethernet port actually running at 100Mbit. Although its
USB silicon has some issues (hotplug being one, sadly) it has been
markedly quicker (for what I want it to do) because there are physically
two separate data lanes that can be used simultaneously.

MJE

-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq