Main Contents

Software RAID in Linux

April 25, 2008

Create the device special files:
mknod /dev/md1 b 9 1
mknod /dev/md2 b 9 2
Partition the disks, set type to fd (Linux raid autodetect). Set partition sizes the same.
Create the arrays:
mdadm –create -v /dev/md1 –level=1 –raid-devices=2 /dev/sda1 /dev/sdb1
mdadm –create -v /dev/md2 –level=5 –raid-devices=3 /dev/sda2 /dev/sdb2 /dev/sdc2
Check array status:
cat /proc/mdstat
Now use /dev/md device instead of /dev/sd device:
mke2fs -j [...]

Filed under: Linux | Comments (0)

Caught on Google Street View

April 9, 2008

I was checking out Google Street View of my neighborhood and my wife and two of my kids (one is being carried by my wife) can be seen on Google’s Street View in front of my house. Apparently it was trash pickup day. Very funny. Here’s the picture:

Filed under: Family | Comments (0)

Transcode movies using MEncoder and x264

April 4, 2008

These are the steps I follow to rip a DVD and transcode it to a high-quality AVI file for TV playback. (Using MythTV, it’s just a single step and is easy enough for my kids to rip a movie using just the remote, but I’ll detail that in another post.) I start with a VOB [...]

Filed under: Linux, MythTV | Comments (0)