Date: Sun, 27 Nov 2011 16:51:24 GMT From: Robert Millan <rmh@debian.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/162905: -E flag in newfs has no effect Message-ID: <201111271651.pARGpOHJ046473@red.freebsd.org> Resent-Message-ID: <201111271700.pARH0Lwv091171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162905 >Category: kern >Synopsis: -E flag in newfs has no effect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 27 17:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Robert Millan >Release: FreeBSD 9-STABLE >Organization: >Environment: >Description: -E flag in newfs doesn't erase the whole device. For one thing, it returns immediately (which is unexpected since DIOCGDELETE ioctl is a blocking call). On the other hand, pre-existing filesystems continue to be usable: # zpool create -m none -f test /dev/ada1s1 # zpool export test # newfs -E /dev/ada1s1 [...] Erasing sectors [128...16773119] [...] # zpool import test # >How-To-Repeat: >Fix: I don't know the fix, but it seems most likely a kernel bug (I've verified that DIOCGDELETE ioctl is indeed being called). >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111271651.pARGpOHJ046473>
