I/O operations

Submitted by vashist
on January 2, 2009 - 10:36am

hi
I need to suspend the current I/O on my file system.
Is there any mechanism to figure out the number of I/O currently happening in the system?
Is there any mechanism to suspend all the current I/O(write) momently on the file system?
Also,any mechanism to flush all the I/O currently executed in the file system?

Thanks

easily done with LVM

multiseat (not verified)
on
January 4, 2009 - 6:34pm

> I need to suspend the current I/O on my file system.

If you use LVM, you can do:

dmsetup suspend /dev/mapper/logical-volume

and then resume:

dmsetup resume /dev/mapper/megathecus-backup2

> Is there any mechanism to figure out the number of I/O currently happening in > the system?

iostat

> Is there any mechanism to suspend all the current I/O(write) momently on the > file system?

dmsetup suspend/resume - if you use LVM.

> Also,any mechanism to flush all the I/O currently executed in the file system?

Do you mean "sync"?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.