>> Does this mean you can create 10 volumes in rootdg? rootvol, swapvol, var, usr, opt, tmp + 4 data volumes?
>> Not that you want to, but theoretically you could?
Yes, you could create those 10 volumes in rootdg.
>>And what if you want to create swapvol2? Does this count as a data volume, or just another system volume?
Great question -- took some internal research.
For Solaris, the system/boot volumes that "don't count" toward the four volume limit are:
"rootvol", "swapvol", "usr", "var", "opt", "tmp" and "home"
You didn't ask, but for others who might wonder about Linux, the system/boot volumes that "don't count" toward the four volume limit are:
"rootvol", "swapvol", "usrvol", "varvol", "optvol", "homevol", "bootvol", "tmpvol", "localvol", "efivol" and "prepvol"
So, to answer your question explicitly, swapvol2 would count as a data volume (and thus toward the four volume limit) and does not count as a system volume.
Regards,
Scott