Simple (Non-System) Raid 1 Setup in Ubuntu Using MDADM

I had trouble finding tutorials on setting up a simple filesystem raid 1 setup. Most were geared towards setting up Ubuntu on a Raid 1 array.

List your disks:

$ sudo fdisk -l

This will give an output like:

Disk /dev/sdd: 240.1 GB, 240057409536 bytes
81 heads, 63 sectors/track, 91879 cylinders, total 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x211bbf32

Device Boot Start End Blocks Id System
/dev/sdd1 2048 468862127 234430040 fd Linux raid autodetect

Disk /dev/sde: 240.1 GB, 240057409536 bytes
81 heads, 63 sectors/track, 91879 cylinders, total 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x22e6d1f2

Device Boot Start End Blocks Id System
/dev/sde1 2048 468862127 234430040 fd Linux raid autodetect

Continue reading “Simple (Non-System) Raid 1 Setup in Ubuntu Using MDADM”

Importing GPG Key Error with Autodeploy Script on CentOS

Here’s another reason to update your system fully before installing software: I was running the autodeploy script for Zenoss and it would hang on the Importing GPG Key and then fail.

After running “yum update,” and then rerunning the autodeploy script, everything went without a hitch.

Troubleshooting Slow Web Browsing with Zentyal (DNS Lookups)

I’ve been having a terrible internet browsing experience for the last couple of weeks. Web pages would take up to 5 seconds or longer to load. Today, I finally had time to sit down and fully troubleshoot the issue.

I went to scrap Zentyal but then noticed that with the new firewall, there was no improvement. Turns out, Google DNS is at fault. Zentyal simply forwards DNS queries to whatever you tell it to. After changing DNS Forwarding (under DNS-> Forwarders) to my ISP DNS servers, web pages began loading instantly once again.

Hurray! Now time for another beer.

My Experience With Ubuntu 13.10 on an Early 2013 Macbook Pro (10,2)

I’ve been having trouble finding information on compatibility between Ubuntu 13.10 and the last gen Macbook. Everything that I’ve read has either been “it works” or “it’s terrible and I hate Apple.”

So, needing (or wanting) new hardware, and having a chance to pickup a used Macbook Pro 13″ Retina for cheap, I took the plunge and…it works!

Continue reading “My Experience With Ubuntu 13.10 on an Early 2013 Macbook Pro (10,2)”