Destroy

The RAID can be stopped and removed from the engine runtime and configuration database without the possibility to restore it using the command:

xnr_cli raid restore --name xnraid

The destroy operation unloads the RAID if it is running (this step is similar to the unload operation), and then remove the RAID from the persisted configuration database. Destroyed RAID is considered as Foreign by the engine.

Destroying the RAID does not remove user data or RAID metadata from the RAID drives. A future release will be able to import Foreign RAID if its structure is compatible to the engine. If the destroyed RAID drives are going to be used by new RAID the drives metadata area should be cleaned by the “bdev zero” command or by any other way that zeroing first 4 Kbytes of the drives.