Skip to main content
NetApp Knowledge Base

How to Convert a Flexvol with more than 255 snapshots to FlexGroup

Views:
395
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • FlexGroup

Description

  • ONTAP 9.7 allows converting a FlexVol to FlexGroup
  • However, in ONTAP 9.7
    • FlexGroup can only support less than 255 snapshots
    • FlexVols can support up to 1023 snapshots.

Following errors will be thrown when converting a FlexVol with more than 255 snapshots is all releases of ONTAP 9.7:

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.

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device