Cannot create new thin volume. free space in thin pool qubes_dom0/vm-pool reached threshold

WHY!!! I never had this issue in qubes 3 but in qubes 4 this is happening all the time. And surprisingly no tutorial or documentation on how to increase the vm-pool data size. all i find is extending VM data sizes…
I have plenty of space avaible but i cant even open my sys-usb now without deleting a qube

1 Like

Hello, I have the same problem. I downloaded a cold storage wallet and since then it shows that my data vom-pool is at 96% and when I try to start a qube I get this response

It seems that your storage is full and you need to free up the space by removing something in your VMs or removing VMs before you can start up your qubes. Starting qubes requires to have some free space in vm-pool for this qube temporary storage.
Check the Qubes Disk Space Monitor widget in dom0 tray to check your used disk space.

1 Like

If someone comes across this thread, this might fix the issue (at least for short term):

nano /etc/lvm/lvm.conf
change:

***thin_pool_autoextend_threshold = 90***

into :

***thin_pool_autoextend_threshold = 100***
2 Likes

I wondered about this problem too. Maybe reserving 10% made sense a few years ago with 250-500GB drives, but with 4TB drives quickly becoming more affordable, this setting reserves 400GB. What for???

1.)
poolhd0_qubes (2nd hard disk) :
data 92.7% 3454.5 GIB / 3725.8 GIB
metadata 78.3%

Version: R4.2.2
RAM: 32472 MB

The last free hard disk status was 580 GIB.
Then I had additionally increased from 2500 GIB to 3300 GIB. (Private storage max size:)
However, I did not get below 90% with it.
This means: 3454.5 GIB - 2500 GIB = 954.5 GIB
Within a few seconds the hard disk was filled with 954.5 GIB. It is not clear to me how this can happen.

=====================
2.)
Who can tell me where my files are located here?

My VM name is normally: debian-12-xfce-3TB.
There are now several displayed here, so I’m careful!
Is it possible to trim this entire M2 SSD hard disk or is this done automatically from Qubes version 4.1 / 4.2?
I have not yet reached my goal with the cache deletion attempt.
My hard disk is displayed at 92%, but that can’t be normal because I still had 560 GB free. Then I increased my setting in Private storage max size from 2500 to 3300, so the TemplateVM should normally be below 90%, which unfortunately is not the case now.
Is there any information on how large a TemplateVM can be?
I haven’t found anything yet.
Furthermore, I am looking for a solution how I can move a folder from debian-12-xfce-3TB to another VM from dom0.

How big can a TemplateVM be?
Is there a limit?

qvm-run --pass-io work ‘cat testfile.txt’ | qvm-run --pass-io sys-net ‘cat > testfile.txt’

Can I check if this is correct, if not what should it be called correctly?
qvm-run --pass-io debian-12-xfce-3TB ‘folder-name’ | qvm-run --pass-io debian-12-xfce-files ‘/home/user’

Is there no “move” move command code, I haven’t found anything yet.


Question: Or can you move the
data 92,7% (3454,5 GIB / 3725,8 GIB)
below 90%?

Where exactly should this code be inserted in the file (/etc/lvm/lvm.conf)?
Between … and … or does it not matter where you insert it?

=================
3.)
File name in Dom0:
/etc/lvm/lvm.conf

# Configuration option activation/thin_pool_autoextend_threshold.
# Auto-extend a thin pool when its usage exceeds this percent.
# Setting this to 100 disables automatic extension.
# The minimum value is 50 (a smaller value is treated as 50.)
# Also see thin_pool_autoextend_percent.
# Automatic extension requires dmeventd to be monitoring the LV.
# 
# Example
# Using 70% autoextend threshold and 20% autoextend size, when a 1G
# thin pool exceeds 700M, it is extended to 1.2G, and when it exceeds
# 840M, it is extended to 1.44G:
# thin_pool_autoextend_threshold = 70
# 
thin_pool_autoextend_threshold = 90

# Configuration option activation/thin_pool_autoextend_percent.
# Auto-extending a thin pool adds this percent extra space.
# The amount of additional space added to a thin pool is this
# percent of its current size.
# 
# Example
# Using 70% autoextend threshold and 20% autoextend size, when a 1G
# thin pool exceeds 700M, it is extended to 1.2G, and when it exceeds
# 840M, it is extended to 1.44G:
# thin_pool_autoextend_percent = 20
# 
thin_pool_autoextend_percent = 20

================================================

1.)
poolhd0_qubes (2. Festplatte) :
data 92,7% 3454,5 GIB / 3725,8 GIB
metadata 78,3%

Version: R4.2.2
RAM: 32472 MB

Der letzte freie Festplatte Stand war 580 GIB.
Dann hatte ich zusätzlich von 2500 GIB auf 3300 GIB vergrößert. (Privat storage max size:)
Jedoch kam ich nicht unter 90% damit.
Das heißt: 3454,5 GIB - 2500 GIB = 954,5 GIB
Innerhalb von ein paar Sekunden wurde die Festplatte mit 954,5 GIB gefüllt. Für mich ist es nicht klar, wie das geschehn kann.

=====================
2.)
Wer kann mir sagen, wo hier meine Dateien liegen?

Mein VM Name lautet normal: debian-12-xfce-3TB.
Es werden hier jetzt mehre angezeigt, darum bin ich vorsichtig!
Kann man diese ganze M2 SSD Festplatte Disk-Trimmen oder wird dies ab der Qubes Version 4.1 / 4.2 automatisch ausgeführt.
Mit dem Cache Löschversuch bin ich noch nicht am Ziel angekommen.
Meine Festplatte wird gerate 92% angezeigt, das kann jedoch normal nicht sein, da ich noch 560 GB frei hatte. Dann habe ich meine Einstellung in Privat storage max size von 2500 auf 3300 erhöht da müsste das TemplateVM normal unter 90% liegen, was jetzt leider nicht der Fall ist.
Gib es da eine Angabe wie groß so eine TemplateVM sein darf?
Ich habe da noch nichts gefunden.
Desweiteren suche ich eine Lösung wie ich von dom0 aus, ein Ordner von debian-12-xfce-3TB in eine andere VM verschieben kann.

Wie groß darf eigentlich ein TemplateVM sein?
Gibt es da eine Begrenzung?

Muster:
qvm-run --pass-io work ‘cat testfile.txt’ | qvm-run --pass-io sys-net ‘cat > testfile.txt’

Kann mir mal das ganze überprüfen ob das stimmt, wenn nicht wie müsste es richtig heißen?
qvm-run --pass-io debian-12-xfce-3TB ‘Ordner-Name’ | qvm-run --pass-io debian-12-xfce-Dateien ‘/home/user’

Gibt es da kein “move” verschiebe Befehl Code, ich habe da noch nichts gefunden.


Frage: Oder kann man da die
data 92,7% (3454,5 GIB / 3725,8 GIB)
unter 90% bekommen?

Wo genau müsste dieser Code in die Datei (/etc/lvm/lvm.conf) eingefügt werder?
Zwischen … und … oder ist das egal, wo man das einfügt?

=================

Error message
Fehlermeldung

Qube … has failed to start: Cannot create new thin volume, free space in thin pool qubes / poolhd0 reached threshold.

Why did you increase the template private storage?
I think you’re misunderstanding how LVM and volumes work.
You can’t shrink it back, I guess you’ll need to remove this template and recreate it again.
Also you can use qvm-move/qvm-copy commands inside the template qube’s terminal to move the files from it to another qube.

The appVM XY has 100%, so no access!
Nothing can be opened there.

How can I now start this command execution from Dom0? So that all files are moved to the appVM LL. Unfortunately I don’t know any folder in this VM!

Dom0 terminal:
qvm-move/ qvm-copy
(templateVM)

Target:
appVM LL

You can try to connect to this qube’s console using qvm-console-dispvm vmname command in dom0.
Or you can mount this qube’s storage in disposable qube and move the data from it: