piraeus-operator icon indicating copy to clipboard operation
piraeus-operator copied to clipboard

How to on existing ZFS pool?

Open nwmcsween opened this issue 4 years ago • 3 comments

New to linstor and related tooling and was wondering if someone could show me the needed yaml config for adding an existing ZFS pool satellite via pireaus-operator? There seems to be lots of docs on lvm but not much on ZFS.

nwmcsween avatar Aug 14 '20 20:08 nwmcsween

So I had to dig into the actual code on this, the creating a zpool stuff actually creates a zdev on a zpool iirc

nwmcsween avatar Aug 24 '20 14:08 nwmcsween

Hey! Sorry for the delayed response.

Currently the operator has no direct integration for configuring ZFS pools via YAML. You can configure an existing ZFS pool via the LINSTOR client (see the LINSTOR guide on storage pools here)

The storage pool will appear in the status field of LinstorSatelliteSet and LinstorController resources. It can be used like a LVM storage pool to configure a storage classes.

WanzenBug avatar Aug 31 '20 07:08 WanzenBug

The recently released Linstor-server v1.8.0 already supports the ‘zfs create options feature’, and zfs supports high availability similar to raid5. So it is recommended to support adding zfs pools and zfs thin pools in pireaus-operator yaml.

aland-zhang avatar Sep 03 '20 16:09 aland-zhang

Already available in Operator v1, now (#633) also in v2.

WanzenBug avatar Apr 03 '24 11:04 WanzenBug