Closed mukeshguptakc closed 2 years ago
In Unity REST model, the localPath is not a property of NFS share object, we can't query it directly. In Unisphere, the localPath is calculated when calling REST API, the URL is:
name,description,nasServerName::filesystem.nasServer.name,filesystemName::filesystem.name,snapshotName::snap.name,localPath::((snap ne null) ? @concat("/", snap.name, path) : @concat("/", filesystem.name, path)),exportPaths,type,storageResource::filesystem.storageResource.id,filesystem.nasServer.isReplicationDestination,anonymousUID,anonymousGID,exportOption
The formula is: localPath::((snap ne null) ? @concat("/", snap.name, path) : @concat("/", filesystem.name, path))
.
storops won't support query with formula, you could query nfsshare and its filesystem, then conjunct the localPath with: / + nfsshare.filesystem.name + nfsshare.path.
Close this ticket.
Hi We are working on EMC Unity NAS and in one of our use-case we need to extract the the absolute path of the NFS Share. Now while fetching the share details we only get the mount path and not the actual local filesystem absolute path. Which is available in the Web Console of EMC Unity though. Absolute or Local filesystem path.
If someone could please help me in fetching the same using filter or something that we can fetch the absolute path of NFS / SMB share.