Playing with ZFS faults and properties
ZFS is completely oriented by properties that can change the behavior of storage pools and filesystems. This recipe will touch upon important properties from ZFS, and we will learn how to handle them.
Getting ready
To follow this recipe, it is necessary to use a virtual machine (VMware or VirtualBox) that runs Oracle Solaris 11 with 4 GB RAM and eight 4 GB disks. Once the virtual machine is up and running, log in as the root user and open a terminal.
How to do it…
Every ZFS object has properties that can be accessed and, most of the time, changed. For example, to get the pool properties, we must execute the following command:
root@solaris11-1:~# zpool get all oracle_mirror_1 NAME PROPERTY VALUE SOURCE (truncated output) oracle_mirror_1 bootfs - default oracle_mirror_1 cachefile - default oracle_mirror_1 capacity 0% - oracle_mirror_1 ...