Skip to contentSkip to conversation

ext2 online resizer available

linux-lvm Andreas Dilger 1 participant 1 message Oct 17, 1999 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Andries

Such things are possible these days.
Find a recent kernel and a recent util-linux (source) distribution. In the fdisk directory you'll find tiny utilities addpart.c and delpart.c that will add and remove partitions on a disk that is otherwise in use.

The issue isn't being able to add and remove other partitions on a disk, but rather to change the size of the underlying partition for a filesystem that is currently mounted. I tried again with util-linux-2.9g, but the kernel still thinks the partition is the old size. I will have to look into this to see if it is possible to update the kernel partition info for the mounted partition with an IOCTL.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert