Hi,
just being curious - is there an option to use schnapps on devices, that were added via reForis storage plugin?
BR,
ssdnvv
Hi,
just being curious - is there an option to use schnapps on devices, that were added via reForis storage plugin?
BR,
ssdnvv
Yes. Example:
root@router:~# schnapps -d /srv list
# | Type | Size | Date | Description
------+-----------+-------------+---------------------------+----------------------
--------------
1 | single | 180.78MiB | 2023-11-01 11:44:51 +0100 | Debian bookworm
But it also depends how did you set up containers for example.
I am explaining. If you used backing store BTRFS your containers are on a separate subvolume. So its not going to be snapshotted with schnapps.
router:~# lxc-create -n new-debian -B btrfs -t download
Downloading the image index
---
DIST RELEASE ARCH VARIANT BUILD
---
alpine 3.17 armv7l default 2023-11-22
alpine 3.18 armv7l default 2023-11-22
alpine edge armv7l default 2023-11-22
debian bookworm armv7l default 2023-11-22
debian sid armv7l default 2023-11-22
debian bullseye armv7l default 2023-11-22
devuan daedalus armv7l default 2023-11-22
kali kali-rolling armv7l default 2023-11-22
openwrt snapshot armv7l default 2023-11-22
openwrt 23.05 armv7l default 2023-11-22
openwrt 22.03 armv7l default 2023-11-22
ubuntu jammy armv7l default 2023-11-22
ubuntu mantic armv7l default 2023-11-22
voidlinux default armv7l default 2023-11-22
voidlinux musl armv7l default 2023-11-22
---
Distribution:
debian
Release:
bookworm
Architecture:
armv7l
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs
---
You just created a Debian bookworm armhf (20231122_0505) container.
To enable SSH, run: apt install openssh-server
No default root or user password are set by LXC.
root@router:~# btrfs subvolume list /srv
ID 326 gen 787960 top level 5 path @
ID 335 gen 739448 top level 5 path @1
ID 336 gen 787960 top level 326 path lxc/new-debian/rootfs
So depending how you set your backing store it will be snapshotted or not.