Page tree

PATROL KM for UNIX enables you to monitor ZFS filesystems on Oracle Solaris platform. A ZFS filesystem is created on the top of existing storage pools (ZPOOLs). You can also create multiple ZFS filesystems on the top of one ZPOOL. These filesystems share that ZPOOL. Therefore, each ZFS filesystem can grow dynamically to the maximum size of the ZPOOL.

You can monitor the statistics of a ZFS filesystem by using the parameters in the following table:

ZFS filesystem parameters

Parameter

Description

ZFSProperties

Displays the properties of a ZFS filesystem including the following:

  • Version: Version of the filesystem
  • Compressratio: Compression ratio achieved
  • Quota: The maximum space that the filesystem can consume
  • Refreservation: The minimum space guaranteed to the filesystem
  • Refquota: The maximum space that a dataset can consume
  • Reservation: The minimum space guaranteed to a dataset and its descendents
  • Compression: Controls the compression algorithm used for this dataset. Compression can be turned on by running zfs set compression=on dataset. The default value is off. The compression ratio achieved for the dataset, is expressed as a multiplier.
  • Usedbyrefreservation: The space used by a refreservation set on a dataset that would be freed if the refreservation was removed.

ZFSReservationUsedPerc

Displays the percentage of reservation used by a ZFS dataset.

ZFSSnapshots

Displays all snapshots for a particular ZFS filesystem along with the details about the space being used by the snapshots.

ZFSSpaceUsedbyDataset

Displays the space used by a ZFS dataset.

ZFSSpaceUsedBySnapshots

Displays the space consumed by the snapshots that belong to a ZFS dataset

Note

The parameters such as FSFreeInodes and FSFreeInodesK that are related to i-nodes are not available for a ZFS filesystem.

For a global zone, the ZFS filesystem instances appear under the FILESYSTEM container of the ZPOOL instance on which the ZFS filesystem is created. These instances contain the following ZFS filesystem parameters:

  • ZFSProperties
  • ZFSReservationUsedPerc
  • ZFSSnapshots
  • ZFSSpaceUsedbyDataset
  • ZFSSpaceUsedBySnapshots

For the hierarchy of the ZFS filesystems for global zones, see FILESYSTEM hierarchy.

For a non-global zone, the ZFS root filesystem and the ZFS filesystem instances that are added using the add fs sub-command of the zonecfg command appear under the FILESYSTEM container of the STORAGE container. For such filesystems, only the ZFSSpaceUsedbyDataset parameter is available. Also, for such ZFS filesystems, the following parameters are not available:

  • FSUsedSpace
  • FSUsedSpaceMB

Following figure shows the basic hierarchy of the ZFS filesystems that are added using the add fs subcommand. However, this hierarchy does not necessarily display all instances and parameters.

Object hierarchy of ZFS filesystems added using the add fs subcommand for non-global zones



For a non-global zone, ZFS filesystem instances that are added using the add dataset subcommand of the of the zonecfg command appear under the ZPOOL instance on which the ZFS filesystem is created. For the hierarchy of such instances, see ZPOOL Hierarchy.  For remote hosts that support ZFS filesystems, ZFS filesystem instances appear under the STORAGE container irrespective of the global zone and non-global zone.

  • No labels