How to create RAID 10 - Striped Mirror Vdev ZPool On Ubuntu Linux

w‮l.ww‬autturi.com
How to create RAID 10 - Striped Mirror Vdev ZPool On Ubuntu Linux

To create a RAID 10 (striped mirror) Vdev ZPool on Ubuntu Linux, you can follow these steps:

  1. Install the zfsutils-linux package, which provides the tools needed to create and manage ZFS pools:
sudo apt-get update
sudo apt-get install zfsutils-linux
  1. Determine the names of the disks that you want to use for the ZPool. You can use the lsblk command to list the available disks:
lsblk
  1. Create the ZPool using the zpool create command. Replace poolname with the desired name for the pool, and disk1 and disk2 with the names of the disks that you want to use:
sudo zpool create poolname mirror disk1 disk2

This will create a RAID 10 (striped mirror) ZPool called poolname using the disk1 and disk2 disks.

  1. To verify that the ZPool was created successfully, you can use the zpool status command:
sudo zpool status poolname

This will display the status of the poolname ZPool.

Created Time:2017-10-28 21:39:01  Author:lautturi