Changeset 2437 for trunk/packages/invirt-remote/host
- Timestamp:
- Aug 11, 2009, 11:01:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote/host/usr/sbin/invirt-janitor
r2436 r2437 43 43 syslog.syslog(syslog.LOG_INFO, "Cleaning up LV '%s'" % lv_path) 44 44 45 subprocess.check_call(['/usr/bin/ionice', 46 '-c', '2', 47 '-n', '7', 48 '/bin/dd', 49 'if=/dev/zero', 50 'of=%s' % lv_path, 51 'bs=1M']) 45 # In a perfect world, this should be erroring out with 46 # ENOSPC, so we ignore errors 47 subprocess.call(['/usr/bin/ionice', 48 '-c', '2', 49 '-n', '7', 50 '/bin/dd', 51 'if=/dev/zero', 52 'of=%s' % lv_path, 53 'bs=1M']) 52 54 53 55 # Ignore any errors here, because there's really just not
Note: See TracChangeset
for help on using the changeset viewer.