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 13:28:49 +0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 29 Jul 2010 04:31:45 -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; bh=vTYz1toTPhNP2rrYK1EIxZ4uEc4NxFlvdzRUeLfstjE=; b=qEIdycf2cjh3kvRD/rFkbPXCZIEzRtdnKXBSK8JmdnDi6mUGmFT72OxcyuueGOYv2t /hwibyar2IEeXjSsph8JzUSO0WNacBgANW7UULWDwFvfxW0onVLSRv33J4Kc2BvSjG0l ZrJje9Ax7/OTgvTKWk96QXgS8ZRPvxgcMpM6I=
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; b=R+mE+njuicpb+oTVu6uVH4TX2NdcMuLnmsRPWn4ua2iGTTqGf0xzDvUjiooYL4eDpT jeoLQFQfS4Z8RvZ1Ucxcib6pUGJVTYio5DNMZlnZHn6Bh2MGAubBtqMRgkFmRFEA2jDr L/nFj9hhhhcLjdyw1XE9U0UYyIKqefkkyBH/k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik32bA0uMCorO3w8zqHEV=o-LB_CSxW3R48e2YD@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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?

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