Even though I no longer work at Sun I was the original engineer of the
project so I might be able to help.
>From the looks of things your /etc/iscsi directory has a few previous
targets still listed. How full is the root partition? Try a 'df -h
/etc/iscsi' and see what it reports. I'm not sure why the older
targets haven't been removed, but they may be consuming space which is
possible causing a problem.
Next, since the daemon is dumping core there should be a core file in
the root directory. Can you run mdb on the core and give me a stack
trace?
Is there a reason you're using the -b option to iscsitadm and not
enabling ZFS to share the iscsi targets directly?
On Jan 7, 2008 2:54 PM, Aerotek LTD Sistem Yönetim
<[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello ,
>
>
>
> I am trying to delete a iscsi target but iscsi target daemon core dumps
> and exits. I couldnt find whats the problem here :
>
>
>
> # iscsitadm list target
>
> Target: srvnag11
>
> iSCSI Name: iqn.1986-03.com.sun:02:ea1527ea-aa75-c54c-fc88
> f106dc170017.srvnag11
>
>
>
> # iscsitadm delete target -u 0 srvnag11
>
> iscsitadm: Unable to contact target daemon
>
> #
>
>
>
> Logfile :
>
>
>
> # tail -f system-iscsitgt\:default.log
>
> [ Jan 7 23:40:56 Stopping because process dumped core. ]
>
> [ Jan 7 23:40:56 Executing stop method ("/lib/svc/method/svc-iscsitgt stop
> 90")
>
> . ]
>
> [ Jan 7 23:40:56 Method "stop" exited with status 0. ]
>
> [ Jan 7 23:40:56 Executing start method ("/lib/svc/method/svc-iscsitgt
> start").
>
> ]
>
> [ Jan 7 23:40:56 Method "start" exited with status 0. ]
>
> [ Jan 7 23:40:59 Stopping because process dumped core. ]
>
> [ Jan 7 23:40:59 Executing stop method ("/lib/svc/method/svc-iscsitgt stop
> 94")
>
> . ]
>
> [ Jan 7 23:40:59 Method "stop" exited with status 0. ]
>
> [ Jan 7 23:40:59 Executing start method ("/lib/svc/method/svc-iscsitgt
> start").
>
> ]
>
> [ Jan 7 23:40:59 Method "start" exited with status 0. ]
>
>
>
>
>
>
>
> Also one more strange problem I am facing. I can easily create iscsi targets
> but when I try to create iscsi target name srvng11 it gives error :
>
>
>
> # zfs list
>
> NAME USED AVAIL REFER MOUNTPOINT
>
> storage 752G 66.8G 26.9K /storage
>
> storage/srvng11 23.9K 377G 23.9K -
>
> storage/srvng11s 44.1K 177G 44.1K -
>
> storage/srvng12 44.1K 377G 44.1K -
>
>
>
> # iscsitadm create target -u 0 -b /dev/zvol/rdsk/storage/srvng11 srvng11
>
> iscsitadm: Error Internal error
>
>
>
>
>
> Solaris is nevada 78 .
>
> # iscsitadm show admin
>
> iscsitadm:
>
> Base Directory: /etc/iscsi
>
>
>
> # ls -s /etc/iscsi
>
> total 18
>
> 2 iqn.1986-03.com.sun:02:8ebed20f-4e59-41e8-e5c4-918ef43520e3.srvn11
>
> 2 iqn.1986-03.com.sun:02:e12fb93e-f368-e9f3-a137-aa884a57efdb.srvng12
>
> 2 iqn.1986-03.com.sun:02:ea1527ea-aa75-c54c-fc88-f106dc170017.srvnag11
>
> 2 iqn.1986-03.com.sun:02:eb87809d-08c9-c8ff-dbc5-a0e592def4f2.srvng11s
>
> 2 iscsi_v1.dbc
>
> 2 srvn11
>
> 2 srvnag11
>
> 2 srvng11s
>
> 2 srvng12
>
> #
>
>
>
>
>
> It would be great if you can help me on this I am stuck to these problems
> for 2 weeks.
>
>
>
>
>
> Regards,
>
> TarkanVeKurdu
> _______________________________________________
> storage-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/storage-discuss
>
>
--
Rick McNeal
A good friend will come and bail you out of jail ... but, a true
friend will be sitting next to you saying, "Damn .. that was fun!"
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss