Unable to delete volume marked inconsistent before snaplock compliance clock expired
Applies to
Issue
- Unable to online the volume to update the worm files, as the volume is inconsistent.
Cluster::> volume online -volume vol1 -vserver svm1
vol online: Error onlining volume "svm1:vol1". Unable to set volume attribute "state" for volume
"vol1" on Vserver "svm1". Reason: Volume is inconsistent.
- Unable to delete the volume as the WORM is not exired.
Cluster::> volume delete -volume vol1 -vserver svm1
Warning: Are you sure you want to delete volume "vol1" in Vserver "svm1" ? {y|n}: y
[Job 123837] Job is queued: Delete vol1.
Error: command failed: [Job 123837] Job failed: Failed to delete volume "vol1" on Vserver "svm1". Reason: volume
cannot be destroyed because it contains unexpired WORM files OR it contains files under legal hold OR it contains unexpired WORM snapshots OR it is an unexpired SnapLock Enterprise audit log volume OR the volume must be made online in order to permit a pending WAFL scan to complete. Make the volume state online and run 'volume snaplock show' command in order to get the expiration dates and the status of the scans