Agent functions

The value of the Operations attribute for this agent is OnOff.

Online 

Imports the ZFS storage pool. 

Offline 

Exports the ZFS storage pool. 

Monitor 

Check the online status of the ZFS pool. 

If the mountpoint property of the ZFS file system is set and its value is not legacy, and the attribute ChkZFSMounts is enabled, then the agent checks if all the ZFS file systems under the same ZFS storage pool are mounted.  

If the ZFS pool contains a ZFS file system that a non-global zone uses, then you need to import the pool before the zone boots up. After the zone boots up, if the mountpoint property for this ZFS file system that the non-global zone uses is not set to legacy, it mounts after the zone boots up. 

If you have enabled the ChkZFSMounts in the Zpool resource, delay the check inside the Monitor agent function because the zone resource is not up yet, and the file systems are not mounted until the zone boots up. 

The Zone resource depends on the Zpool resource for the non-global zone scenario. In this case, you need to provide the ZoneResName attribute, which indicates the name of the Zone resource. When the Zone resource is in an online state, then ChkZFSMounts starts to check the mount status of the ZFS file system pool that the non-global zone uses. 

Clean 

Exports the ZFS storage pool forcefully.