I have been trying to pull the storage path (either the LUN ID or NAS path) for a datastore given the datastore name. I am able to get to the datastore that I am interested in but can't seem to find the path information. If someone could point me in the correct direction I'd be most appreciative. Thanks in adavance.
Seth
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been trying to pull the storage path (either the LUN ID or NAS path) for a datastore given the datastore name. I am able to get to the datastore that I am interested in but can't seem to find the path information. If someone could point me in the correct direction I'd be most appreciative. Thanks in adavance.
Seth
I found HostNasVolume which is derived from DatastoreInfo. Datastore is a mo_ref from Host. How do I access information in HostNasVolume?