On 01/19/11 11:22, Alok Aggarwal wrote:

On Wed, 19 Jan 2011, Ethan Quach wrote:


Will the <logical> tag be required in all cases where a disk has been specified, or can/will we infer that in the simple cases? The use case I'm thinking of is when a user specifies a single device (disk) to be used by AI.

<target>
<disk>
<disk_keyword key="boot_disk" zpool="rpool"/>
</disk>
</target>

From a user's perspective, no. In this specific case the
user won't have to specify a logical section that describes
'rpool'.

AI, internally, however will have to set up the Zpool object
correctly before it invokes TI. That is, AI will have to create
a *DOC representation* of the following before calling TI:

<target>
<disk>
<disk_keyword key="boot_disk" zpool="rpool"/>
</disk>
<logical>
<zpool name="rpool" action="create" is_root="false" />
</logical>
</target>

For the use case referred to here, I would have though this would be is_root="true" since this is the only disk selected.

-ethan


Alok
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to