I'd like to use API function volume-modify-iter to disable automatic snapshots for a volume, but when I set auto-snapshots-enabled attribute to false using this function no error is returned, but automatic snapshots are not disabled. Anyone know how to disable automatic snapshots over API?
When using the XML example below, the call successfully disable snapdir access and volume autosize is also set to grow successfully, but automatic snapshots are still enabled.
It appears that auto-snapshots-enable is "non-modifiable".
<!--If true, enable automatic snapshots on the volume. <p> The default value is true. <p> Attributes: non-creatable, non-modifiable-->
<!--If true, enable the visible '.snapshot' directory that is normally present at system internal mount points. This value also turns on access to all other '.snapshot' directories in the volume. <p> The default value is true. <p> Attributes: non-creatable, modifiable-->
That at least explains why it didnt change it, not sure if there is an alternate api call for it though.