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] Using xm block-{attach,detach}

On Tuesday, 03 April 2007 22:06:18 +0200,
Martin Hierling wrote:

> Hi,

Hi Martin.

> > The domU is Debian GNU/Linux Sarge. It's necessary to do something
> > more inside domU?
 
> you need to rescan the vg and lv devices.
> I have a script doing that:
> ---
> vgchange -ay
> for i in $(lvdisplay | awk '/LV Name/{print $NF}'); do lvchange --refresh
> $i; done
> echo "Done."
> ---

Thanks for your answer and the script. I try it, but I can't see the new
device yet inside the domU :-(

Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

Attachment: signature.asc
Description: Digital signature

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