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] Can I rename logical volumes without problems?

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Can I rename logical volumes without problems?
From: Mauro <mrsanna1@xxxxxxxxx>
Date: Thu, 29 Jul 2010 20:03:20 +0200
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 29 Jul 2010 11:11:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=K7qpCLQqTfQlu3tzuTFjjTx/mT4qfuOPg89WhhmTlrY=; b=fepBiGWKBWzb1s/w0kWJPB6sR5DRK0y+2MxaMFAzL8D3+XQ47JBUGofybL19XWmKRx UGVb1tYF/i6KKKPHDZpD5zBMYflgewoPgujH1ID02y5GVERR+wOLEc51Skm7BXjej/gw 2997rvUFWf/x0s1UL+l3IaDhUfel29FFPKpvY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HvdTWWtbNuLdcL6LO485taPco4pVVguYRvTUEwRsl9VXC7wJsgMTbvXxScLrA4M9AC cGxFOPFoePDPij1QrXLwoWFw9QJrGiUt5I2iVe55Zu6zt5gstvFrLFRNlGrdpWyExHOr vScflMRR8KL4moxHU4TY/w1Bdm56iXLiOqToc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik6qYsk8MpdzpJA55Pk2TRwJ9SZOc-ZNpOaiePL@xxxxxxxxxxxxxx>
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>
References: <AANLkTikwsb1RECtaVmrX9xK9g+Z+hoOtE6=EpE=3WAzp@xxxxxxxxxxxxxx> <AANLkTik32bA0uMCorO3w8zqHEV=o-LB_CSxW3R48e2YD@xxxxxxxxxxxxxx> <AANLkTinNcP1STNszUdRV6XNa3FhY4aCDnvsnmQXvUHr6@xxxxxxxxxxxxxx> <1280404671.2378.12.camel@shuklin-selectel> <AANLkTik6qYsk8MpdzpJA55Pk2TRwJ9SZOc-ZNpOaiePL@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2010/7/29 Fajar A. Nugraha <fajar@xxxxxxxxx>:
> On Thu, Jul 29, 2010 at 6:57 PM, George Shuklin
> <george.shuklin@xxxxxxxxx> wrote:
>> В Чтв, 29/07/2010 в 13:28 +0200, Mauro пишет:
>
>>> I've logged in my VM and do shutdown, then I logged into dom0 renamed
>>> logical volumes, modify VM config file and do xm create VM.cfg.
>>> Is it right?
>>
>> Not excactly, I think, you must destroy domU for that VM (it shall not
>> appear in xm list). If shutdown destory domU, that's fine. If not, you
>> must destroy it manually (after shutdown).
>
> AFAIK the main thing is to make sure that the domU will be using the
> new config when it's started.
>
> You raise a good point though. If the domU still shows on "xm list"
> after it's shutdown beause it's managed by xend (like what happens if
> you create it with "xm new", or if you set it up using newer versions
> of virt-install/virt-manager), then it's still using the old config.
> You need to delete it first ("xm delete"). That would not be a problem
> if you only use old-style domU config (like with RHEL/Centos5 and it's
> bundled version of Xen).

I'm using linux on dom0 and in all my domU.
If I do a shutdown wih the command "halt" then xm list doesn't show my
domU so I think it is destroyed.
However I do a shutdown, with xm list I don't see the domU, renamed
logical volumes, changed the config file and do a xm create VM.cfg.
After a while domU starts and it seems all ok.

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