[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Manual reclamation of PV's

Yes, you will need to delete and recreate the PV.  "rm -rf" or whatever else you deem sufficient is good enough for the volume itself.  Recreating the PV to point at the newly scrubbed storage will be all you need.

On Wed, Dec 21, 2016 at 8:10 AM, Ashby, Jason (IMS) <AshbyJ imsweb com> wrote:

What is the best way to manually reclaim a persistent volume once it has been released from a claim?   


$ oc get pv

NAME                                CAPACITY   ACCESSMODES   STATUS     CLAIM                                      REASON    AGE

pv00002                             10Gi       RWX           Released   fun/test1                                            19h   



Do I just manually delete the pv with “oc delete pv00002” and rm -rf the underlying data?  Wasn’t sure if there was a specific command to handle that via openshift.

Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]