Recently i came across a project where they built their own cheap storage. The whole story is documented here and here.
A colleague of me and i saw this project and wondered if this kind of storage could be used for databases as well. So we analyzed the design and noticed some problems from our point of view:
- data access only via HTTP
- they used the JFS file system which is not widely used
- generally hard disks are hot-swappable; but not used due to fear of problems
- optimized for space rather than for speed
- relatively “weak” power supply
So we tried to improve the layout with the following constraints:
- approx. 10.000 Euro (approx. 15.000 US-Dollar) in total
- Storage accessible via multiple protocols:
- NFS
- iSCSI
- NFS
- CIFS
- if possible SAN
- Reliable
- Optimized for speed rather than capacity (remember: we talked about databases)
- Hot-Swapable Harddisks
This is part I of our journey towards building a storage system ourself. Part II is here and Part III here.