I/O hung forever trying to access VDEV device

Posted on July 20, 2012. Filed under: Linux, Storage | Tags: , , , |

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:

multipath {
wwid 350760e9016040b000001040a00002001
alias snapdata02LU
no_path_retry fail
}

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”

That’s all…


Read Full Post | Make a Comment ( None so far )

Recently on Cyrus doing the blog thing…

Quickguide: Installing Sun JRE on SLES11

Posted on July 18, 2012. Filed under: Linux, SLES | Tags: , , , |

Quickguide: Observium installation on SLES11

Posted on January 24, 2012. Filed under: Linux, OSS | Tags: , , |

Automatizando Snapshots en Symmetrix VMAX con Powershell

Posted on July 7, 2011. Filed under: Uncategorized |

Quick Tonido installation on openSUSE

Posted on March 20, 2011. Filed under: Linux, Projects | Tags: , , , |

InstantClient RPMs

Posted on January 3, 2011. Filed under: Linux, openSUSE | Tags: , , , , |

Take that Cruise!!

Posted on September 28, 2010. Filed under: Nonsense |

Compiling nrpe in HPUX 11.31

Posted on May 11, 2010. Filed under: Nagios |

Compiling cnet in a hurry

Posted on April 1, 2010. Filed under: Linux, openSUSE, Projects |

Single/Married difference

Posted on March 7, 2010. Filed under: Nonsense |

Liked it here?
Why not try sites on the blogroll...

Follow

Get every new post delivered to your Inbox.