From: Andrew Lyon <andrew.lyon@gmail.com>
To: "J. Roeleveld" <joost@antarean.org>
Cc: ksrinivasan@novell.com, xen-devel@lists.xensource.com
Subject: Re: [PATCH]: Support dynamic resizing of vbds
Date: Sun, 14 Mar 2010 13:49:38 +0000 [thread overview]
Message-ID: <f4527be1003140649p6d9cced6u7d1fde07897ae70c@mail.gmail.com> (raw)
In-Reply-To: <201003121141.47651.joost@antarean.org>
On Fri, Mar 12, 2010 at 10:41 AM, J. Roeleveld <joost@antarean.org> wrote:
> On Tuesday 09 March 2010 20:56:11 Ky Srinivasan wrote:
>> The attached patch supports dynamic resizing of vbds.
>>
>> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
>>
>
> Thank you for this.
>
> The patch applied succesfully against the gentoo-xen kernel (2.6.29-xen-r4)
>
> I will test the patch on my system during the next week and provide feedback.
>
> --
> Joost Roeleveld
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
I tested the patch on xen-sources-2.6.31-r12 and it appears to work perfectly:
dom0: VBD Resize: new size 172032
domU: Setting capacity to 172032
I extended the filesystem and filled up the available space, then
extended again:
dom0: VBD Resize: new size 376832
domU: Setting capacity to 376832
fsck, badblocks, and testing a tarball I had filled the filesystem
with revealed no problems, so I decided to try reducing the
filesystem, first using resize2fs, then reducing the size of the block
device, although some errors were logged in domU the operation seemed
to work ok:
dom0: VBD Resize: new size 114688
domU: Setting capacity to 114688
domU: end_request: I/O error, dev sdb1, sector 212984
domU: Buffer I/O error on device sdb1, logical block 26623
I did notice that it seemed to be necessary to "poke" the device using
cfdisk /dev/sdb1 before domU would notice the new size, but on the
whole everything works nicely and this is a very useful new feature!
Andy
next prev parent reply other threads:[~2010-03-14 13:49 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-09 19:56 [PATCH]: Support dynamic resizing of vbds Ky Srinivasan
2010-03-09 20:15 ` Pasi Kärkkäinen
2010-03-09 20:31 ` Ky Srinivasan
2010-03-09 20:35 ` Pasi Kärkkäinen
2010-03-09 20:39 ` Ky Srinivasan
2010-03-11 20:15 ` Pasi Kärkkäinen
2010-03-11 21:44 ` Jeremy Fitzhardinge
2010-03-11 22:01 ` Ky Srinivasan
2010-03-11 23:13 ` Jeremy Fitzhardinge
2010-03-12 2:52 ` Ky Srinivasan
2010-03-12 10:41 ` J. Roeleveld
2010-03-14 13:49 ` Andrew Lyon [this message]
2010-03-14 14:06 ` Pasi Kärkkäinen
2010-03-16 3:04 ` Ky Srinivasan
2010-03-16 3:05 ` Ky Srinivasan
2010-07-20 18:27 ` Pasi Kärkkäinen
2010-07-20 18:43 ` Ky Srinivasan
2010-07-20 18:50 ` Pasi Kärkkäinen
2010-07-20 18:52 ` Ky Srinivasan
2010-07-20 19:00 ` J. Roeleveld
2010-07-20 19:06 ` Pasi Kärkkäinen
2010-07-28 18:59 ` Ky Srinivasan
2010-08-15 16:20 ` [PATCH]: Support dynamic resizing of vbds / print additional information patch Pasi Kärkkäinen
2010-08-18 19:25 ` Jeremy Fitzhardinge
2010-03-16 2:50 ` [PATCH]: Support dynamic resizing of vbds Ky Srinivasan
2010-03-16 21:24 ` J. Roeleveld
2010-03-16 21:27 ` J. Roeleveld
2010-03-16 22:04 ` J. Roeleveld
2010-03-17 15:33 ` Ky Srinivasan
2010-03-17 15:09 ` Ky Srinivasan
2010-03-16 3:03 ` Ky Srinivasan
2010-03-15 9:26 ` Jan Beulich
-- strict thread matches above, loose matches on Subject: below --
2010-03-18 20:28 Ky Srinivasan
2010-03-18 21:01 ` Jeremy Fitzhardinge
2010-03-18 21:21 ` Ky Srinivasan
2010-03-22 8:47 ` Jan Beulich
2010-03-22 9:15 ` J. Roeleveld
2010-03-22 9:23 ` Jan Beulich
2010-03-22 9:42 ` J. Roeleveld
2010-03-22 10:40 ` Pasi Kärkkäinen
2010-07-20 17:28 ` Pasi Kärkkäinen
2010-07-20 17:37 ` Jeremy Fitzhardinge
2010-07-20 18:29 ` Pasi Kärkkäinen
2010-07-20 19:49 ` Jeremy Fitzhardinge
2010-07-24 13:43 ` Pasi Kärkkäinen
2010-04-04 9:57 ` J. Roeleveld
2010-04-05 16:45 ` Ky Srinivasan
2010-03-22 22:06 Ky Srinivasan
2010-03-23 7:17 ` Pasi Kärkkäinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f4527be1003140649p6d9cced6u7d1fde07897ae70c@mail.gmail.com \
--to=andrew.lyon@gmail.com \
--cc=joost@antarean.org \
--cc=ksrinivasan@novell.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).