Hi,
Sorry as I’m not english native speaker, and sometimes a bit technically noobish.
I want to use a lvm thinpool partition for my future containers(3) & vm(2), that I will import back from nice backups
my /var
is a bit tiny because of disks limitations, so my idea was to focus disk usage onto my thinpool which is fat (~350G VFree).
Here are my commands to make my lvm thinpool partition :
incus storage create default lvm source=tatatitoutou-vg lvm.vg.force_reuse=true lvm.use_thinpool=true lvm.thinpool_name=myPool
incus profile device add default root disk path=/ pool=myPool
Everything goes smooth at this point so I import it all back :
incus import /exports/myAwsomeContainer.bckp.tar.gz --verbose --storage=default
My problem is when I watch df -h
, all the space is eaten inside /var
where my incus installation is, this is not what I excpect, as I thought --storage=default
would lead me to use my brand new thinpool partition.
here lvscan
ACTIVE '/dev/tatatitoutou-vg/myPool' [<359.92 GiB] inherit
Is there any simpler way to create my lvm thinpool so when I import it it goes there instead of /var
which is too small to import it all ?
Thanks