20 posts
by greenfox » Fri Oct 07, 2011 3:11 pm
Would it be possible for Raspberry Pi to run FreeNas software so budget Nas boxes could be produced???
Any info would be helpful.
Posts: 1
Joined: Fri Oct 07, 2011 2:01 pm
by WASD » Fri Oct 07, 2011 3:20 pm
I\'ve never heard of it, but I don\'t see why not. It\'s open source.
I\'m intending to use my R-pi as some kind of NAS. Not decided which software to use yet.
Posts: 48
Joined: Sat Sep 10, 2011 8:28 pm
by andyfrommk » Fri Oct 07, 2011 3:55 pm
You could not get ZFS working on the R-Pi
ZFS needs at least 2 gigabytes to work properly but with an ordinary filesystem it should work
Posts: 7
Joined: Sun Aug 21, 2011 11:43 am
by obarthelemy » Fri Oct 07, 2011 5:18 pm
Yes, you can use the Pi as a NAS server.

But not FreeNAS per se: FreeNAS is built on a flavour of BSD, not Linux, and as far as I know, no ports of any *BSD in general, nor FreeNAS in particular, are planned.

So you\'ll have to build your NAS starting from scratch, from a regular Linux distro which is a little more work. Also, the Pi does not have very good I/O (everything goes through a single USB2 port, even on the model B), so don\'t expect high performance nor high capacity. Anything beyond 1 disk (USB2 only) and 2-3 users will be very iffy.

There are a few topics about it on this forum already... Things will progress once we have actual hardware in our hands ^^
Posts: 1399
Joined: Tue Aug 09, 2011 10:53 pm
by bugmenot3 » Wed Aug 15, 2012 5:16 pm
Please, the do-it-all-yourself is not helpful at all and is not a solution. There are two well known software NAS solutions out there, one is the Synology DSM, that is based on linux, and the FreeNAS that is based on BSD. If none of them can be run on the Raspberry Pi, which one could, if existent? Will someday someone release an usable software or will remain abandoned?
Posts: 39
Joined: Wed Aug 15, 2012 12:27 pm
by ghans » Wed Aug 15, 2012 9:10 pm
Both are OSS - there is no "somebody" .
Either someone ports it because he is bored or alturistic or whatever - or you PAY somebody to port it.

The foundation and distributors have decided to support the Linux kernel and currently favour the Raspbian distro.
If you look closely you'll see that they only run the CDN, some mirrors and the kernel repo (and do bugfixing).
Additionally , they seem to be interested to give us Android.

Everything else is left to us.

I rembember that "somebody" was already porting a BSD flavour.
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere
Posts: 7203
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by bredman » Thu Aug 16, 2012 8:38 am
You can build a standard Linux NAS on top of Debian or Raspbian by using the instructions at

This instruction is based on Samba. You should be able to get approx 4MB/sec, so this is probably not fast enough to stream HD video.
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm
by Ninkul » Fri Aug 17, 2012 3:47 am
bredman wrote:This instruction is based on Samba. You should be able to get approx 4MB/sec, so this is probably not fast enough to stream HD video.

You'll only be able to get 4MByte/sec if your drives are formatted as NTFS. NTFS has a massive overhead on the Pi's tiny CPU.

Running at a safe overclock of 800mHz I on ext4 I'm able to hit maximum network throughput receiving data on the Pi however I was only able to hit about 6~7MByte/sec transmitting from the Pi.

I'm using Raspbian at the moment and using SMB at 900mHz with the cutdown kernel and an ext4 formatted USB HDD. This lets me hit max throughput receiving on the Pi and hitting about 8.4MByte/sec transmitting.

Using vsftpd instead of SMB gave me about 10% more transmission speed (only tested it with stock clocks and kernel).
Posts: 3
Joined: Wed Aug 08, 2012 4:52 am
by bkindel » Fri Aug 31, 2012 11:28 pm
I am a longtime user of FreeNAS (and am very happy with it). I am no linux guru, but have been able to get everything (and keep everything) setup and running. The original author of FreeNAS has started a new project that is linux based. Take a look here:

I have had it running (just for test purposes) for a little while, and it seems to be fairly stable. I would think that raspberry pi + open media vault would be a nice NAS solution. I hope this is helpful.
Posts: 1
Joined: Fri Aug 31, 2012 11:21 pm
by nedjeffery » Mon Sep 10, 2012 2:08 am
I have configured a NAS solution with my pi that is pretty straight forward. But performance is not great. I'm using archlinux running nothing but a telnet server (so i can get access) and Samba. I have a 2x 1TB usb drives with a couple of share folders on each.

Setup is fairly simple, but not plug and play. You'll need to create the mount points, configure the fstab file to mount the drives, setup your remote access server (ssh prefered, but i was too lazy), setup your samba server, and configure the share folders. I'm fairly new at this, but I found all the information I needed online quick and easy. Transfer rate is averaging about 2MB/s which is terrible! so I suggest using it for long tern storage only. But it does the trick.
Posts: 1
Joined: Mon Sep 10, 2012 12:03 am
by mavric200 » Tue Feb 19, 2013 1:56 am
I've been using raspbmc as a improtu server of sorts, powered usb hub, and several laptop sized drives for storage of movies and music. Total power consumption is around 16 watts. Works well under smb, windows sees it, and I can stream perfectly from it. Transferring files however is painfully slow. About 2 mb/s throughput.

ssd drives would provide the perfect low power solution for this, however are quite expensive for now. Anyways, I'm sure someone will be porting freenas over to the arm architecture soon, if not already.
Posts: 1
Joined: Tue Feb 19, 2013 1:52 am
by bucker » Fri May 31, 2013 12:28 am
Im getting around 7MB/s with my Pi on smb file transfer to win7. Streaming Works fine even to 1080p movies (w/o DTS audio)
Write speed is around 3MB/s
Winning is for losers.
Raspberry Pi Model B / B+ / B2
User avatar
Posts: 97
Joined: Thu May 23, 2013 4:33 pm
Location: Uberlandia, Brazil
by stevech » Fri May 31, 2013 3:20 am
To slow for me
Posts: 144
Joined: Sun Jul 15, 2012 11:53 pm
by DonFromCanada » Tue Dec 10, 2013 4:58 pm
How about running xbmc with a large externally powered USB drive? Would it provide enough throughput to display HD content? I'm getting away from the NAS question a bit, but I was curious about performance through the USB port.

Wonder how much more would be required to create an Rpi board with usb3?
Posts: 1
Joined: Mon Dec 09, 2013 12:12 am
by ghans » Wed Dec 11, 2013 9:14 am
It should be enough. Most people experience problems when
using the Pi as NAS (and try staying Windows-compatible at
all costs).

• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere
Posts: 7203
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by beeth9 » Mon Nov 03, 2014 3:44 pm
I'm trying out the quad core hummingbird box. It comes with e-sata II but only 1 port though. :)
Posts: 1
Joined: Mon Nov 03, 2014 3:42 pm
by boudreaupaul » Mon Jan 05, 2015 11:10 pm
I've played with NAS.

End result.

Can it be done? yes

Is it performance challenged? Yes

Given that. My setup is with 2 Pi's

1 is running Samba + Owncloud. Rasp B. Headless. I like having web access to my media via Owncloud. 4 USB HDDs. 1 x 2TB, 2 x 3TB, 1 x 4TB. Total = 12TB. Using LVM to put them all in 1 large virtual volume. All are desktop 3.5" external USB, self powered HDD connected via a USB hub.

1 is running OpenElect XBMC. Rasp B+. No external Drives

This config works but is very slow.

Again... it works... it is performance challenged.
Posts: 2
Joined: Mon Jan 05, 2015 11:02 pm
by skunkopaat » Tue Jan 06, 2015 10:15 am
It may sound like a wierd solution, but this kinda works like a NAS

I installed Raspbian, wich has SSH and FTP allready enabled/included in it.

I installed Apache for http connections but i did not put an 'index.html' file in /var/www so when I put file in a random file, it will show an index page with content instead of a webpage when i go to the designated IP (actually I linked to it. If you go there you will see some maps and files, just like a NAS would show)

So when i want to upload something to my ''NAS'' or "Cloud", I simply open my FTP program of choice (I use FileZilla because it had a very user friendly interface) and put files in /var/www/ then it will be available for everyone that will go to the designated IP.

You can make folders with names (eg: a folder with your moms name and a folder with your best friends name) and put a file named .htacces in it. With that you can make users with passwords so only the ones with the credentials can login to that folder. Google htacces for more info.

If a file or folder is not accessible, you can SSH into your pi with Putty or a SSH client of choice to chmod the folders/files.

I hope this will help you with what you want!

Posts: 2
Joined: Tue Jan 06, 2015 10:00 am
by boudreaupaul » Tue Jan 06, 2015 9:21 pm
i like the simplicity of your solution. I would guess it's performance is better than my solution since my solution has so much more overhead. Owncloud+Samba

one of the things i'm wondering about on your solution. How would this work for XBMC? I think XBMC has an option for FTP server... so it probably is a matter of playing around with it. You see, the main purpose (but not the only purpose) for my nas setup is to stream video, image and audio files to my TV's around my house. I've chosen to work with Pi because it seemed fun and also, cheap. I understood from the beginning that performance would be the sacrifice so it's not as big a deal for me as for most.

Do you use your nas for streaming media? What is your solution for that end if you do?
Posts: 2
Joined: Mon Jan 05, 2015 11:02 pm
by skunkopaat » Fri May 29, 2015 6:58 am
I don't stream my media from my pi but it should be straightforward.

If you ftp to the pi with XBMC, you can access a folder wich has no .htaccess in it so you would have access to the file, therefore can play it over your network with not much overhead.

BUT if you ftp or ssh into your pi external (from another network) it is not as safe anymore because there are no credentials needed to access the folder.

Sure you can leave the pi in your own network, with only internal access. (you might want to setup your router's VPN if it has one, so outside connections will be save)

My apologies for the late reaction, I did not had notifications on.

Edit: does not work anymore since it is internal only!
Posts: 2
Joined: Tue Jan 06, 2015 10:00 am