One of the shortcomings in an otherwise really good UI in the Unity platform is the inability to make bulk changes to many objects. While making the changes are easy, applying it to many or even hundreds of objects is impractical and time consuming. Boring.
Recently after an upgrade to Version 4.5, I wanted to apply advanced dedup to all storage objects, both block and file.
Here’s how to do it in the UI per object;
Multiply that by 100’s objects ? ……. No thanks.
Here’s a simple snipped using PowerShell and UnityCLI to achieve this in just seconds.
1 2 3 4 |
$fsid= (001..143) | % { "FileSystem"+$_ } foreach ($id in $fsid) { uemcli -d array.local -u Local/adminuser -p adminpwd /stor/prov/fs -name $id set -dataReduction yes -advancedDedup yes } |
I’ll check back in a little while to report how effective (or not) enabling this setting is.