×
zfs pool usage
Technologies

ZFS Pool and Dataset Usage

ZFS Pool and Dataset Usage

 

I am back with another blog to provide the useful script to the Freebsd users to determine the zpool and it’s datasets usage report. This script will provide these lists of information,

 

Pool Information:

  1. Total raw disk size
  2. Total usable disk size
  3. Metadata used
  4. Used space
  5. Free space
  6. Capacity in percentage
  7. De-duplication ratio

Dataset Information:

  1. Used space
  2. Available space
  3. Compression ration
  4. De-duplication on/off

Vdev Information:

  1. Total number of vdev’s
  2. Type of raid configured
  3. Vdev-group usage

ZFS pool usage script can be downloaded from the git link https://gitlab.com/am.senthilnathan/zfs-pool-usage and then it can be executed by usual # sh pool-volume_usage_details.sh

 

This script will provide the same kind of information if there are multiple pools in the server.

 

I hope this script will be useful for some freebsd users. Your comments or suggestions are welcome. Do you face any trouble in server hardening/spam control/ddos(or)malware attack in your website, contact AssistanZ team for any assistance.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.