ich versuche seit Stunden schon ein iSCSI-Target beschreibbar einzubinden, leider ohne Erfolg und ich finde die Ursache nicht:
- zum Testen habe ich ein Volume mit 10 GB im ZFS-Pool erstellt
- mit targetcli-fb habe ich das iSCSI-Target erstellt, die Konfiguration sieht so aus:
Code: Alles auswählen
root@HomeServer:/etc/rtslib-fb-target# targetcli
targetcli shell version 2.1.53
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.
/> ls
o- / ......................................................................................................................... [...]
o- backstores .............................................................................................................. [...]
| o- block .................................................................................................. [Storage Objects: 1]
| | o- Raid1-Pool-Disk1 ................................................................ [/dev/zd0 (10.0GiB) write-thru activated]
| | o- alua ................................................................................................... [ALUA Groups: 1]
| | o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]
| o- fileio ................................................................................................. [Storage Objects: 0]
| o- pscsi .................................................................................................. [Storage Objects: 0]
| o- ramdisk ................................................................................................ [Storage Objects: 0]
o- iscsi ............................................................................................................ [Targets: 1]
| o- iqn.2024-05.de.domain.host:raid1pool.disk1 ........................................................................ [TPGs: 1]
| o- tpg1 ..................................................................................... [gen-acls, tpg-auth, 1-way auth]
| o- acls .......................................................................................................... [ACLs: 1]
| | o- iqn.2024-05.de.domain.host:raid1pool.disk1 ............................................. [auth via tpg, Mapped LUNs: 1]
| | o- mapped_lun0 ...................................................................... [lun0 block/Raid1-Pool-Disk1 (rw)]
| o- luns .......................................................................................................... [LUNs: 1]
| | o- lun0 ........................................................... [block/Raid1-Pool-Disk1 (/dev/zd0) (default_tg_pt_gp)]
| o- portals .................................................................................................... [Portals: 1]
| o- 0.0.0.0:3260 ..................................................................................................... [OK]
o- loopback ......................................................................................................... [Targets: 0]
o- vhost ............................................................................................................ [Targets: 0]
o- xen-pvscsi ....................................................................................................... [Targets: 0]
Vielen Dank für die Hilfe!
LG/A
EDIT:
Der Fehler saß vor dem Computer. Die DaemonTools geben einen festen Initiatornamen vor. Wenn man diesen in der Konfiguration des iSCSI-Target verwendet, klappt's auch mit dem Mounten im r/w Modus