constantinfuerst
Cadet
- Joined
- Feb 13, 2022
- Messages
- 4
Hello everybody!
I would like to wipe (== overwrite with zero / random) a dataset in my general purpose NAS-Pool. Temporarily moving the pool to a new drive and then dd if=/dev/urandom of=/dev/adaX is not an option. Is there a zfs-way of clearing a specific dataset? Otherwise: is there a way to get access to the information where a file is located on disk so that I can write a script to go through all files in the given set and selectively randomize them?
Thank you for reading through this!
PS: This might be a bad idea or unsafe - don't care. Please don't convince me to buy a tertiary set of HDDs or anything.
I would like to wipe (== overwrite with zero / random) a dataset in my general purpose NAS-Pool. Temporarily moving the pool to a new drive and then dd if=/dev/urandom of=/dev/adaX is not an option. Is there a zfs-way of clearing a specific dataset? Otherwise: is there a way to get access to the information where a file is located on disk so that I can write a script to go through all files in the given set and selectively randomize them?
Thank you for reading through this!
PS: This might be a bad idea or unsafe - don't care. Please don't convince me to buy a tertiary set of HDDs or anything.