ONTAP Discussions

seeking CDOT commands to list what clients matching a volume?

netappmagic
4,846 Views

If I wanted to find out what clients that a volume has been exported to, what commands can do that?

 

Thanks!

4 REPLIES 4

rwelshman
4,841 Views

You can find out the export policy that the volume is using and see the servers in that export policy.

 

volume show -volume <name> -fields policy

vserver export-policy rule show -vserver <name> -policyname <name>

netappmagic
4,799 Views

Thanks a lot!

 

1. Are there any commands on the storage to show me what hosts are mounting?

2. Any commands to show me what rule a volume is associating with? or what volume is exporting to what client?

netappmagic
4,738 Views

Anybody please comment on last two questions?

rwelshman
4,721 Views

You can look at active connections (network connections active show) but it doesn't specifically say which volume they are connected to. You can view the export policy associated with a volume and check that export policy for the clients. But you would need to connect to the client itself to confirm if they have the volume mounted. See above for the commands.

Public