Subscribe
Accepted Solution

Setting hybrid-cache policy on a volume

Hi,

Is there way to set read-cache and write-cache policies for volumes on a Flash Pool aggregate using Powershell? I can't find such command. Thanks.

Regards,

Aleksandar

Re: Setting hybrid-cache policy on a volume

I don't think there is an API or Powershell cmdlet per se, but you can always fall back on invoke-nassh and pass the CLI command in.

Re: Setting hybrid-cache policy on a volume

Because this is done in "priv set advanced" mode, any idea how to pipe two commands in one Invoke-NaSSH instance? Thanks

Setting hybrid-cache policy on a volume

Solution: Invoke-NaSsh "priv set advanced; priority hybrid-cache set <volume> <policy>