OpenSolaris

Printable Version Enter a New Search
Bug ID 6527379
Synopsis zpool(1M) should not try to open faulted devices
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords
Responsible Engineer Eric Schrock
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_68
Fixed In snv_68
Release Fixed solaris_nevada(snv_68) , solaris_10u6(s10u6_01) (Bug ID:2156310)
Related Bugs
Submit Date 22-February-2007
Last Update Date 29-April-2008
Description
Currently, any zpool(1M) subcommand which prints out a vdev calls
zpool_vdev_name().  This always tries to open a device, even if it
is currently dead or unavailable.  If the device is offlined (or in
the future faulted) due to a faulty device, this sends the device
I/O attempts which time out and will never complete.  This makes
it seem like the command hangs, and can make a bad situation even
worse.

The only reason we open the devices is to get the devid and compare
it to the current value.  We shouldn't bother doing this if the vdev
is dead.
Work Around
N/A
Comments
N/A