Moin Zusammen,
ist es möglich innerhalb eines LXC containers den
Ich versuche es gerade, komme aber nicht weiter. So sieht es momentan aus:
Im Proxmox selbst sind in der Datei
Wenn ich aber
Aber da gehe ich von aus, dass das ein Folgefehler ist, weil der Service nicht gestartet ist. Ach ja, die beiden Ordner, die im Service die Condition nicht erfüllen, existieren.
Firewall ist nicht aktiv.
Was fehlt mir noch?
Grüße
ist es möglich innerhalb eines LXC containers den
open-iscsi
service zu starten und damit ein Block-Device mitels iscsiadm
zu mounten?Ich versuche es gerade, komme aber nicht weiter. So sieht es momentan aus:
Code:
root@k3s-worker-0:/etc/iscsi# service open-iscsi status
* open-iscsi.service - Login to default iSCSI targets
Loaded: loaded (/lib/systemd/system/open-iscsi.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Sat 2022-09-03 21:54:24 UTC; 2s ago
|- ConditionDirectoryNotEmpty=|/etc/iscsi/nodes was not met
`- ConditionDirectoryNotEmpty=|/sys/class/iscsi_session was not met
Docs: man:iscsiadm(8)
man:iscsid(8)
Sep 01 21:45:36 k3s-worker-0 systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.
Sep 03 19:38:07 k3s-worker-0 systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.
Sep 03 19:38:30 k3s-worker-0 systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.
Sep 03 20:02:12 k3s-worker-0 systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.
Sep 03 20:02:33 k3s-worker-0 systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.
Sep 03 21:54:24 k3s-worker-0 systemd[1]: Condition check resulted in Login to default iSCSI targets being skipped.
root@k3s-worker-0:/etc/iscsi# modprobe iscsi_tcp
modprobe: FATAL: Module iscsi_tcp not found in directory /lib/modules/5.15.35-1-pve
Im Proxmox selbst sind in der Datei
/lib/modules-load.d/open-iscsi.conf
die Werte iscsi_tcp
und ib_iser
nicht auskommentiert.Wenn ich aber
iscsiadm -m discovery -t sendtargets -p xxx.xxx.xxx.xxx
ausführe (Mit der Iscsi Portal Adresse), dann kommt: cannot make connection to xxx.xxx.xxx.xxx: Connection refused
Aber da gehe ich von aus, dass das ein Folgefehler ist, weil der Service nicht gestartet ist. Ach ja, die beiden Ordner, die im Service die Condition nicht erfüllen, existieren.
Firewall ist nicht aktiv.
Was fehlt mir noch?
Grüße