FreeBSD Port: istgt-20121028
Marek Salwerowicz
marek_sal at wp.pl
Sun Nov 18 23:06:17 UTC 2012
Hello,
I am using your istgt port at my FreeBSD box.
I've problem with creating targets for VirtualBox VDI disk images.
My config for VDI image:
[LogicalUnit2]
TargetName "esxi-base.vdi"
Mapping PortalGroup1 InitiatorGroup1
AuthMethod Auto
UseDigest Auto
ReadOnly Yes
UnitType Disk
UnitInquiry "FreeBSD" "iSCSI Disk" "0123" "00e0816537d52"
UnitOnline yes
BlockLength 512
QueueDepth 32
LUN0 Storage /iSCSI/esxi-base.vdi auto
LUN0 Option Serial 00e0816537d52
And after trying to reload the istgt service:
Nov 19 00:02:09 volt istgt[9957]: istgt version 0.5 (20121028)
Nov 19 00:02:09 volt istgt[9957]: normal mode
Nov 19 00:02:09 volt istgt[9957]: using kqueue
Nov 19 00:02:09 volt istgt[9957]: using host atomic
Nov 19 00:02:46 volt istgt[9958]: reload configuration #1
Nov 19 00:02:46 volt istgt[9958]: istgt_lu_disk.c:
578:istgt_lu_disk_init: ***ERROR*** LU2: LUN0: lu_disk_vbox_lun_init()
failed
Nov 19 00:02:46 volt istgt[9958]: istgt_lu.c:2091:istgt_lu_init_unit:
***ERROR*** LU2: lu_disk_init() failed
Nov 19 00:02:46 volt istgt[9958]:
istgt_lu.c:2345:istgt_lu_reload_update: ***ERROR*** LU2: lu_init_unit()
failed
% file /iSCSI/esxi-base.vdi
/iSCSI/esxi-base.vdi: VirtualBox Disk Image, major 1, minor 1
%
chmod of file is set to 644
I am using VirtualBox 4.2.4 under FreeBSD 9.1-PRERELEASE amd64.
Could you provide me some help / hints how to enable VDI disk images to
work as iSCSI targets?
Regards,
--
Marek Salwerowicz
More information about the freebsd-ports
mailing list