Setting up snapshots with Hitachi VSP we saw that many kpart processes were waiting for I/O trying to access VDEV devices. That’s because of the queue_if_no_path feature in multipath.
The thing is, that’s a good feature, if you have really small gaps of times without access to the storage (cluster transition, someone messing with fiber cables, etc) you want the I/O to be queued and resume once conection comes back to live.
On the other side, VDEVs appear failed if the snapshots are not active, so most of the time you don’t want to queue the probes from udev (hundreds of proceses in less than a day in our case). To solve this you can enable the “fail_if_no_path” feature per LUN, here’s an example:
And don’t forget to restart multipath daemon…
If needed, you can release pending I/O processes (and return I/O error) with the following command:
dmsetup message snapdata02LU 0 “fail_if_no_path”
Read Full Post | Make a Comment ( None so far )