Archive for March, 2007

Or, just use LVM

Wednesday, March 28th, 2007

Steven,
Or just use LVM which removes the error-prone and nail-biting fdisk step:

Unmount filesystem.
Extend the logical volume:
$ sudo lvextend -L2G /dev/vgname/lvname
fsck the filesystem:
$ sudo fsck.ext3 -f /dev/vgname/lvname
Extend the filesystem:
$ sudo resize2fs /dev/vgname/lvname
Mount it again.

Note a couple of things:

At no point did you have to delete a partition and create it again.
There was no need to remember […]

TTOTD: Ubuntu needs nfs-common to do NFS locking

Friday, March 23rd, 2007

If your NFS mounts seem to take ages to, er, mount, and OpenOffice always opens things read-only, then maybe you forgot to install nfs-common and thus have no NFS locking support.
Or you could go to NFSv4 (mentalist).
Or disable locking in OOo (mentalist).

All thine castles are within our possession

Friday, March 23rd, 2007

(Click for an image that’s actually readable)

Found by taras

The seedy side of the NHS

Friday, March 23rd, 2007

As you may be aware, I was quite ill the other week and ended up spending a night in hospital. Anyway, I’m fine now, but had a follow-up doctor’s appointment today.
One of the things I wanted from the doctor was a sick note for the two days I had off work last week due […]

Brainteaser

Wednesday, March 21st, 2007

It’s a mystery!

Setting envelope sender when using Mail::Send

Wednesday, March 14th, 2007

I just thought I would blog this so that people can find it in a search, as I could not when I tried.
I have a perl script on a machine that sends out transactional emails with the from address like billing@example.com. The machine it sends from is not example.com. Let’s call it admin.foobar.example.com. […]

Vertical tab bar on Firefox 2.x

Monday, March 12th, 2007

Having just upgraded my laptop to Ubuntu Edgy one of the things that took me longest to get working how I used to have (or at least how I like) has been the vertical tab bar in Firefox, since Edgy comes with Firefox 2 and the old hack for 1.x no longer works.
For years now […]

Too right

Sunday, March 11th, 2007

I’ve watched this far too many times today

Thursday, March 1st, 2007

Animation of a Samuel L. Jackson Pulp Fiction speech in type
Very well done!