I'm a software engineer who has several joys in life: a great wife, a wonderful daughter, a good job at an exciting startup in San Francisco, and enough skill and means to have woodworking, knitting, cooking, LEGO, music, and -- of course -- writing my own software applications. One thing I share across all of these subjects is a drive to excel at the project, to hone my existing skill, to learn something new, essentially, to craft something I can feel proud of.



Adding Some Disk Space, part 4

In the last installment, I brought up the fact that I was trying to save time because one operation was going to take a couple thousand minutes to complete. Let me describe to you what I did.

Based on my original experience with RAID (albeit, with RAID 1), it didn't take too long to complete, and I could use the file system while it completed. One of the complaints I had in the last post was that I wouldn't be able to use the file system while it was resizing; I didn't know that until I went ...


Adding Some Disk Space, part 3

Let's see, where did I leave off in the last installment? Oh yeah, setting up the level 5 array with just the two disks; this is before adding the third and growing it. We had just started the new array and it was resizing/repairing/whatever. Weeeellll... a lot has happened since then. Let's go through it.

$ cat /proc/mdstat      
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : active raid5 sdb1[2] sda1[0]
      1953381888 blocks super 1.2 level 5, 512k chunk, algorithm 2 [2/2] [UU]

unused devices: <none>

This is what is seen ...


Adding Some Disk Space, part 2

So, I didn't get started with this on Thursday. In fact, it wasn't till Saturday that I decided to actually take the plunge. And now I'm stuck in the middle of it, waiting for... a long time. Since I'm stuck, I'll tell you what I'm doing. Hell, maybe later I can just look this up and see what I did if I ever need to do it again!

First off, I made sure my data was backed up. The backup to my external hard drive is complete, but not to online; that will still ...