recreating the RAID array

So, due to a degraded HDD in my RAID5 array, I decided to build a new array.

I bought 4 320G Seagate drives… those drives have many benifits, not least of which, a 5 year warranty.

I already have a 3ware escalade RAID controller (7506-4LP), one of the best options for a hardware RAID controller.

Instead of building another RAID5, I chose to build 2, RAID1 arrays. I chose this because it’s much easier to buy 2 hard drives (upgrading one mirrored pair) than to buy 4 hard drives (to upgrade a 4 disk array). Also the second parity drive is good for data security… though, of course, if I lost 2 drives on the same array the data would still be lost.

Anyway, so I built 2 RAID1 arrays, and ended up with 2 320G paritions.

I had done some research on filesystems and wanted to move away from ext3 (due to some of the overhead and to take advantage of other filesystems benifits). I had pretty much decided on XFS, have had a previous (mildly) bad experience with ReiserFS… but while playing with my mkfs options, I noticed the overhead of the various filesystems are quite different… check out the following comparison, different empty filesystems created on the same disk and mounted:

/dev/sda1             294G  129M  279G   1% /ext3
/dev/sda1             298G  272K  298G   1% /xfs
/dev/sda1             299G   33M  299G   1% /reiserfs

Notice how little of the drive I get from ext3? It’s slower and I get less of the disk… yes, it’s compatible with ext2, but that’s not enough for me. So, I chose XFS…. I ended up just using the default mkfs.xfs options as it figured out the proper block size, etc… I was going to specify a larger log-file size, but the one it calculated was larger than the one I would have specified. I mounted the partitions with the following parameters “noatime,nodiratime,logbufs=8“.

Transferring the data back… and all seems good. I love it when things work.

— researched:

3DM2 (3ware raid management tool) on Ubuntu

Ran into a problem installing the 3DM2 (3ware raid management tool) on Ubuntu today.

Got an “” error when trying to run the install script.

After a bit of debugging, I figured out that the failing variable was in the “check architecture” section of the script… In my case, I simply stripped out the logic and put in the following text to just set variables to my specific setup:

## Check release.
## Get architecture
set arch = `uname -m`
set arch = "x86"
set supported = "yes"

After that it worked fine… but once installed, the service wouldn’t start… due to the following error “Failed to create SSL context”.

At this point, I went back to researching and found a .deb package installer for debain (the distro ubuntu is based on). { pkg, ref }

I got that, installed it, went through the config script did a slight configuration change, and it actually worked this time. I think the problem was the “3dm2.pem” file (SSL cert).

wget -i 3ware-3dm2-binary_9.3.0.4-1duo1_i386.deb

Note: the default password is “3ware”

Much thanks to the following page for getting me going at several stopping points:
Random Garbage Generator :: Hardware RAID management from the web :: February :: 2007

also here’s a link to all my 3ware driver files/sources/etc in one place

the personality test to remind you what’s (not) important

Five questions that will dictate your personality for the rest of your life.

I don’t get it. It’s like those people who go around with those t-shirts and stickers that say “you laugh at me because I’m different, but I laugh at you because you’re all the same.” How different are you if you’re wearing a mass-produced t-shirt with a registered trade mark sold through one of the largest clothing franchises in the world? You’re the reason Old Navy keeps making stupid commercials, and you’re the reason McDonalds gets away with selling so much shitty food every day.

Yeah… i agree… i don’t want to accuse everyone, but i suspect we are all guilty to some extent… most especially anyone with an “I’m unique” T-shirt.