purge expired contracts' data #563
-
Is it possible to clear/zero expired contracts data? If not can I do that using volumes. for example if I create another volume and remove existing one that has data will the data move to the new one or you can't remove volumes with data in active contracts? I want to be able to use the remaining space. Zeroing the data will effectively free it in zfs when using compression. Migrating the data from one volume to another will achieve the same thing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
hostd
assumes space allocated to a volume is reserved for it and doesn't zero data to avoid the extra IO. I wouldn't recommend doing it often, but you can create a new volume and delete the existing one to reclaim space. Data will be safely migrated to the new volume.