teh fear

08 Oct

resize loop disk image

Having started to play with xen on linux, I have begun to use loop filesystems (a filesystem embedded in a file) rather a lot.

Xen virtual servers are, fairly often, run from within a loop filesystem and generally start with a fairly small file (1GB is big for a normal file, but not when it is pretending to be an entire filesystem!)

Here’s a nice simple shortcut for increasing the size of a loop fs (if the filesystem is ext2/ext3) …
(more…)

© 2010 teh fear | Entries (RSS) and Comments (RSS)

Powered by Wordpress