LXC Wahnsinn

Yakuraku

Active Member
Sep 24, 2016
69
0
26
38
Ich habe heute versucht einen Container zu erzeugen, um ressourcen zu schonen.

Aktualieren und Herunterladen der Templates hat (dank Kommandozeile) funktioniert.
Aber das Erstellen des Containers funktioniert nicht!

Als Template nutze ich Debian 9.3
Habe sowohl Priviliged als Unprivilged versucht.

Beim erstellen des Container in ZFS (standart Mountpoint) bekomme ich den Fehler:
Code:
TASK ERROR: cannot open directory //rpool: No such file or directory

Beim erstellen des Containers in einem Verzeichnis bekomme ich den Fehler:
Code:
TASK ERROR: command 'mkfs.ext4 -O mmp -E 'root_owner=100000:100000' /ct-directory/images/100/vm-100-disk-0.raw' failed: exit code 144


Und bevor die Frage kommt: Nein ich habe kein anderes Linux getestet, weil ich ein Debian brauche!
 
Es scheint, es ist gar kein richtiger ZFS Pool angelegt oder dieser hat einen anderen Namen?!
Im CLI setze mal den Befehl

zpool list
zpool status

ab und schicke mal die Rückgaben zurück
 
TASK ERROR: cannot open directory //rpool: No such file or directory
Klingt danach, dass der zpool einen alternativen mount-point konfiguriert hat - das wird nicht unterstuetzt - siehe https://bugzilla.proxmox.com/show_bug.cgi?id=1873

TASK ERROR: command 'mkfs.ext4 -O mmp -E 'root_owner=100000:100000' /ct-directory/images/100/vm-100-disk-0.raw' failed: exit code 144
Sieht danach aus, als waere das ZFS als directory storage eingebunden, darauf funktionieren Container derzeit nicht.

Den Pool einfach als ZFS-local storage einbinden und beim default-mountpoint belassen, dann sollte das alles funktionieren
 
Ist ein Debian mit ZFS-Root, mit default Einstellungen. Wenn das Probleme macht, ist das sehr unpraktisch....
Code:
rpool                             3,25T   117G    96K  /
rpool/ROOT                         388G   117G    96K  none
rpool/ROOT/debian                  388G   117G   388G  /
rpool/ct-directory                  96K   117G    96K  /ct-directory

Warum funktioniert ZFS als "Directory Storage" nicht? Bin da etwas verwirrt.


Wenn ich das aber nun richtig verstehe, ist LXC keine Option für mich da weder ZFS-Root noch Directory auf ZFS unterstützt wird.........
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!