Archive

Author Archive

Xen single user mode boot…

September 13th, 2011 Chris Ganderton No comments

Lost a xen Dom0 the other day temporarily, and when it came back up one of the DomU’s was having issues booting because the label had mysteriously disappeared from the volume. There used to be the possibility to add ‘single’ or ‘single init=/bin/bash’ to the extras option in the DomU’s configuration file, however this doesn’t [...]

Categories: Tags:

Replacing a failed disk in an SVM root mirror

November 27th, 2010 Chris Ganderton No comments

So SVM isn’t something I seem to have to fiddle with much as it just works ™ once it’s all setup, but what if you have a disk fail, and this is an older system using SVM to mirror root/boot devices? Well it’s pretty simple and can all be done online… First you need to [...]

Categories: Tags:

iSCSI quick-start guide.

September 14th, 2009 Chris Ganderton No comments

I had to configure an iSCSI target for testing purposes, the steps I followed are below. This assumes that you have the tgtadm software installed, and that you are making use of LVM. 1. create the backing volume in lvm we have one volume group, called vg01, if you want to see what volume groups [...]

Categories: Tags: , , ,

xen vcpu pinning defaults aren’t ideal

September 1st, 2009 Chris Ganderton No comments

I noticed an oddity the other day with a xen Domain0 host we have. There’s a cron scripted job that verifies the RPM database and the RPM’s that are installed on the system, for some reason this job failed, but kept the process open, and kept spinning around trying to do it’s job. Now, I [...]

Categories: geek, Linux, xen Tags: , ,

removing blank newlines using sed.

February 17th, 2008 Chris Ganderton 1 comment

Most people won’t find this paticularly useful, but as I’m prone to forget things: sed -e ‘/^$/d’ will delete blank newlines from whatever it’s input is. Tags: geek, Linux, stuff

Categories: General Life Tags: , ,