when deleting volume in lvm, dd disk i/o performance issue
I had in trouble in cinder volume deleting.
I am developing for supporting big data storage such as hadoop in lvm .
it use as a full disk io for deleting of cinder lvm volume because of dd
The high disk I/O affects the other hadoop instance on same host.
So when i delete the volume, i added disk io schduler, ionice
Used in the following way.
def _copy_volume(self, srcstr, deststr, size_in_g):
- self._execute('dd', 'if=%s' % srcstr, 'of=%s' % deststr,
+ self._execute(
+ 'if=%s' % srcstr, 'of=%s' % deststr,
Blueprint information
- Status:
- Complete
- Approver:
- John Griffith
- Priority:
- Low
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- inhye.park
- Definition:
- Obsolete
- Series goal:
- Accepted for future
- Implementation:
- Started
- Milestone target:
- next
- Started by
- inhye.park
- Completed by
- Sean McGinnis
Whiteboard
cosmos : Hello. I want to know about that. Is this blueprint approved? Then. I will upload Source Code. Thank you.
EricH> If pursued, this needs to be a config option that defaults to the current behavior. Doing this by default is rather risky because it could make volume delete operations run for a very long time on a busy system. I would advise switching to ThinLVM if possible, rather than implementing this.
Gerrit topic: https:/
Addressed by: https:/
Add optional ionice to volume clearing process
By looking into the patch https:/
---- ling-yun 2014-09-06
Seems to be implemented in Kilo. Related bp: https:/