The resource type SUNW.HAStorage serves the following purposes.
coordinates the boot order of disk devices and resource groups by causing the START methods of the other resources in the same resource group that contains the SUNW.HAStorage resource to wait until the disk device resources become available
with AffinityOn set to True, enforces colocation of resource groups and disk device groups on the same node, thus enhancing the performance of disk-intensive data services
If the device group is switched to another node while the SUNW.HAstorage resource is online, AffinityOn has no effect and the resource group does not migrate along with the device group. On the other hand, if the resource group is switched to another node, AffinityOn being set to True causes the device group to follow the resource group to the new node.