ZFS-LIST(8) | System Manager's Manual | ZFS-LIST(8) |
zfs-list
— list
properties of ZFS datasets
zfs |
list
[-r |-d
depth] [-Hp ]
[-o
property[,property]…]
[-s property]…
[-S property]…
[-t
type[,type]…]
[filesystem|volume|snapshot]… |
If specified, you can list property information by the absolute
pathname or the relative pathname. By default, all file systems and volumes
are displayed. Snapshots are displayed if the
listsnapshots
pool property is on (the default is
off), or if the -t
snapshot or -t
all options are specified. The following fields are
displayed: name, used,
available,
referenced,
mountpoint.
-H
-d
depth-o
property-o
name,avail,used,usedsnap,usedds,usedrefreserv,usedchild
-t
filesystem,volume.-p
-r
-s
property-s
property options. Multiple -s
options are
evaluated from left to right in decreasing order of importance. The
following is a list of sorting criteria:
If no sorting options are specified the existing behavior of
zfs
list
is
preserved.
-S
property-s
, but sorts by property in descending
order.-t
type-t
snapshot displays only
snapshots.
fs,
snap, or
vol can be
used as aliases for filesystem,
snapshot, or volume.The following command lists all active file systems and volumes in the system. Snapshots are displayed if listsnaps=on. The default is off. See zpoolprops(7) for more information on pool properties.
#zfs
list
NAME USED AVAIL REFER MOUNTPOINT pool 450K 457G 18K /pool pool/home 315K 457G 21K /export/home pool/home/anne 18K 457G 18K /export/home/anne pool/home/bob 276K 457G 276K /export/home/bob
February 8, 2024 | OpenZFS |