You must check the status of the volume and the WORM files before destroying the volume.
Before You Begin
Ensure that the volume contains no unexpired WORM files.
If the SnapLock volume contains unexpired WORM files, Data ONTAPwill not allow you to destroy the volume. It returns a message stating that the vol destroy command cannot destroy the volume.
Steps
- First take the volume offline by entering the following command: vol offline vol_name
- To destroy the SnapLock
volume, enter the following command: vol destroy vol_name
If a SnapLock Compliance volume cannot be destroyed, it remains offline. You should immediately bring it online by using the vol online
vol_name
command. This step ensures that the ComplianceClock does not fall behind.