August 14, 2007

Updated the server

Category: Linux — Josh @ 6:09 am

I was importing some MP3’s into jinzora when one of the disks in the root filesystem mirrored disk array dropped out of the array. I was forced to to a hard reboot as i could not shutdown gracefully. Upon rebooting, I upgraded the kernel to the latest debian stable version which is 2.6.18+6, then added the disk back to the array by using the following commands

Use the –examine switch to check the status of the array on the drive (if mdadm can not print the contents of the md superblock in this partition we know it is badly broken.)

mdadm –examine /dev/hdg2

Use the following command to hot-add the partition back to the array.

mdadm /dev/md1 -a /dev/hdg2

Use the following command to check the status of the array rebuild.

cat /proc/mdstat

It took over an hour to rebuild the array, but it has been fine since. I will keep an eye on it.

I also did some tweaking on the OS based on the information in the following post from

No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> .