如何将具有255个以上快照的FlexVol 转换为FlexGroup
适用场景
- ONTAP 9
- FlexGroup
问题描述
- ONTAP 9.7允许将FlexVol 转换为FlexGroup
- 但是、在ONTAP 9.7中
- FlexGroup 只能支持少于255个快照
- FlexVol最多可支持1023个快照。
如果在所有版本的ONTAP 9.7中转换具有255个以上快照的FlexVol 、则会引发以下错误:
cluster01::> version
NetApp Release 9.7P1: Thu Feb 27 01:25:24 UTC 2020
cluster01::>
cluster01::*> volume conversion start -volume myvol -foreground true -check-only true
Error: command failed: Cannot convert volume "myvol" in Vserver "svm1" to a
FlexGroup. Correct the following issues and retry the command:
* The volume has more than 254 snapshot copies. Use the "volume
snapshot show -vserver svm1 -volume myvol" command to list the Snapshot
copies present on the volume and remove one or more of them with the
"snapshot delete -vserver svm1 -volume myvol" command.
* The volume has Snapshot copies with IDs greater than 255. Use the
(privilege: advanced) "volume snapshot show -vserver svm1 -volume myvol
-logical-snap-id >255 -fields logical-snap-id" command to list the
Snapshot copies with IDs greater than 255 then delete them using the
"snapshot delete -vserver svm1 -volume myvol" command.