[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Can I rename logical volumes without problems?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Ð ÐÑÐ, 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.