WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Underlying device resized

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] Underlying device resized
From: Igor Chubin <igor@xxxxxxx>
Date: Tue, 12 Jun 2007 18:50:47 +0300
Cc: Igor Chubin <igor@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Jun 2007 08:45:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561DF7@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20070612145107.GE24241@xxxxxxx> <907625E08839C4409CE5768403633E0B02561DF7@xxxxxxxxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
> 
> Well, you probably have to, unless you can otherwise make it think the
> device has "changed media" or "hotplugged". Since most OS's don't really
> expect hard-disks to change size without some sort of hardware event
> happening (e.g. hotplug event), the guest OS isn't going to "check" to
> see if the disk changed size without some sort of "trigger". 
> 
> If it's a PV domain, you may be able to just "xm block-detach" and "xm
> block-attach", but for HVM devices, I'm not sure that works without PV
> drivers to help out (and I don't think such drivers are available). 


May be it's possible to send hotplug event that device is attached
without real attaching?

Or do something like partprobe (I know that partprobe is useless in
my case; it's just an example).


It's very sad to understand that I have LVMs and ext2resize
and possibility of hotplug device attaching 
but despite of this I have to reboot (or go into single user mode
yo unmount filesystem) my domU 
and make my service unavailable for some time.

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>