Search



Contact Us

Remote Assistance


Powered by TeamViewer

Rate Us!


How did we do? Rate us on WOMO!

Openfiler

I have been playing around with Openfiler for the past few weeks. Basically Openfiler is an open source, customised Linux operating system specifically designed to be a file server, or more specifically, an “Open Source Storage Management Appliance” . It has far more functionality than simple file storage though, it can be an FTP server, a Network Attached Storage (NAS) server, and even an iSCSI SAN if you need one (I used it while testing a VMWare vSphere infrastructure system). It will run on pretty much anything x86/x64 based (min spec 1Ghz processor with 512MB RAM), can interface with a Windows domain and its web based interface is pretty simple to use so anyone looking for a simple and cost effective bulk storage solution should definitely have a look at it.

I had a test server (2x Xeon 2.8, 4GB RAM and 4x200GB SATA drives in RAID 5) to try it on. As I already had hardware RAID, I didnt need to implement software RAID but as it supports software RAID 0,1,5,6 or 10, I could have. One thing that caught me out was a limitation of 4 primary partitions on the drives. Apparently a normal implementation would have the Openfiler system (by default this is 4 partitions) on a single drive or array and it would be separate from the data storage. It is not recommended to have the OS and the data on the same disks as a restoration may be more challenging. As I already had a 4 disk RAID array ready to use, and this was for testing only I just installed to that and therefore I could not use any of my drives for data which kind of defeated the purpose. A reinstallation on the same array but with a manual partition creating an extended fourth partition rather than a primary gave me over 550GB of usage storage. Following the basic installation instructions, I found it relatively simple to create a usable NAS box. I did not add it to a Windows domain but think that it would actually be easier than having to configure the Openfiler device as its own LDAP server. FTP was also pretty easy to get up and running. You dont need to know any Linux at all, the initial installation is graphical (unless you want console) and after the initial installation, all configuration is done via a web browser.

Apparently if you plan to use it for production block level storage (iSCSI, SAN), you apparently should use a second network interface for management although in testing, I have not bothered and simply use it across my network with only minor performance issues. It is actually easier to set up as an iSCSI target than it was for NFS or FTP and is simple to connect to VMWare ESX (although I did need to reboot it after re-mapping LUN’s before ESX could connect to it as an iSCSI target even though it could see it). I also had no problems connecting my Windows 7 laptop to it either using the built in software iSCSI initiator with pretty good performance (30-50MB/s over gigabit ethernet)

To set up openfiler as an iSCSI SAN:
1a. Create Physical volume on a single disk OR
1b. Create RAID volumes on multiple disks and create array
2. Add volumes from #1 into a Volume Group
3. Create an iSCSI volume in the VG from #2
4. Start the “iSCSI target server” service
5. Add a network entry for the client machine (or local subnet if private) at the bottom of “System > Network Setup”
6. Click “iSCSI Targets” on the Volumes page
7. Click “Add” to create a new target.
8. Click “Lun Mapping”
9. Click “Map”
10. Click “Network ACL”
11. Change the combo box for your network to “Allow”.

I am not sure if I would roll this into production just yet but for a backup storage system, or bulk storage of non-critical files (I used to run a 250GB iTunes server at a music publishing company that could definitely benefit from this type of flexible storage), it could be very useful. There are purely commercial alternatives for production use such as Datacore SAN Melody but there is an active userbase of Openfiler which should be able to assist with and commercial support options are available if required.

Posted in: Free Software