Microsoft Virtualization Discussions

Setting hybrid-cache policy on a volume

aleksandar_stefanov

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

1 ACCEPTED SOLUTION

aleksandar_stefanov

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

View solution in original post

3 REPLIES 3

aleksandar_stefanov

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

View solution in original post

bsti

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.

aleksandar_stefanov

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public