ZFS (Oracle/Sun Zettabyte File System) commands
Click on the headings to sort
Command | Common Arguments & Description | Command Description |
---|---|---|
zfs create | -o mountpoint=/app datapool/app (Create a zfs filesystem "app" in zfs pool "datapool" and mount on /app (Then use "set quota" command) | Create a ZFS filesystem |
zfs get | all datapool/app (List all properties and their values for the dataset datapool/app) | Display properties of ZFS datasets |
zfs get | quota datapool/app (List the currently set quota value for filesystem datapool/app) | Get ZFS quota |
zfs list | (List all active file systems and volumes in the system) | List ZFS Datasets |
zfs set | autoexpand=on datapool/app (Set autoexpand to on for filesystem datapool/app) | Set ZFS autoexpand |
zfs set | quota=10G prodpool/oradata (Set a quota of 10GB (total space not additional) for filesystem prodpool/oradata) | Set ZFS quota |
zpool list | (List all pools in the system along with a health status and space usage) | List ZFS pools and health status |
zpool status | -v (Display the detailed health status for each pool in the system with verbose data error info) | List detailed ZFS health status and errors |