I'll chime in here.

There have been a number of cases in the past where I have wanted the moral 
equivalent to dd if=/dev/zero of=/dev/da0 bs=1M

Typically, and this may be FreeBSD specific, it's a case of ZFS thinks the 
device is unused, then geom attaches to the device, then ZFS magically sees 
that oh yes, there is a label there.

An example might be where you GPT partition and put a UFS filesystem on a disk 
that used to have ZFS on it.

>From a ZFS user perspective:

I'd like it if there was a ZF safe and friendly "forget about this device" as 
well as a "nuke it from orbit" option that was faster than dd. (Yes, you can 
avoid running dd on the whole disk if you calculate the number of sectors on 
the disk and use the appropriate seek argument, but sometimes that takes enough 
time to figure out that I just let the dd run and go do something else for a 
while)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/424#issuecomment-364468308
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T59e810f5492df392-Mdf28cd67aecf404323daeeb2
Powered by Topicbox: https://topicbox.com

Reply via email to