Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- May 2006
Creating a hot-swappable file server.
I've got multiple questions regarding building this server.
- Do I need five drives to begin with, or can I just convert everything to RAID 5, once I hit 3 drives without losing all my data.
- Will I be able to add more drives to my RAID 5 setup without losing all the data already on the drives.
- Do all the drives need to have the same RPM?
- Regarding the hot-swappable drives thing. Does this mean that I can use slots like I would an external hard drive? Plus in a drive, and it recognizes it on my machine?
- Has anyone ever used FreeNAS to build a fileserver of this sort? Can you tell me how difficult you found FreeNAS to configure? I plan to move over to CoreNAS when it comes out. Will I need to reformat all my drives if I do?
Oh if it helps any, I plan to use a hardware RAID controller with this.
Thanks a lot.
- Join Date
- Nov 2006
1. You don't need 5 drives, you need a minimum of 3 drives to have N+1 redundancy. I would suggest getting as many drives as you think you'll need, as expanding the array later on will be challenging.
2. Probably not - you would need to take an image of the existing data, build a new larger RAID5 array and restore the data from the image.
3. Having identical drives is always adviseable in RAID arrays. If the size or speed is different, the other drives usually default to the slowest or lowest capacity. I'd recommend 1TB enterprise class SATA disks, as they are excellent "bang for your buck" price wise, as well as having good platter density.
4. It will depend on the hardware you house the array in - features like ths are usually the preserve of dedicatged NAS hardware. Typically it will mean you have to open the case and swap the faulty drive out - not always easy or safe whilst the box is running.
5. I haven't used FreeNAS before, but I have used OpenFiler which does fairly similar things, and seems to do a good job.
If your budget will allow it, I recommend teaming 2 x NICs into a switch that will support 9000k jumbo frames, and presenting your storage to your hosts as either iSCSI or NFS. Eg. setup a dedicated 'storage' ethernet network, don't just connect it to your LAN or the 1500 MTU will cause a bottleneck and high processor usage.
Any questions, post here and I'll do my best to help.
- Join Date
- Mar 2010
There are hot swappable cages available for very reasonable prices. IcyDock is one manufacturer and Chenbro is another. Both are available at Newegg. This forum will not let me post a URL for you. Chenbro is good if you are buying a case along with the cage. If you have a case IcyDock is probably better for a retrofit. There are things you should do to disable the drive before removing it and to scan for the replacement. I would have given you a link but I still can't put links into this forum. They may not be needed with the latest kernels.
Although it is perfectly possible to grow a RAID-set to many drives, in practice you shouldn't go over 8 drives in a single RAID-set.
Also you may consider using RAID6 if you use many drives. Where in a RAID5 set any one drive is allowed to fail, in RAID6 two drives can fail without loosing your data.
Notice that not any RAID-level will protect you from user error, eg. deleting files ; RAID on it's own is not a backup scenario.
Notice that my arguments are pretty much Linux mdraid based. Other RAID solutions may have different properties.