ONTAP 9

to Japanese version

Disable qtree functionality in FlexGroup volumes before reverting

The qtree functionality is enabled either when you create a qtree or if you modify the security-style and oplock-mode attributes of the default qtree.

  1. Identify and delete all of the non-default qtrees in each FlexGroup volume that are enabled with the qtree functionality:

    1. Log in to the advanced privilege level: set -privilege advanced

    2. Verify if any FlexGroup volume is enabled with the qtree functionality.

      For ONTAP 9.7 or later, use: volume show is-qtree-caching-enabled true

    3. Delete all of the non-default qtrees in each FlexGroup volume that are enabled with the qtree functionality: volume qtree delete -vserver svm_name -volume volume_name -qtree qtree_name

      If the qtree functionality is enabled because you modified the attributes of the default qtree and if you do not have any qtrees, you can skip this step.

      cluster1::*> volume qtree delete -vserver vs0 -volume fg -qtree qtree4
      WARNING: Are you sure you want to delete qtree qtree4 in volume fg vserver vs0?  {y|n}: y
      [Job 38] Job is queued: Delete qtree qtree4 in volume fg vserver vs0.
  2. Disable the qtree functionality on each FlexGroup volume: volume flexgroup qtree-disable -vserver svm_name -volume volume_name

    cluster1::*> volume flexgroup qtree-disable -vserver vs0 -volume fg
  3. Identify and delete any Snapshot copies that are enabled with the qtree functionality.

    1. Verify if any Snapshot copies are enabled with the qtree functionality: volume snapshot show -vserver vserver_name -volume volume_name -fields is-flexgroup-qtree-enabled

      cluster1::*> volume snapshot show -vserver vs0 -volume fg -fields is-flexgroup-qtree-enabled
      vserver volume snapshot is-flexgroup-qtree-enabled
      ------- ------ -------- --------------------------
      vs0     fg     fg_snap1 true
      vs0     fg     daily.2017-09-27_0010 true
      vs0     fg     daily.2017-09-28_0010 true
      vs0     fg     snapmirror.0241f354-a865-11e7-a1c0-00a098a71764_2147867740.2017-10-04_124524 true
    2. Delete all of the Snapshot copies that are enabled with the qtree functionality: volume snapshot delete -vserver svm_name -volume volume_name -snapshot snapshot_name -force true -ignore-owners true

      The Snapshot copies that must be deleted include regular Snapshot copies and the Snapshot copies taken for SnapMirror relationships.

      cluster1::> volume snapshot delete -vserver vs0 -volume fg -snapshot daily.2017-09-27_0010 -force true -ignore-owners true
Related information

FlexGroup volumes management

Top of Page