From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57532 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkMUR-0007Xm-RG for qemu-devel@nongnu.org; Tue, 01 Feb 2011 15:06:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkMUQ-0003tM-3n for qemu-devel@nongnu.org; Tue, 01 Feb 2011 15:06:15 -0500 Received: from mxs.selfip.ru ([77.221.143.26]:54416 helo=mxs.selfmail.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkMUP-0003so-FG for qemu-devel@nongnu.org; Tue, 01 Feb 2011 15:06:14 -0500 Subject: Re: [Qemu-devel] [PATCH 0/2] virtagent - fsfreeze support From: Vasiliy G Tolstov In-Reply-To: <20110201160403.GB24736@amd.home.annexia.org> References: <1296557928-30019-1-git-send-email-Jes.Sorensen@redhat.com> <1296559512.9430.1.camel@vase> <20110201160403.GB24736@amd.home.annexia.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 01 Feb 2011 23:04:47 +0300 Message-ID: <1296590687.8629.8.camel@mobile> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: v.tolstov@selfip.ru List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" Cc: mdroth@linux.vnet.ibm.com, Jes.Sorensen@redhat.com, qemu-devel@nongnu.org, agl@us.ibm.com 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 =)