Ignore:
Timestamp:
May 3, 2009, 3:47:27 AM (15 years ago)
Author:
broder
Message:

Don't be quite as ionice to the dds that wipe out deleted LVs.

File:
1 edited

Legend:

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

    r2286 r2345  
    6969    # the floor for now.
    7070    if os.fork() == 0:
    71         call(["/usr/bin/ionice", "-c", "3", "/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
     71        call(["/usr/bin/ionice", "-c", "2", "-n", "7", "/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.