XenServer 6: Storage repository on software RAID

Although Citrix recommends against using software RAID with XenServer due to performance issues, I’ve had some pretty awful experiences with hardware RAID cards over the last few years. In addition, the price of software RAID makes it a very desirable solution. Before you get started, go through the steps to disable GPT. That post also explains an optional adjustment to get a larger root partition (which I would recommend). You cannot complete the steps in this post if your XenServer installation uses GPT....

2012-01-16 · 4 min · Major Hayden

Parsing mdadm output with paste

My curiosity is always piqued when I find new ways to manipulate command line output in simple ways. While working on a solution to parse /proc/mdstat output, I stumbled upon the paste utility. The man page offers a very simple description of its features: Write lines consisting of the sequentially corresponding lines from each FILE, separated by TABs, to standard output. Here’s an example of how it works. Let’s say you want to parse some software raid output that looks like this:...

2010-06-14 · 1 min · Major Hayden