I'm working on a workflow to move some data around, and I need to get the volume name from the CIFS share. I've checked in the database, and it looks like the only tables available on cm_storage.cifs_share are id, name, path, vserver ID and comment. There's no volume_id or anything. How do I associate the CIFS share to the volume name with just the CIFS share information? It's simple in 7-mode, since cifs_share has a volume_id tag.
Unfortunately I can't extract the volume from the junction path, as the junction path varies by system. All I have to start with is a share name, which I need to use to find all systems with that share on it, what the host volume is, and what node and aggregate it resides on.