Thierry Delaitre
2010-Nov-27 20:36 UTC
[zfs-discuss] ZFS iscsitgtd & backing store no such file or directory after reboot
Hello,
A ZFS VDI related question. I''m exporting an iscsi share from a linux
box which i''m mounting on a Solaris 10 VDI broker and subsequently used
by the desktop providers. This is for a proof of concept. This works
fine under VDI 3.2.1 until i reboot the VDI broker.
After the broker reboots, the desktop providers are not able to see the
iscsi share anymore. The disk in the vdi pool and its snapshoot are
present. If i try to re-export the isci disk previously used prior to
the reboot of the VDI broker by the desktop provider using ''zfs set
shareiscsi=on'', i then get a ''iscsitgtd failed request to
share''
I''ve spent a few days on this one and don''t have a clue
despite
googling.
vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460 114M 765G 114M
-
vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460 at version1 0 - 114M
-
bash-3.00# zfs set shareiscsi=on
vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460
cannot share ''vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460'':
iscsitgtd
failed request to share
cannot share ''vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460 at
version1'':
iscsitgtd failed request to share
zfs set shareiscsi=off vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460
zfs set shareiscsi=on vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460
cannot share ''vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460 at
version1'':
iscsitgtd failed request to share
iscsitadm list target -v
Target: vdi/e8945efc-b9ec-4423-88fb-9772a0a50296 (Created after the
reboot)
iSCSI Name:
iqn.1986-03.com.sun:02:6a253034-c453-e81d-bc7e-f1af8f26063b
Alias: vdi/e8945efc-b9ec-4423-88fb-9772a0a50296
Connections: 1
Initiator:
iSCSI Name:
iqn.2009-08.com.sun.virtualbox.initiator:01:192.168.7.11
Alias: unknown
ACL list:
TPGT list:
LUN information:
LUN: 0
GUID: 600144f04cf146390000144f201a2c00
VID: SUN
PID: SOLARIS
Type: disk
Size: 20G
Backing store:
/dev/zvol/rdsk/vdi/e8945efc-b9ec-4423-88fb-9772a0a50296
Status: online
Target: vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460 (Created before the
reboot)
iSCSI Name:
iqn.1986-03.com.sun:02:a840ac46-41d9-41d7-c5c3-b930ac4a9852
Alias: vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460
Connections: 0
ACL list:
TPGT list:
LUN information:
LUN: 0
GUID: 600144f04cd5e8690000144f201a2c00
VID: SUN
PID: SOLARIS
Type: disk
Size: 1.0G
Backing store:
/dev/zvol/rdsk/vdi/ad03deb8-214f-4b8a-bd51-8dc8f819c460
Status: No such file or directory
Thanks
Thierry.
--
The University of Westminster is a charity and a company limited by
guarantee. Registration number: 977818 England. Registered Office:
309 Regent Street, London W1B 2UW, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20101127/22e39752/attachment.html>