Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
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
Solved! See The Solution
You cannot modify the snap reserve of a root volume by design.
Attempting from the ONTAP CLI yields the following output:
You cannot modify the snap reserve of a root volume by design.
Attempting from the ONTAP CLI yields the following output:
Is the goal to recover some additional space in the root volume in this case?
because it is a simulator,
so I want to stop the snapshot
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: