Re: [ovirt-users] how to remove orphaned image

2015-10-16 Thread Jiří Sléžka

Hi,

it took me awhile to realize that in my case is removing the orphaned 
image as easy as


vdsClient -s 0 deleteImage "088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"


You have to run it on SPM host

It returns job UUID, then you can grep your vdsm.log to see what happened.

anyway, orphaned images feature would be still useful ;-)

Cheers,
Jiri



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
0002-0002-0002-0002-02b9

orphaned image info is

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

 status = OK
 domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
 capacity = 322122547200
 voltype = LEAF
 description =
 parent = ----
 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 > 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@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users






___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to remove orphaned image

2015-10-13 Thread Jiří Sléžka

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
0002-0002-0002-0002-02b9

orphaned image info is

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


status = OK
domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
capacity = 322122547200
voltype = LEAF
description =
parent = ----
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 > 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@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users




<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to remove orphaned image

2015-10-12 Thread Elad Ben Aharon
Hi Jiri,

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

On Fri, Oct 9, 2015 at 12:45 PM, Jiří Sléžka  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@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] how to remove orphaned image

2015-10-09 Thread Jiří Sléžka

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

<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users