On Tue, 2011-02-01 at 16:04 +0000, Richard W.M. Jones wrote: > There are some experimental patches to libguestfs to do live > filesystem and partition manipulations now: > > https://www.redhat.com/archives/libguestfs/2011-January/msg00096.html > > Rich. >
Sorry, but i can't found any info about operating on already mounted disk. As i known, libguestfs allows operating inside virtual machine via userspace daemon. But in my case this works inside kernel module. But if fs is using it partition table not able to altered because bdev is busy. Fdisk allows to change partition table, but says, that kernel must be rebooted to see any changes. I think, that if i can after fdisk change inside kernel some info about partitions i can do online resizing fs (ext3). But i see, that partitions is only be operated by ioctl.... If some body says me what functions inside kernel may be exported (says export_symbol_gpl) to change part info, i'm very glad =)