X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/53411646bff69bd47c8ebff12f8c284b48cb19f0..refs/tags/0.3.14:/host/usr/sbin/invirt-lvm diff --git a/host/usr/sbin/invirt-lvm b/host/usr/sbin/invirt-lvm index bafcec7..a2a6cc9 100755 --- a/host/usr/sbin/invirt-lvm +++ b/host/usr/sbin/invirt-lvm @@ -68,7 +68,7 @@ if subcommand == "lvremove": # 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", "3", "/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath]) + 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])