How do you make a pool in ZFS?
Creating a ZFS Storage Pool
- To create a storage pool, use the zpool create command.
- The second mirror keyword indicates that a new top-level virtual device is being specified.
- Creating a single-parity RAID-Z pool is identical to creating a mirrored pool, except that the raidz or raidz1 keyword is used instead of mirror.
How do you mirror a ZFS pool?
You can use the ‘zpool attach’ command to attach a new device to an existing mirrored or non-mirrored virtual device (vdev). With this command, you can transform a two-way mirrored configuration into a three-way mirrored configuration, for example, or convert a non-redundant storage pool into a redundant storage pool.
How to create a mirror pool in ZFS?
Ow boy, I think you just destroyed your data … by using : “zpool create mirror -f /dev/sdb /dev/sdc“ your destroy all the data on those disks. by formatting it in a way ZFS uses. What formatting was on the original disk (xfs, ext3, …) ?
Is it possible to split a ZFS storage pool?
For more information, see Creating a New Pool By Splitting a Mirrored ZFS Storage Pool. You cannot outright remove a device that is not a log or a cache device from a mirrored storage pool. An RFE is filed for this feature. You can install and boot from a ZFS root file system.
What does serial number s00 mean on ZFS zpool?
S00 means drive bay 0. I like having the serial number in the label. It helps to correctly identify the drive if it needs to be replaced. The drive bay helps you find it. The serial number helps you confirm you have the correct drive. Repeat for the other drives:
How to create a RAID-Z pool in ZFS?
You can create a double-parity or triple-parity RAID-Z configuration by using the raidz2 or raidz3 keyword when creating the pool. For example: Currently, the following operations are supported in a ZFS RAID-Z configuration: Adding another set of disks for an additional top-level virtual device to an existing RAID-Z configuration.