How to Monitor ZFS Disk Space

compared with
Current by sleeplessinsolarisland
on May 13, 2009 14:01.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (9)

View page history
h2. How to Monitor ZFS Disk Space
This procedure describes how to monitor disk space in your ZFS storage pool and file systems.

h5. Steps
# {include:root_step}
# *Identify space in your ZFS storage pool.*
For example, the storage pool {{rpool}} has 40 Gbytes of available space.
For example, this {{rpool}} storage pool, 111 Gbytes in size, has 108 Gbytes of space available to the ZFS file systems in the pool.
{code}
# /usr/sbin/zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
rpool 43.8G 2.32G 40.7G 5% ONLINE -
rpool 111G 3.44G 108G 3% ONLINE -
{code}
# *Identify space in your ZFS file systems.*
{code}
# /usr/sbin/zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 2.32G 40.7G 55K /rpool
rpool@install 16K - 55K -
rpool/ROOT 2.30G 40.7G 18K /rpool/ROOT
rpool/ROOT@install 0 - 18K -
rpool/ROOT/opensolaris 2.30G 40.7G 2.24G legacy
rpool/ROOT/opensolaris@install 59.3M - 2.22G -
rpool/ROOT/opensolaris/opt 3.60M 40.7G 3.60M /opt
rpool/ROOT/opensolaris/opt@install 0 - 3.60M -
rpool/export 16.8M 40.7G 19K /export
rpool/export@install 15K - 19K -
rpool/export/home 16.7M 40.7G 16.7M /export/home
rpool/export/home@install 18K - 21K -
rpool 3.76G 106G 78.5K /rpool
rpool/ROOT 2.77G 106G 19K legacy
rpool/ROOT/opensolaris 2.77G 106G 2.74G /
rpool/dump 507M 106G 507M -
rpool/export 62K 106G 21K /export
rpool/export/home 41K 106G 22K /export/home
rpool/export/home/otto 19K 106G 19K /export/home/otto
rpool/swap 512M 106G 181M -
{code}
# *Conserve file system space.*

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact