-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Proxmox Cookbook
By :

In this section, we will look at the commands for performing various tasks for ZFS on Proxmox.
Use the following command to create the raidz
ZFS pool:
# zpool create <pool_name> raidz -m <mountpoint> </dev/sdX> </dev/sdX> <…>
The command to create a zpool
named testzfs
in the /mnt/zfs1
mount point with three drives looks like this:
#zpool create testzfs raidz –m /mnt/zfs1/ /dev/vdf /dev/vdg /dev/vdh
The following screenshot shows the output of the zpool
list to verify that our pool is created:
Use the following command to delete the ZFS pool:
# zpool destroy <pool_name>
This action is irreversible. Once the pool is deleted, it is permanently removed.
Use the following command to list all the ZFS pools and storage space:
# zpool list
Use the following command to see the status of all the drives for the ZFS pool:
#zpool status
The preceding command is useful for checking if any drives are offline or approaching failure by checking...
Change the font size
Change margin width
Change background colour