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.

Microsoft Virtualization Discussions

How to set Volume snapshot reserve in root volume of node svm ?

AllenChang
4,745 Views

I want to set the volume snapshot reserve in

PS C:\Users\Administrator> Get-NcVol

Name State TotalSize Used Available Dedupe Aggregate Vserver
---- ----- --------- ---- --------- ------ --------- -------
vol0 online 3.2 GB 46% 1.6 GB False aggr0_cluster1_01 cluster1-01
vol0 online 3.2 GB 48% 1.5 GB False aggr0_cluster1_02 cluster1-02


PS C:\Users\Administrator> Set-NcSnapshotReserve vol0 -VserverContext cluster1-01 -Percentage 10
Set-NcSnapshotReserve : Unable to find API: snapshot-set-reserve on node vserver cluster1-01
位於 線路:1 字元:1
+ Set-NcSnapshotReserve vol0 -VserverContext cluster1-01 -Percentage 10
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (20.1.1.1:NcController) [Set-NcSnapshotReserve],EAPINOTFOUND
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.SetNcSnapshotReserve

 

But It always appear the error

How to set the snapshot reserver in root volume of node svm ?

 

Thanks

1 ACCEPTED SOLUTION

aladd
4,708 Views

You cannot modify the snap reserve of a root volume by design.

 

Attempting from the ONTAP CLI yields the following output:

 

aladd_0-1661852585353.png

 

View solution in original post

4 REPLIES 4

aladd
4,709 Views

You cannot modify the snap reserve of a root volume by design.

 

Attempting from the ONTAP CLI yields the following output:

 

aladd_0-1661852585353.png

 

aladd
4,694 Views

Is the goal to recover some additional space in the root volume in this case?

AllenChang
4,582 Views

because it is a simulator,

so I want to stop the snapshot

aladd
4,580 Views

The Snapshots in the root vol can be useful for events like deleted core files that need to be re-uploaded.

 

However you should be able to modify the volume attributes to stop volume snapshots. Otherwise reducing the snap reserve doesn't stop snapshots it will start to bleed over into the volume space over time unless you disable snapshots.

 

REF:

https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_disable_root_volume_snapshots_in_ONTAP_9

Public