+
+ # Fork. The child process wipes the LV and then deletes
+ # it. There's not really anything sane to do with errors (since
+ # this is running non-interactively), so let's just drop them on
+ # the floor for now.
+ if os.fork() == 0:
+ call(["/usr/bin/ionice", "-c", "2", "-n", "7", "/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
+ call(["/sbin/lvchange", "-a", "n", new_lvpath])
+ call(["/sbin/lvchange", "-a", "ey", new_lvpath])
+ call(["/sbin/lvremove", "--force", new_lvpath])