Operation not permitted, when trying to wipe ZFS devices

Knogle

Dabbler
Joined
Jan 25, 2014
Messages
28
Ahoy friends.
Currently i have been using a Fedora system, using a FreeBSD VM to manage the hard drives using ZFS.
Now i have wiped everything and installed FreeNAS, the newly created pool looks fine.
But now i wanted to replace a hard disk, because the previous one failed, there was also a ZFS FS on it before.
So when i try to replace the disk, in order to wipe the new one, and include it into the pool, it says "Operation not permitted" and something with "dd".
Is there a way in order to get it working easily? I only found a quite complicated way.


I hope someone could help, because i often have to wipe hard disks, so it should be some solution for everyday use.
 

K_switch

Dabbler
Joined
Dec 18, 2019
Messages
44
there was also a ZFS FS on it before
I have re-used disks from existing zfs pools and haven't had the issue you describe. as stated in the post you linked you could go through and zero out those blocks. If you could perhaps include screenshots and the steps you are taking.
 
Top