Archive for February, 2011
Adding a drive to a RAID 5 array
Posted by Kyle Lexmond in Uncategorized on February 22, 2011
Followed the guide here: ubuntuforums.org/showthread.php?t=713936 Once again, LVM is awesome.
Stopping mingetty from launching in a Fedora/CentOS/RHEL Xen VM
Posted by Kyle Lexmond in Uncategorized on February 6, 2011
Set “ACTIVE_CONSOLES=” in /etc/sysconfig/init and reboot. Remarkably simple, yet undocumented.
Oh, hey. I’m late this year.
Posted by Kyle Lexmond in Uncategorized on February 6, 2011
Using LVM to move between drives
Posted by Kyle Lexmond in Uncategorized on February 5, 2011
Finally got a pair of 500GB drives to do RAID1. So I needed to move from my single 300GB to a RAID1’ed 500GB pair. For the dom0, I had to do a reinstall of Fedora. Since I would be booting off the drives, and I needed grub setup as RAID aware, it was just easier […]
find/xargs/grep tricks
Posted by Kyle Lexmond in Uncategorized on February 3, 2011
Because xargs will die if you have an unescaped quote, but using -0 screws everything up if you’re reading a list of files: sed s/\’/\\\\\’/|cut -d \: -f 1|xargs -i rm “{}” The sed pattern will put the escape character in front of any single quotes so that xargs doesn’t screw up. Using md5sum to […]
Allowing password-less SSH logins
Posted by Kyle Lexmond in Uncategorized on February 3, 2011
Because I don’t care too much about what happens to my test servers, I’ve been setting up password-less SSH logins. Using a Linux system to login is trivial, because it’s a simple matter of doing ssh-keygen on the system that will be connecting to the remote server, and just hitting enter until the key is […]