Re: left overs after removing a storage

2011-11-09 Thread Itamar Heim
On 11/09/2011 03:55 PM, Itzik Brown wrote:
 Hi,

 Using RHEV manager I added an iSCSI storage which created PV over it and LVs.
 After destroying it from RHEV manager the storage is not available anymore 
 when doing discovery.
 In the console of the host running vdsmd I see the PV and LVs are still there.
 After manually removing the LVs and PV the discovery from RHEV manager worked 
 again.

 Should it be like this? Is it a bug? Is there a fix already?

RHEV doesn't show a used LUN.
when you remove a storage domain, it is formatted, and can be re-used.
when you destroy - assumption is no access to storage to format it, and 
you need to manually format it to re-use it in RHEV.
(dd to begining of the LUN should solve this).

probably should show these LUNs in gray out at least in the UI - I think 
we have an AI on that - I still need to move them to upstream bugzilla.


 Thanks,
 Itzik

 ___
 vdsm-devel mailing list
 vdsm-devel@lists.fedorahosted.org
 https://fedorahosted.org/mailman/listinfo/vdsm-devel

___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel


RE: left overs after removing a storage

2011-11-09 Thread Itzik Brown
What I meant not available is in discovery the target appears but not its LUNs.

The 'remove' option is always grayed out.
Are there any steps I should do after adding the storage to make it available?

Thanks,
Itzik

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com] 
Sent: Wednesday, November 09, 2011 5:09 PM
To: Itzik Brown
Cc: vdsm-devel@lists.fedorahosted.org
Subject: Re: left overs after removing a storage

On 11/09/2011 03:55 PM, Itzik Brown wrote:
 Hi,

 Using RHEV manager I added an iSCSI storage which created PV over it and LVs.
 After destroying it from RHEV manager the storage is not available anymore 
 when doing discovery.
 In the console of the host running vdsmd I see the PV and LVs are still there.
 After manually removing the LVs and PV the discovery from RHEV manager worked 
 again.

 Should it be like this? Is it a bug? Is there a fix already?

RHEV doesn't show a used LUN.
when you remove a storage domain, it is formatted, and can be re-used.
when you destroy - assumption is no access to storage to format it, and you 
need to manually format it to re-use it in RHEV.
(dd to begining of the LUN should solve this).

probably should show these LUNs in gray out at least in the UI - I think we 
have an AI on that - I still need to move them to upstream bugzilla.


 Thanks,
 Itzik

 ___
 vdsm-devel mailing list
 vdsm-devel@lists.fedorahosted.org
 https://fedorahosted.org/mailman/listinfo/vdsm-devel

___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel