NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

check on "Automatic aggregate Snapshot copy deletion " status

bader
3,528 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
3,528 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
3,528 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