Skip to main content
NetApp Knowledge Base

Unable to recreate SVM root volume after its aggregate was destroyed

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

Applies to

  • ONTAP 9
  • Storage Virtual Machine (SVM)
  • SVM root volume

Issue

  • An SVM root volume is in an unrecoverable state:
cluster1::> volume show svm1_root
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
svm1      svm1_root    -            -          RW            -          -     -
  • The SVM root volume cannot be deleted because the vserver still has other data volumes:

cluster1::*> volume delete svm1_root -vserver svm1

Error: command failed: Cannot delete root volume because the Vserver has volumes.

  • Attempt to create a new volume for that vserver fails with the following error:

cluster1::> volume create -volume test -vserver svm1 -size 1GB -aggregate cluster1_01_SSD_1

Error: command failed: Unable to get default security-style from the root volume of the Vserver due to root volume offline. Provide security-style.

  • Attempt to create a new root volume fails using the -vsroot true option:

cluster1::*> volume create -vserver svm1 -volume svm1_root_1 -aggregate cluster1_02_SSD_1 -size 1GB -vsroot true -security-style ntfs
[Job 238] Job is queued: Create svm1_root_1.

Error: command failed: [Job 238] Job failed: Failed to create the volume in Volume Location Database. Reason: VLDB found an existing Vserver root volume.

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

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.