Microsoft Virtualization Discussions

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

AllenChang
2,849 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
2,812 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
2,813 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
2,798 Views

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

AllenChang
2,686 Views

because it is a simulator,

so I want to stop the snapshot

aladd
2,684 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