Request for code review: 909 - Target Discovery must find Solaris 
instances in BEs

Target Discovery must provide the disk devices containing Snap Boot 
Environments to the GUI so that user is informed of Solaris BEs on a disk.

be_list() provides a list of Solaris Boot environments, but requires 
some preparation, since zpools must first be imported

This code performs two workarounds:

Workaround: INST_RELEASE, which contains release information, is missing 
from
Caiman, and is in the process of being re-established.  Code to read
INST_RELEASE is conditionally coded

Workaround: 'zpool status' is used to retrieve the disk device name 
holding the
Solaris BE.  The output of 'zpool status' was not designed to be parsed; the
parsing of this output is perhaps unreliable.  An outstanding CR exists to
supply this functionality:
6667439 A parsable option for zpool status and zpool list is needed


http://cr.opensolaris.org/~wmsch/bug-909/
http://defect.opensolaris.org/bz/show_bug.cgi?id=909

William


Reply via email to