RAID guides for Ubuntu / Linux

Today I found myself with a degraded RAID array after a power outage last night. (Yes I know UPS would be useful..) One drive had failed and I have a RAID 5 with three drives and one drive failed. Additionally, since there was some extra room, for some reason I had another RAID 1 array across two of the drives..not sure what I was thinking when I set that up. I found the following guide quite helpful:

http://s3t0.blogspot.com/2011/01/raid-5-setting-on-ubuntu.html

I also made use of the cfdisk tool since I had to create the partitions manually before adding the partitions to the arrays.

Update: Got a UPS for my birthday, so hopefully the weird power troubles my house has been having won’t be able to kill anymore hard drives 😀

Ubuntu 13.04 – Latex

Update: This also continues to work on Ubuntu 13.04

Just a quick note to myself really about how to get Latex working the way I want on Ubuntu 11.04 (Texmaker GUI, and some fixes for some errors I was getting). The error that was most troublesome was ‘kpathsea: Running mktexmf ptmr7t! I can’t find file `ptmr7t’.’ This was fixed with the recommended fonts package. I also got an error about an equation style that it didn’t know. This was fixed with the texlive-science package.

If you also get an error about `uct12.clo` you need to add the “texlive-publishers” package. See below for all the usual packages you need for ubuntu.

sudo apt-get install texlive-latex-base texmaker texlive-fonts-recommended texlive-science texlive-publishers texlive-fonts-extra texlive-math-extra

Update: I’ve discovered a tex plugin for gedit, which is kind of cool, if you are interested check out this blog post: http://blogs.ethz.ch/ubuntu/2007/06/09/gedit-goes-latex-1-gedit-latexplugin/

References: