[ovirt-users] how to remove orphaned image

Jiří Sléžka jiri.slezka at slu.cz
Tue Oct 13 07:11:03 UTC 2015


Hi Elad,

> Is the image located under the same storage pool the host is currently
> connected to?
> You can check the current connected storage pool by the following:
> # vdsClient -s 0 getConnectedStoragePoolsList

yes, it is located on the same storage pool

vdsClient -s 0 getConnectedStoragePoolsList
00000002-0002-0002-0002-0000000002b9

orphaned image info is

vdsClient -s 0 getVolumeInfo "088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"00000002-0002-0002-0002-0000000002b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c" 
"0681822f-3ac8-473b-95ce-380f8ab4de06"

     status = OK
     domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
     capacity = 322122547200
     voltype = LEAF
     description =
     parent = 00000000-0000-0000-0000-000000000000
     format = RAW
     image = be5c56de-6a22-4d1a-8579-f0f5d501d90c
     uuid = 0681822f-3ac8-473b-95ce-380f8ab4de06
     disktype = 2
     legality = LEGAL
     mtime = 0
     apparentsize = 322122547200
     truesize = 322122547200
     type = PREALLOCATED
     children = []
     pool =
     ctime = 1440611370


Cheers,

Jiri



>
> On Fri, Oct 9, 2015 at 12:45 PM, Jiří Sléžka <jiri.slezka at slu.cz
> <mailto:jiri.slezka at slu.cz>> wrote:
>
>     Hello,
>
>     I have some orphaned images on a storage domain which are not
>     visible from manager and I would like to remove them.
>
>     I found one proposed feature which would be useful but seems not
>     exists yet - http://www.ovirt.org/Features/Orphaned_Images
>
>     Also I found this feature http://www.ovirt.org/Features/Domain_Scan
>     but there is no documentation how to use it.
>
>     Could you suggest me safe manual steps to remove an orphaned image?
>
>     btw. I know all info about this image - sdUUID, spUUID, imgUUID,
>     volUUID, volume path, logical volume on which is stored,... I am
>     using oVirt3.5.4
>
>     Thanks in advance,
>
>     Jiri Slezka
>
>
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jiri_slezka.vcf
Type: text/x-vcard
Size: 586 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151013/749d19b1/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3267 bytes
Desc: Elektronicky podpis S/MIME
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151013/749d19b1/attachment-0001.p7s>


More information about the Users mailing list