#Netapp LUN with Trident
1 messages · Page 1 of 1 (latest)
Netapp LUN with Trident
Trident needs either an admin user on the whole cluster, or an admin user on the SVM for dynamic provisioning of LUNs. If you need to use the LUN that you already have, there's documentation on how to use the "volume import" feature to do that
HI @strange quartz , Nice to hear. So from the volume import, is it possible for me to create the multiple PVC from same LUN import.
here is the list of supported volume modes. RWX is supported, but only in block mode (without a filesystem) so it depends on the application
@strange quartz , Just one last question. I have only one LUN from ONTAP SAN , from that is it possible to create the many PVC from it.
Otherway, Is it possible for me to import volumes to create so many pvcs.. I mean 1 LUN with many dynamic PVC creation ?
yes you can create multiplke PVCs from one LUN but every pod will see the same LUN, and if they write to it at the same time your data is gone
it is simple, really. If you want to use Trident in any sensible way, you need admin access to the SVM. There's no way around that
you cannot share one LUN with multiple pods. that's not how it works and it doesn't make sense in a containerized environment anyway
that's exactly why CSI was created, to make it possible for every pod to get the PVC it needs of the size it needs and with the attributes it needs
@gilded lily , the best would to ask the storage team to provide you with a full SVM, so that you can use Trident to dynamically create many PVC..
If they are afraid on the consumption you may have on it, please tell them they can setup on the SVM:
- a maximum number of volumes it can host
- a maximum logical capacity it can host
that way they still have full control
in your context of 1 single LUN, you can only get one single PVC.
then the access mode will define how it is mounted to pods within one single namespace (RWO, RWX, ...)
if you want multiple PVC, you need multiple LUNs