(Sorry for the inconvenience)
The PC-BSD® Disk Manager can be used to manage ZFS pools and datasets as well as the disks attached to the system. To access this utility, use Control Panel → Disk Manager or type pc-su pc-zmanager from within an xterm. You will need to input your password in order to access this utility.
Managing ZFS Datasets
As seen in the example in Figure 8.13a, the utility will open in the “ZFS Filesystems” tab and will display the system's ZFS datasets, the amount of space available to each dataset, and the amount of space each dataset is using.
Figure 8.13a: Viewing the System's ZFS Datasets
The name of the pool in this example is tank. If the system has multiple pools, click the green arrow to select the desired pool.
If you right-click the pool name, the following options are available:
- Create new dataset: Figure 8.13b shows the options that are available when you create a new dataset.
- Create a clone dataset:
- Take a snapshot: will prompt for the name of the snapshot. The field is pink to remind you to type your name in immediately after the pool name and @ symbol. In this example, tank@ will be displayed in the name field. An example snapshot name could be tank@snapshot1 or tank@201312031353 to denote the date and time the snapshot was created. The snapshot creation will be instantaneous and the will be added to the list of datasets with a camera icon.
- Edit properties: allows you modify the ZFS properties for the pool. An example is seen in Figure 8.13c. The available options depend upon the property being modified. The options which are read-only will have a red minus sign icon next to them. ZFS options are described in man zfs and you should not change any options unless you are familiar with the ramifications of doing so.
Figure 8.13b: Creating a New ZFS Dataset
When creating a new dataset, the "Name" field is pink as a reminder to type in the dataset name immediately after the displayed pool name.
Figure 8.13c: Editing the Pool's ZFS Properties
Managing the ZFS Pool
To view the status of the ZFS pools and the disk(s) in the pool, click the "ZFS Pools" tab. In the example, shown in Figure 8.13b, the ZFS pool named tank was created from one disk. The state of "Online" indicates that the pool is healthy.
Figure 8.13b: Viewing the Status of the ZFS Pool