Blogging to Nowhere

Tag: crunchbang

Online Filesystem Resizing with LVM

by Rob Connolly on Oct.10, 2009, under Tips

I use LVM on my main desktop machine. This is awesome because it allows me to dynamically allocate space to partitions as I choose, however I always forget how to do a resize, so I’m going to write it down here. This isn’t going to be a full LVM tutorial (there’s plenty of material out there for that), although maybe that’s an idea for the future.

The following commands will resize an ext2, ext3, or ext4 filesystem running on LVM while it is mounted:

$ sudo lvresize -L +XXG <path to fs device>
$ sudo resize2fs <path to fs device>

In the above command you need to replace XX with the number of GB you want the filesystem to grow by and <path to fs device> by the device node (typically /dev/mapper/something).

An there you have it, done! Obviously there is a huge amount more you can do with the two tools above, take a look at their man pages for more info.

Hopefully this post will save me from having to work out how to do this every time!

2 Comments :, , , , , more...

A quick update

by Rob Connolly on Mar.06, 2009, under Uncategorized

Hey,

Haven’t been posting in a while, mainly because I’ve been busy doing other things:

I’ve developed and successfully launched a new website for my Tramping Club, using Drupal – which I’ve now found is really awesome for community type sites like that btw.

I’ve switched to Crunchbang (Cruncheee) on my EeePC, which I really like. I intend to review it at some point, but I’m not sure when I’ll get round to it.

Also, this week has been the first week of uni, so I’m going to be busier from now on. I’ll still try and post as much as I can, but I’m not sure I’ll be able to write any long articles.

That’s about it. I should probably mention a bit of site news too:

I was just listending to Linux Outlaws 80 and they mentioned this whole drop IE6 thing, which I’m really in favour of! This site has now officially dropped IE6 thanks to the Shockingly Big IE6 Warning plugin for wordpress.

Also LO mentioned the email I sent them re Wikia search (yay!!!). Thanks Dan and Fab (if you ever read this!).

Leave a Comment :, , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!