Active IQ Unified Manager Discussions

Discovering volume name by CIFS share in cluster mode

Nomecks
3,873 Views

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.

1 ACCEPTED SOLUTION

stephen2
3,861 Views

I did it by extracting the junction point from the path and then doing a get-ncvol and find the volume with that junction path

View solution in original post

2 REPLIES 2

stephen2
3,862 Views

I did it by extracting the junction point from the path and then doing a get-ncvol and find the volume with that junction path

Nomecks
3,857 Views

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.

Public