Creating ZFS Pool Single Disk to Mirror

Creating ZFS Pool Single Disk to Mirror

Channel:
Subscribers:
2,510
Published on ● Video Link: https://www.youtube.com/watch?v=JsAsNA93v7E



Category:
Guide
Duration: 7:32
7,364 views
119


In this video I show how to install ZFS file system on Ubuntu 18.04 and configure a zpool with only one disk. Then we take that existing ZFS pool and add an additional disk to the pool to make it a mirror for some redundancy.

Install ZFS
# apt install zfsutils

Create the ZFS pool
# zpool create datastore sdb

Show the pool status and mount point:
# zfs list
# zpool status
# zpool status datastore
# mount -l

Check volume sizes
# df -h

Add disk to existing pool and create mirror from it:
# zpool attach datastore sdb sdc

Show the pool status and mount point
# zfs list
# zpool status







Tags:
zfs ubuntu
ubuntu zfs nas
zfs on linux
zfs on linux ubuntu
ubuntu 18.04 zfs
best file system for nas
how to zfs
how to create zfs mirror
how to check zfs mirror status
zpool attach mirror
zfs convert single disk to mirror
zfs create mirror
how to create a new zfs pool
zfs create pool ubuntu