After sr-scan, one more ghost is displayed, named 'base copy':

# xe sr-scan uuid=8bdbf594-168f-f54d-4a2a-1be70995868f
# xe vdi-list sr-uuid=8bdbf594-168f-f54d-4a2a-1be70995868f
uuid ( RO)                : 3c8bc8ec-eb30-4f99-8e5d-0a6a5ee3762c
          name-label ( RW): cnetweb03 1
    name-description ( RW):
             sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f
        virtual-size ( RO): 4294967296
            sharable ( RO): false
           read-only ( RO): false


uuid ( RO)                : ef966e58-0343-43a6-b528-902e8cfb60ae
          name-label ( RW): cnetweb03 0
    name-description ( RW):
             sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f
        virtual-size ( RO): 268435456000
            sharable ( RO): false
           read-only ( RO): false


uuid ( RO)                : 50c0034c-a838-4320-9ea1-874d9a8b6027
          name-label ( RW): cnetweb03 2
    name-description ( RW):
             sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f
        virtual-size ( RO): 107374182400
            sharable ( RO): false
           read-only ( RO): false


uuid ( RO)                : ce336684-eddc-4b5b-a340-32647e42c237
          name-label ( RW): base copy
    name-description ( RW):
             sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f
        virtual-size ( RO): 268435456000
            sharable ( RO): false
           read-only ( RO): true


uuid ( RO)                : 322a2176-ca29-4699-951f-c4def6f0d7fc
          name-label ( RW):
    name-description ( RW):
             sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f
        virtual-size ( RO): 268435456000
            sharable ( RO): false
           read-only ( RO): true

# xe vdi-destroy uuid=322a2176-ca29-4699-951f-c4def6f0d7fc
This operation cannot be performed because the system does not manage this
VDI
vdi: 322a2176-ca29-4699-951f-c4def6f0d7fc ()
# xe vdi-destroy uuid=ce336684-eddc-4b5b-a340-32647e42c237
This operation cannot be performed because the system does not manage this
VDI
vdi: ce336684-eddc-4b5b-a340-32647e42c237 (cnetweb03 0)

# lvs
 LV                                              VG
                        Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  MGT
VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -wi---   4.00M
  VHD-322a2176-ca29-4699-951f-c4def6f0d7fc
 VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -wi-ao 227.27G
  VHD-3c8bc8ec-eb30-4f99-8e5d-0a6a5ee3762c
 VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -wi---   4.02G
  VHD-50c0034c-a838-4320-9ea1-874d9a8b6027
 VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -wi--- 100.20G
  VHD-ce336684-eddc-4b5b-a340-32647e42c237
 VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -ri-a-   6.76G
  VHD-ef966e58-0343-43a6-b528-902e8cfb60ae
 VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -wi-a- 250.50G
  coalesce_ce336684-eddc-4b5b-a340-32647e42c237_1
VG_XenStorage-8bdbf594-168f-f54d-4a2a-1be70995868f -wi---   4.00M



On Thu, May 3, 2012 at 3:09 AM, Uli Stärk <uli.sta...@globalways.net> wrote:

>  Did you try xe sr-scan uuid=8bdbf594-168f-f54d-4a2a-1be70995868f****
>
> ** **
>
> ** **
>
> *Von:* xen-api-boun...@lists.xen.org [mailto:xen-api-boun...@lists.xen.org]
> *Im Auftrag von *Carlos Eduardo Tavares Terra
> *Gesendet:* Donnerstag, 3. Mai 2012 02:31
> *An:* xen-...@lists.xensource.com
> *Betreff:* [Xen-API] Problem with ghost VDI****
>
> ** **
>
> I am having some trouble with a ghost  vdi in my environment. After some
> tries, i got stuck in this scenario:****
>
> ** **
>
> [root@vmserver05 ~]# xe vdi-list
> sr-uuid=8bdbf594-168f-f54d-4a2a-1be70995868f****
>
> uuid ( RO)                : 3c8bc8ec-eb30-4f99-8e5d-0a6a5ee3762c****
>
>           name-label ( RW): cnetweb03 1****
>
>     name-description ( RW):****
>
>              sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f****
>
>         virtual-size ( RO): 4294967296****
>
>             sharable ( RO): false****
>
>            read-only ( RO): false****
>
> ** **
>
> ** **
>
> uuid ( RO)                : ef966e58-0343-43a6-b528-902e8cfb60ae****
>
>           name-label ( RW): cnetweb03 0****
>
>     name-description ( RW):****
>
>              sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f****
>
>         virtual-size ( RO): 268435456000****
>
>             sharable ( RO): false****
>
>            read-only ( RO): false****
>
> ** **
>
> ** **
>
> uuid ( RO)                : 50c0034c-a838-4320-9ea1-874d9a8b6027****
>
>           name-label ( RW): cnetweb03 2****
>
>     name-description ( RW):****
>
>              sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f****
>
>         virtual-size ( RO): 107374182400****
>
>             sharable ( RO): false****
>
>            read-only ( RO): false****
>
> ** **
>
> ** **
>
> *uuid ( RO)                : 322a2176-ca29-4699-951f-c4def6f0d7fc*****
>
> *          name-label ( RW):*****
>
> *    name-description ( RW):*****
>
> *             sr-uuid ( RO): 8bdbf594-168f-f54d-4a2a-1be70995868f*****
>
> *        virtual-size ( RO): 268435456000*****
>
> *            sharable ( RO): false*****
>
> *           read-only ( RO): true*****
>
> ** **
>
> ** **
>
> [root@vmserver05 ~]# xe vdi-destroy
> uuid=322a2176-ca29-4699-951f-c4def6f0d7fc****
>
> This operation cannot be performed because the system does not manage this
> VDI****
>
> vdi: 322a2176-ca29-4699-951f-c4def6f0d7fc ()****
>
> ** **
>
> ** **
>
> How can I destroy this vdi? He isn't displayed in XenCenter.****
>
> ** **
>
> Thanks****
>
> ** **
>
> --
> Carlos Eduardo Tavares Terra****
>



-- 
Carlos Eduardo Tavares Terra
Red Hat Certified Engineer
Consultor em Infraestrutura de TI
GNU/Linux #413291 [http://counter.li.org]
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to