# Controlling cleanup and default RAID creation By default, for both registration and cleanup, MetalSoft cleans the server before making it available for another deployment. It also recreates the RAID drives. 1. To create a policy use the `server-cleanup-policy create` commands to create and list cleanup policies such as: ``` ./metalcloud-cli server-cleanup-policy create --label "skip-erase" --cleanup-drives=false --recreate-raid=false --disable-embedded-nics=false --raid-one-drive raid0 --raid-two-drives raid1 --raid-even-drives raid10 --raid-odd-drives raid10 --skip-raid-actions cleanup,registration,provisioning ``` **RAID options available** You can select one from the following list. Note that if the RAID controller does not support the operation the respective job will throw an error. * `raid0` * `raid1` * `raid5` * `raid10` **RAID actions available** You can select one or more from: * `register` - used during server registration * `provisioning` - used during provisioning if needed * `cleanup` - used after provisioning, when releasing the server back into the pool Note that the default is that RAID recreation is **enabled** across `register`, `provisioning`,`cleanup` so if not disabled they will still use the RAID options set here in the policy. 2. Set it as default policy ID on the **Site** > **my site** > **Configuration** > **Default server cleanup policy ID** to match the desired policy.