When you remove a Solaris ZFS (Zettabyte File System) storage pool from an online HAStoragePlus resource, the HAStoragePlus resource does the following:
Unmounts the file systems in the ZFS storage pool.
Exports the ZFS storage pool from the node.
On any node in the cluster, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
Determine the ZFS storage pools that the HAStoragePlus resource already manages.
# clresource show -g hasp-resource-group -p Zpools hasp-resource |
Specifies the resource group that contains the HAStoragePlus resource.
Specifies the HAStoragePlus resource from which you are removing the ZFS storage pool.
Remove the ZFS storage pool from the list of ZFS storage pools that the HAStoragePlus resource currently manages.
# clresource set -p Zpools="zpools-list" hasp-resource |
Specifies a comma-separated list of ZFS storage pool names that the HAStoragePlus resource currently manages, minus the ZFS storage pool name that you want to remove.
Specifies the HAStoragePlus resource from which you are removing the ZFS storage pool.
Compare the new list of ZFS storage pools that the HAStoragePlus resource now manages with the list that you generated in Step 2.
# clresource show -g hasp-resource-group -p Zpools hasp-resource |
Specifies the resource group that contains the HAStoragePlus resource.
Specifies the HAStoragePlus resource from which you removed the ZFS storage pool.
Confirm that the HAStoragePlus resource is online and not faulted.
If the HAStoragePlus resource is online but faulted, validation of the resource succeeded. However, an attempt by the HAStoragePlus resource to unmount and export the ZFS file system failed. In this case, you need to repeat the preceding set of steps.
# clresourcegroup status SUNW.HAStoragePlus + |