Growing My RAID

Friday, 23rd May, 2008 :: 06:46 EDT - Geeky, Tech

The New Disk
Disk /dev/sdd: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x638212f6

Device Boot Start End Blocks Id System
/dev/sdd1 1 30401 244196001 fd Linux raid autodetect

The Old Disk(s)
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 30401 244196001 fd Linux raid autodetect

They Match!

Time to add the new drive
mdadm --add /dev/md0 /dev/sdd1
mdadm: added /dev/sdd1

Now to grow the array
mdadm --grow /dev/md0 --raid-devices=4
mdadm: Need to backup 768K of critical section..
mdadm: ... critical section passed.

The growing/reshaping took 9 hours.

Time to check the integrity of the filesystem

fsck -f /dev/md0
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
RAID: 96834/61063168 files (31.4% non-contiguous), 104634355/122097920 blocks

Now to resize the filesystem

resize2fs /dev/md0
resize2fs 1.40.8 (13-Mar-2008)
Resizing the filesystem on /dev/md0 to 183146880 (4k) blocks.
The filesystem on /dev/md0 is now 183146880 blocks long.

Whoohoo!

Agh! Memory Errors

Wednesday, 12th September, 2007 :: 00:25 EDT - Tech

A couple of times over the last week or two I’ve noticed compile errors when updating software in Gentoo. I finally decided to reboot to do memtest, and to my horror I had hundreds of errors. My fancy G.SKILL memory has failed.

I go to their website to get RMA information, shouldn’t be a problem since the memory has a lifetime warranty. I then remember that part of the reason for going the G.SKILL route with Newegg was that they offered replacement for a year after purchase. Using Newegg seemed to be a better idea.

So, I file the RMA, and even use their ‘buy the UPS label’ thing (which I’m still waiting on) only to then realize that my memory is out of stock and won’t be back in stock until the 21st or so. The problem is that if the product is out of stock when they receive it they can’t replace it, they simply refund the money. This seems like a reasonable thing, except when it’s memory absolutely critical to your computer running and even doing a RMA at all is going to be horrific. The UPS label will expire and be refunded if not used in a week, and the RMA itself will expire within two weeks. Agh! I shouldn’t have been so quick to get this all started. The big kicker, if all that wasn’t enough, is that if I have to buy it all over again, I’ll have to pay shipping again, but… Newegg doesn’t offer 1 year replacement on memory any more! Agh!

Maybe I’ll be lucky and the memory will suddenly become available. Either way, I can’t compile anything in Gentoo until I get it replaced.

Slap Self.

Wednesday, 9th May, 2007 :: 08:24 EDT - Tech

I can be so dumb sometimes. This is clearly obvious to anybody that knows me, but anyway. I made a little tiny mistake several years ago, never really worried about it until lately. I’ve been noticing that the load average on the file server just goes through the roof whenever NFS transactions are taking place. I figured, without thinking too much about it, that the 900 Mhz Athlon just wasn’t up to handling the ‘power’ of my more modern hardware connected to it.

It turns out, and this just blows my mind, that I never actually compiled the IDE driver into the kernel. Perhaps it didn’t exist when I was using the 2.4.x series, but either way, I’ve apparently been running this thing for years without using the proper drivers. Hdparm was reporting an absolutely horrible buffered disk read of 3.99 MB/Sec, now with the right driver it reads a massively quicker 37.27 MB/Sec. Of course the SATA drive in my new box easily does twice that, and obliterates it when doing cached reads (16MB cache vs. 2MB).

Anyway, looks like I don’ t need to upgrade the CPU (and of course then the memory, motherboard, probably the power supply, ugh) on the fileserver after all!

D’oh!

Wow… Fast Memory

Friday, 4th May, 2007 :: 22:36 EDT - Tech

I’ve been spending the past few days setting up all the software on the new computer. I suppose that’s pretty expected. I ran into a couple of snags installing Gentoo x86-64, but a lot of them were as simple as typos (sadly).

I finally got around to getting back into Windows, loaded up CPU-Z to verify some of my memory settings. The BIOS doesn’t tell me what the settings actually are when it’s on ‘auto’ …so I set it manually to the memory specs of 4-4-4-12 2T DDR2 800.

It turns out that I actually was setting it slower than the ‘auto’ settings. I rebooted, clicked everything back over to ‘auto’ and woot… it auto selects 4-4-4-12 1T DDR2 800. That little 2T vs 1T makes a huge world of difference, one command per every cycle, versus one command per every two cycles. I suppose that means it’s actually twice as fast, hehe.

Those settings are at 1.85 volts!

Yay for G.SKill memory. :)

My temps are good; right now the cpu is at 29°C, but that’s with the case fans up to max. I can’t hear them when the A/C is on anyway. When the fans are on low, last night, it was about 31°C. I attempted to put the box into a slightly better location than next to my chair, but now temps are higher. It just barely fits under the side table/desk where the old box would normally sit. I knew it’d be a tight fit, but unfortunately I didn’t take into consideration that the fans would be essentially blocked. That raises the temperature by quite a few degrees. I’m not sure if it’s really a problem, because it tends to stay under 40°C, but it does concern me.

I didn’t really like the old box sitting on the side table anyway, so back it went. Right now the new box is sitting on the flooring boxes (that I still haven’t finished installing, d’oh). At least it’s out of the way for now, and the fans aren’t blocked.

Processing Power Goodness

Wednesday, 2nd May, 2007 :: 23:12 EDT - Tech

I’m presently installing Gentoo onto my new box. I pretty much had to decimate my finances, and go into minor debt, but it’s black and shiny and oozes number crunching power.

So here it is…

Antec P180B Case (the updated version with the features of the P182)
Asus P5N32-E SLI Plus Mainboard
EVGA GeForce 8800GTS 640MB Video Card
Corsair 620HX Power Supply (yay for modular cabling!)
Intel Core 2 Duo E6600 CPU
G.SKill 2×1GB DDR2 800 ‘HZ’ RAM
Seagate Barracuda ES 320GB SATA HardDrive
Samsung SATA 18X DVDRW with Lightscribe (No More PATA for me!)
Logitech LX710 Cordless Desktop

So far so good. I might add in a discrete sound card, but probably not; just depends on how it performs. Creative is still sitting on X-Fi drivers for Linux, so until they’re released that is totally out of the question. I’ve been considering a HT-Omega Striker though, I’m impressed with it, but I guess we’ll see.

Oblivion is so fast that I can barely control myself, as I’m used to the considerably slower GeForce 6200.

I have several MIR to deal with, that should help a bit. Sadly, my brother warned me of the drop in memory prices and I didn’t heed the warning. It was on sale when I bought it, but my RAM dropped about $30, but oh well, the price I paid was pretty sweet anyway.

The next step is a big fancy widescreen LCD. That’ll replace my aging Sony LCD, though it’s still quite nice.

I’m totally lost when it comes to setting up the ‘overclocking’ in the BIOS, it is set to “auto” right now, but it doesn’t display what the settings are. I don’t even know if my memory is running at the proper settings, hah. I did manually set the timings to 4-4-4-12 2T, no problems thus far, but that’s what it’s rated at, so it better work! :)