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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Can I rename logical volumes without problems?
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Thu, 29 Jul 2010 15:57:51 +0400
Delivery-date: Thu, 29 Jul 2010 05:00:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=GeDM/3cOi25DvlwcekLLnhXxz8SldgNGVH9ILb4R1Vs=; b=P0LPSMH/2bHRZ8k77yVJAZdORzhZALoiZJbTAw6MUg7cRNia7fj3nxAOybwbNtcLSa eXFYlRlR1kvsNIYAO9pHQhm5o/W7etU2tIRXoxWtFayWpfWjfl440gwY9PNsymm2Qt6f L6jKT/Agg9fmgQxNpWRr4Q1PfCugNfzF2Pwl8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=Xvc8O7FbrbiSvIYacimnQFjYjGNB5P3GMvvOUAGiymBvTOftEGOo/VF1HOd6cCYP/w 3wvGG9hCgXrvK2jPUR3Lf4Ez+4H6l18exJOuDdYxEd8+gfyre74b5drxzS4SF+9aNEph RoKKittMqLHwm7rQGg441u0r2VA/UkW6yItLw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinNcP1STNszUdRV6XNa3FhY4aCDnvsnmQXvUHr6@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
В Чтв, 29/07/2010 в 13:28 +0200, Mauro пишет:
> On 29 July 2010 13:26, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> > On Thu, Jul 29, 2010 at 6:15 PM, Mauro <mrsanna1@xxxxxxxxx> wrote:
> >> I have a vm in a logical volume /dev/xen-vg00/myvm-disk and
> >> /dev/xen-vg00/myvm-swap.
> >> Can I rename this two logical volumes and then restart the vm with no 
> >> problems?
> >> Of course after modify the config file to reflect the new disk names.
> >
> > short answer: yes, as long as the new names and then one on the config
> > match. And "restart" as in "xm shutdown" and "xm create/xm start", not
> > "init 6" from domU side.
> 
> 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).


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