Go to main content

Planning and Administering Data Services for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

How to Unconfigure a zpool for Globally Mounted ZFS File Systems From an Online HAStoragePlus Resource

When you remove a zpool for globally mounted ZFS file systems from an online HAStoragePlus resource, the HAStoragePlus resource does the following:

  • Unmounts the file systems in the zpool for globally mounted ZFS file systems.

  • Exports the zpool for globally mounted ZFS file systems from the primary node.

  1. On any node in the cluster, assume the root role or a role that provides solaris.cluster.modify authorization.
  2. Determine the zpool for globally mounted ZFS file systemss that the HAStoragePlus resource already manages.
    # clresource show -p GlobalZpools hasp-resource
    hasp-resource

    Specifies the HAStoragePlus resource from which you are removing the ZFS storage pool.

  3. Remove the zpool for globally mounted ZFS file systems from the list of ZFS storage pools that the HAStoragePlus resource currently manages.
    # clresource set -p GlobalZpools-=mypool hasp-resource
    -p GlobalZpools-=mypool

    Specifies the zpool for globally mounted ZFS file systems name that you want to remove.

    hasp-resource

    Specifies the HAStoragePlus resource from which you are removing the zpool for globally mounted ZFS file systems.

  4. Compare the new list of zpool for globally mounted ZFS file systemss that the HAStoragePlus resource now manages with the list that you generated in Step 2.
    # clresource show -p GlobalZpools hasp-resource
    hasp-resource

    Specifies the HAStoragePlus resource from which you removed the zpool for globally mounted ZFS file systems.

  5. 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 global ZFS-based file system failed. In this case, look at the error messages on the system console or in the /var/adm/messages directory. After fixing the errors, repeat the preceding set of steps.

    # clresource status -t SUNW.HAStoragePlus +