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

xen-users

[Top] [All Lists]

Re: [Xen-users] Recovering resources from old guests

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Recovering resources from old guests
From: Caleb Call <caleb@xxxxxxxxxxx>
Date: Tue, 6 Apr 2010 10:38:44 -0600
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年4月06日 09:46:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p2j7207d96f1004060255l7898ba55wc2b6d06338eb50c7@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: <s2k276929711004051427v86ba0205q44dcdbaf5133bdc8@xxxxxxxxxxxxxx> <p2j7207d96f1004060255l7898ba55wc2b6d06338eb50c7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks.  However, I tried to get rid of one of them, made sure it wasn't running, removed the disk image and then removed the config file.  I ran a vgdisplay before and after and I didn't gain the disk space back that I should have.  Any thoughts?

Thanks again

##### Before I removed the disk image #####
 --- Volume group ---
  VG Name               vmvol01
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  38
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                18
  Open LV               7
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               455.99 GB
  PE Size               4.00 MB
  Total PE              116734
  Alloc PE / Size       56832 / 222.00 GB
  Free  PE / Size       59902 / 233.99 GB
  VG UUID               s96CmA-1d2x-O1Oo-rrCr-M7n6-dvRQ-AEJjcI

##### After I removed the disk image #####
--- Volume group ---
  VG Name               vmvol01
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  38
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                18
  Open LV               7
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               455.99 GB
  PE Size               4.00 MB
  Total PE              116734
  Alloc PE / Size       56832 / 222.00 GB
  Free  PE / Size       59902 / 233.99 GB
  VG UUID               s96CmA-1d2x-O1Oo-rrCr-M7n6-dvRQ-AEJjcI
   
On Tue, Apr 6, 2010 at 3:55 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Tue, Apr 6, 2010 at 4:27 AM, Caleb Call <caleb@xxxxxxxxxxx> wrote:
> We currently have several old guests that we are removing from the inventory
> and recovering their resources.  I've ran in to a minor (probably very
> simple) issue.  Instead of using logical volumes like the rest of our
> guests, these ones are using tap:aio:  The main question is, is there
> anything special I need to do to reclaim the resources from these disks, or
> is it as simple as just deleting these images?

That's pretty much it. Make sure the guest is not running, then you
can delete the file images.

>  My second(ary) question is,
> what is tap:aio:?  I've been searching but have been unable to find
> anything definitive on what they are.  Is it just a disk image used by Xen,
> or is there something special about it?  How is a tap:aio: disk created,
> etc?

The image itself is basically just a raw disk image. What makes
tap:aio:/ different from file:/ (or manually creating loopback
devices) is that tap:aio is supposed to be more reliable and have
better performance, not effected by dom0 caching effect, thus reducing
possible data loss.  This is different from (for example) tap:qcow,
which uses its own (not raw) file format. See
http://wiki.xensource.com/xenwiki/blktap for details

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] rebased openSUSE Xen dom0 Patches , Pasi Kärkkäinen
Next by Date: [Xen-users] Xen 4.1 Feature Request List , Stephen Spector
Previous by Thread: Re: [Xen-users] Recovering resources from old guests , Fajar A. Nugraha
Next by Thread: RE: [Xen-users] Recovering resources from old guests , Matej Zary
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /