I want to re-size a LVM volume online in my Linux box.

It is taking very long time to complete, since there are I/O operations being performed on that volume.

Is there any way I can tell every other process which are writing to that disk to wait until the re-sizing is done ?

link|improve this question

47% accept rate
feedback

1 Answer

You could use IOTOP to know what processes are writing and then renice them I guess, or shut them down for a while.

link|improve this answer
Shutting down the service will be very expensive. I am already using nice to set the priority but still it is taking long time than normal. Is there any other way I can signal the kernel to put the rest of the I/O request in queue ? – Supratik Dec 15 '11 at 8:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.