Can a SnapLock Volume or Qtree be renamed?
Applies to
- ONTAP 9.x
 - SnapLock
 
Answer
- Only SnapLock Enterprise volumes can be renamed
 - Renaming SnapLock compliance volumes will fail:
 
cluster2::*> volume rename -volume Compliace -newname Comp
Error: command failed: Renaming a SnapLock Compliance volume is not supported.
- Qtrees can only be renamed if there is no locked data in them:
 
cluster2::*> qtree rename -volume Ent2 -qtree QtreeEnterprise -newname Newww
Error: command failed: Qtree "QtreeEnterprise" was renamed to "Newww" for
       volume "Ent2" in Vserver "SVM1". However, the path modification failed.
       Reason: Failed to rename qtree "QtreeEnterprise" for volume "Ent2" on
       Vserver "SVM1". Reason: File system access error: Read-only file system.
Additional Information
