ONTAP Discussions

check on "Automatic aggregate Snapshot copy deletion " status

bader
2,529 Views

Has anyone seen a command to list the status of "Automatic aggregate Snapshot copy deletion " for aggregates.  I want to confrim that it is on form all my aggregates.

I ran the command, and got this:

aggr options aggr0 snapshot_autodelete on

Tue Jul 14 09:52:09 EDT [bmifsi3: wafl.spacemgmnt.policyChg:info]: The space management policy for volume aggr0 has changed: autodelete state disabled.

I believe this option was on, so why did it say policy changed and why doe sit say "auto delete state disabled" when this option turns on auto delete.
Thanks
Bob
2 REPLIES 2

radek_kubka
2,529 Views

simply issue aggr status command & you'll get the info you're after:

fas01> aggr status
           Aggr State      Status            Options
          aggr0 online     raid_dp, aggr     root, snapshot_autodelete=off

Regards,

Radek

radek_kubka
2,529 Views

Okay, there is actually a second bottom to that

IF snapshot_autodelete is set to ON, then aggr status doesn't show any info at all:

fas01> aggr options aggr0 snapshot_autodelete on
fas01> aggr status
           Aggr State      Status            Options
          aggr0 online     raid_dp, aggr     root

Public