Network Attached Storage (NAS) is a really useful tools these days. They don't just host files for share in local network, but can also act as servers for a number of functions. I recently needed to build a NAS.
A NAS is an always on device, so the power consumption is more a concern than the performance horse power. I happened to have an Atom based Intel motherboard that is underpowered for desktop use, but is perfect for this application. The board is Intel D525MW that has only two SATA ports. That's not enough. Fortunately the board has a PCI slot. So I got a PCI SATA board for the other disks need to be connected. The board I have is a SYBA 4-port SATA II (SY-PCI40010), and it supports hardware RAID. And here comes the problems.
Intel D525MW RAID Problem
The first problem is that I found that the computer does not boot up any more. After some time spent on elimination, I finally narrowed it down to the board - it would not boot when the board is plugged in. I search around and finally find that RAID was a problem for the Intel D525MW board I have. After an update of the BIOS of the board, everything works perfectly.
Flash the RAID Board
The PCI RAID board is using Silicon Image SiI3124 chip. This is an older chip that only supports RAID up to about 3T. That's not good enough. I know that before buying it. The chip on the board can be flashed to make it non-RAID, since I am going to use the software RAID anyway. Silicon Image website was pretty bad, and there is nothing on the support page (and it plain did not work). Searching up and down the web, the flashing tool (updflash.exe) and the firmware can be found for the SiI3124 chips (that is for another board, but it is the same chip). In the firmware packages, the bxxxx.bin is the non-RAID firmware, and rxxxx.bin is the RAID firmware.
Make a DOS boot USB and run the following command will flash the card with non-RAID firmware.
updflash.exe b6600.bin
Disable the Head Park on WD Green
I am using a few Western Digital Green drives. It is reported that these drives park their head after only 8 seconds of non-use to conserve energy. That drastically reduce the life of the drives. This timeout can be disabled by a WD utility called wdidle3. The use of that utility on the WD Green drive is not documented, but it works. This modification is recommended by people online. So I downloaded the utility and applied. It turns out that the utility only discover and apply to drives that are connected to SATA ports on my motherboard, but not those connected to my SATA card. So I need to repeat the process by connecting my drives to motherboard SATA ports in turns.
At the end, my NAS is finally up running.
Showing posts with label NAS. Show all posts
Showing posts with label NAS. Show all posts
Wednesday, December 24, 2014
Monday, September 8, 2014
Homemade NAS
My old server is getting too slow, and I decided to separate the CIFS file server. There are a few open source NAS software available on the Internet. The most interesting ones are:
The first two (FreeNAS and NAS4Free) are very much related. NAS4Free is forked out of old FreeNAS when they were acquired. They are all based on FreeBSD, and the files system they used is UFS / ZFS. They seem to be well followed and easy to use. But the ZFS really is getting me uncomfortable. ZFS has a lot of nice features, but from what I read it really make one thing I wanted very difficult (or impossible) to do. That is to swap out a hard drive without going into a RAID configuration. This makes it out of question to grow capacity by swapping in larger drives. Although you can always grow by adding drives, but I prefer to replace the older drives when I do that.
Anyway, along the search I found OpenMediaVault, which is based on Linux. Indeed, it is a package under Debian Linux. What I like about it is that it can use LVM (Linux Volume Manager), which can move data between different physical drives within a same volume group. With that, I can put a new larger drive into a group, move data onto it, and then remove the older drive. Another thing I really like about it is that it can be installed on many hardware platforms where Debian is available. For example, I have installed on x86/x64, Raspberry Pi (with Raspbian, need to follow these special instructions at this time 9/2014), and DreamPlug (with Debian and follow standard procedures).
At this time (September 2014), the installation method of the installation is quite straightforward. The standard procedure is rather straight forward. Now I am off testing it.
The first two (FreeNAS and NAS4Free) are very much related. NAS4Free is forked out of old FreeNAS when they were acquired. They are all based on FreeBSD, and the files system they used is UFS / ZFS. They seem to be well followed and easy to use. But the ZFS really is getting me uncomfortable. ZFS has a lot of nice features, but from what I read it really make one thing I wanted very difficult (or impossible) to do. That is to swap out a hard drive without going into a RAID configuration. This makes it out of question to grow capacity by swapping in larger drives. Although you can always grow by adding drives, but I prefer to replace the older drives when I do that.
Anyway, along the search I found OpenMediaVault, which is based on Linux. Indeed, it is a package under Debian Linux. What I like about it is that it can use LVM (Linux Volume Manager), which can move data between different physical drives within a same volume group. With that, I can put a new larger drive into a group, move data onto it, and then remove the older drive. Another thing I really like about it is that it can be installed on many hardware platforms where Debian is available. For example, I have installed on x86/x64, Raspberry Pi (with Raspbian, need to follow these special instructions at this time 9/2014), and DreamPlug (with Debian and follow standard procedures).
At this time (September 2014), the installation method of the installation is quite straightforward. The standard procedure is rather straight forward. Now I am off testing it.
Subscribe to:
Posts (Atom)