Contents
How to create a duplicate of ZFS mirrored storage pool?
You can use the zpool split command to create an exact duplicate of ZFS mirrored storage pool. Monthly backups by using an enterprise-level backup product Consider using JBOD-mode for storage arrays rather than hardware RAID so that ZFS can manage the storage and the redundancy.
How to move a dataset from one ZFS pool to another?
Just create the dateset on the second pool and cp/mv the data. Use screen or tmux if you want to make sure the job doesn’t die from network hiccup. That’s the fastest method. Rsync is another option if there is the chance you will need to stop and start the transferred.
How can I monitor my ZFS storage pool?
Monitor both the ZFS storage pool by using zpool status and the underlying LUNs by using your hardware RAID monitoring tools. Promptly replace any failed devices. Scrub your ZFS storage pools routinely, such as monthly, if you are using datacenter quality services.
How to enable incremental replication in ZFS pool?
To enable incremental replication, you need to preserve the last replication snapshots, everything before that can be deleted. If you delete the previous snapshot, zfs recv will complain and abort the replication. In this case you have to start all over again, so try not to do this.
Why is it important to backup a ZFS pool?
Silent memory corruption can potentially damage your data. Perform regular backups – Although a pool that is created with ZFS redundancy can help reduce down time due to hardware failures, it is not immune to hardware failures, power failures, or disconnected cables. Make sure you backup your data on a regular basis.
Is it possible to create a ZFS root pool?
You cannot add additional disks to create multiple mirrored top-level virtual devices by using the zpool add command, but you can expand a mirrored virtual device by using the zpool attach command. A RAID-Z or a striped configuration is not supported. The root pool cannot have a separate log device.
Is it safe to destroy a ZF pool?
However, be cautious when performing these operations. Although checks are performed to prevent using devices known to be in use in a new pool, ZFS cannot always know when a device is already in use. Destroying a pool is easier than creating one. Use zpool destroy with caution.