Paul,
The DTD definition for the <zpool> element looks like this:
<!ELEMENT zpool (vdev*, filesystem*, zvol*, pool_options?,
dataset_options?, be?)>
The "*" means 0 or more (as many as you want)
The "?" means 0 or 1
Your manifest below looks just fine.
-Drew
On 12/15/11 11:48 AM, Paul de Nijs wrote:
All,
for the <logical><zpool>.... </zpool></logical> part in the
ai_manifest, I assume that the elements for zpool can only have:
pool_options AND dataset_options elements
OR
vdev elements
OR
filesystem elements
OR
zvol elements
OR
be element (only one)
Is this correct ?
or can you have something crazy like:
<logical nodump="false" noswap="false">
<zpool name="myrpool" is_root="true" mountpoint="/path/to/mountpoint">
<be name="solaris11">
<options>
<option name="compression" value="on" />
<option name="dedup" value="on" />
</options>
</be>
<filesystem name="/export/home" action="create"
mountpoint="/export/home" />
<zvol name="swap" action="create" use="swap">
<options>
<option name="blabla" value="on" />
<option name="qqqqq" value="off" />
</options>
<size val="700mb" />
</zvol>
<zvol name="dump" action="create" use="dump">
<size val="700mb" />
</zvol>
</zpool>
</logical>
Thanks
Paul
--
Paul de Nijs | Principal Software Engineer | Performance Technologies
| +1.503.495.7882
Oracle Strategic Applications Engineering (SAE)
3295 NW 211th Terrace | Hillsboro, OR 97124-7110
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss