Archive for May, 2012

Moving the MySQL database directory to different drive on Ubuntu

Thursday, May 24th, 2012

I have a server where there are two RAID1 disks where the second disk is mounted on /mnt/data, having the MySQL database there would be great as it then would have a whole disk all by itself without having to share with other processes that read and write to the same disk. I/O is often the bottleneck and now we make sure it gets as good as it can be with the hardware we have.... Read More

From Win/Linux dual boot to Linux RAID

Monday, May 21st, 2012

I’ve just had a shit of a time going from a dual boot setup with Windows on sda and Ubuntu on sdb to a Ubuntu only software RAID1 setup using both drives without having to erase or otherwise screw up the existing Ubuntu install on sdb (I’m using Lucid Lynx). ... Read More