Skip to main content
NetApp Knowledge Base

How to recreate a deleted tbe when the tbc still exists

Views:
56
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
cloud
Last Updated:

Applies to

Trident

Description

If the tbe has been deleted, but the trident-controller pod has not been restarted since the deletion of the tbe, then it can still be recovered.  This is what the state of the backends should look like:
 

k8s-1:~# kubectl get tbc -n trident -o wide
NAME             BACKEND NAME     BACKEND UUID                         PHASE   STATUS    STORAGE DRIVER      DELETION POLICY
t-backend       t-backend       a1ede7ba-abf8-46c5-b385-a60763fb0d9d   Lost    Failed    ontap-nas-economy   delete

 

k8s-1:~# kubectl get tbe -n trident -o wide
NAME        BACKEND          BACKEND UUID

 

k8s-1:~# tridentctl get backends -n trident
+----------------+-------------------+--------------------------------------+--------+------------+---------+
|      NAME      |  STORAGE DRIVER   |                 UUID                 | STATE  | USER-STATE | VOLUMES |
+----------------+-------------------+--------------------------------------+--------+------------+---------+
| t-backend      | ontap-nas-economy | a1ede7ba-abf8-46c5-b385-a60763fb0d9d | online | normal     |       2 |
+----------------+-------------------+--------------------------------------+--------+------------+---------+

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.