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] Guest - slow response to keystroke (SOLVED)

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Guest - slow response to keystroke (SOLVED)
From: Stephen Liu <satimis@xxxxxxxxx>
Date: Fri, 28 Nov 2008 22:36:42 +0800 (CST)
Cc:
Delivery-date: Fri, 28 Nov 2008 06:37:19 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=RLSdzQ/P5l2CrVbKJUJioNoWdLhIyOWlw4pC8OFHwHPO1s56JZgIF8VaAobV1j57Dcvz0K4Ke2Qc+Ywvq1dnocKg+INlGXyWsdPjla0LhMBox4JwBBKVTHewehZV0UiSMSGgdLclB2DO3SwHwIzfAHLYUxbMQDJYHxhOT4vD40c=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1227881751.25974.18.camel@ubu32>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Thomas,


> so - guest01 and 02 have the same MAC-Adress? It is not a goog idea
> to
> have identical Mac-adresses.


You're right.  I found my solution removing the MAC address.  Now the
problem disappears.


> > > instead of this you could also loopback-mount in dom0
> > > 
> > > mount -o loop /vserver/domains/guest-2_directory/disk.img /mnt
> > > chroot /mnt && do your stuff
> > > exit && xm create xyz
> > 
> > 
> > Whether editing the data on chroot environment.  On exiting a new
> > disk.img will be created with all new data included?  What about
> the
> > swap.img?


Sorry I read your advice wrongly.  Actually I need to duplicate both
disk.img and swap.img.  Instead of starting the guest just mount the
disk.img and edit the files on chroot environment.  One disadvantage, I
can't execute problem on chroot environment.  E.G. after editing
/et/hosts I can't run /etc/init.d/hostname.sh to take effect.  Nor to
run;

# hostname
and
# hostname -f

to check the output.


- snip -

 
> > > I love this CoW-Stuff :)
> > 
> > 
> > Whether you meant;
> > 
> > Copy-on-write;
> > http://en.wikipedia.org/wiki/Copy_on_write
> 
> .... nd should not be used to replace backups.
> 
> COW may also be used as the underlying mechanism for snapshots
> provided
> by logical volume management and Microsoft Volume Shadow Copy
> Service.
> 
> The copy-on-write technique can be used to emulate a read-write
> storage
> on media that require wear levelling or are physically Write Once
> Read
> Many.


Noted with thanks.

 
> Just imagine you have lvm running.
> 
> you create a new lvol
> mount it to /mnt eg.
> debootstrap xyz /mnt
> umount /mnt
> 
> lvcreate -s creates a snapshot of this image, which is writeable.
> so you can assign this snapshot to your xen-guest.
> 
> > 
> > 
> > Pointers would be appreciated.  TIA
> 
> http://tldp.org/HOWTO/LVM-HOWTO/


Thanks.  I'll test it on next Xen box.


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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