How to use existing zfs pool without erasing it


I would like to use an existing pool without erasing its content because it’s already used by an old-fashioned lxc instance. I installed LXD on the same host and both cohabits.

root@server:~# zpool list
rpool   232G  79.1G   153G        -         -    39%    34%  1.00x    ONLINE  -
root@server:~# zpool status
  pool: rpool
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
  scan: scrub repaired 0B in 00:01:51 with 0 errors on Sun Aug  8 00:25:52 2021

        NAME           STATE     READ WRITE CKSUM
        rpool          ONLINE       0     0     0
          mirror-0     ONLINE       0     0     0
            nvme0n1p2  ONLINE       0     0     0
            nvme1n1p2  ONLINE       0     0     0

errors: No known data errors

root@server:~# zfs list
NAME                            USED  AVAIL     REFER  MOUNTPOINT
rpool                          80.9G   144G       96K  /rpool
rpool/ROOT                     3.06G   144G       96K  /rpool/ROOT
rpool/ROOT/pve-1               3.06G   144G     3.06G  /
rpool/data                     69.3G   144G      136K  /rpool/data
[... all my containers listed here ...]

I have read in another forum that specifying an existing pool will erase it first. That is definitely not what I want because rpool is on whole disk.

Sincerely yours,

Ah, okay, so you’ve got an existing zpool.

You can just do lxc storage create default zfs source=rpool/lxd which will just have LXD operate within a dataset on your existing pool.

Don’t know if it is linked however lxc image list is now empty.

Folder /var/snap/lxd/common/lxd/images is empty.
Table is empty lxd sql global "SELECT * FROM images;

How can I populate all this again?

Sincerely yours,
N.B: I can create a separate topic if required