Ignore:
Timestamp:
Apr 2, 2009, 1:48:08 AM (16 years ago)
Author:
broder
Message:

In invirt-remote:

  • ionice the dd to wipe out deleted LVs so it doesn't hose the system.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/host/usr/sbin/invirt-lvm

    r1990 r2286  
    6969    # the floor for now.
    7070    if os.fork() == 0:
    71         call(["/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
     71        call(["/usr/bin/ionice", "-c", "3", "/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
    7272        call(["/sbin/lvchange", "-a", "n", new_lvpath])
    7373        call(["/sbin/lvchange", "-a", "ey", new_lvpath])
Note: See TracChangeset for help on using the changeset viewer.