----- Original Message ----- > From: "Itzik Brown" <itz...@mellanox.com> > To: "Itamar Heim" <ih...@redhat.com> > Cc: email@example.com > Sent: Thursday, November 10, 2011 6:00:39 AM > Subject: RE: left overs after removing a storage > > Hi, > > After talking with Sagi - here is the proper way to do it: > > One should use detach and then remove. > If Destroy action is used then manual cleanup should do it. > > The Documentation Section for removing storage domains: > 126.96.36.199.2. Removing Storage Domains in RHEV Administration Guide.
That's correct. However there are times when you can't do this, or perhaps the storage you got to use wasn't "cleaned" before being allocated to you. We are still missing the flow where we report the "dirty" storage and then have a process to "clean" it for us. > > Itzik > > > -----Original Message----- > From: Itamar Heim [mailto:ih...@redhat.com] > Sent: Wednesday, November 09, 2011 9:30 PM > To: Itzik Brown > Cc: firstname.lastname@example.org > Subject: Re: left overs after removing a storage > > On 11/09/2011 05:46 PM, Itzik Brown wrote: > > 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? > > iirc, because the LUN is not clean (detected as being used by a RHEV > PV already). > > > > > Thanks, > > Itzik > > > > -----Original Message----- > > From: Itamar Heim [mailto:ih...@redhat.com] > > Sent: Wednesday, November 09, 2011 5:09 PM > > To: Itzik Brown > > Cc: email@example.com > > 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 > >> firstname.lastname@example.org > >> https://fedorahosted.org/mailman/listinfo/vdsm-devel > > > > _______________________________________________ > vdsm-devel mailing list > email@example.com > https://fedorahosted.org/mailman/listinfo/vdsm-devel > _______________________________________________ vdsm-devel mailing list firstname.lastname@example.org https://fedorahosted.org/mailman/listinfo/vdsm-devel