icanic

iSCSI LUN Problem "Status Unavailable"

Recommended Posts

Greetings,

can someone help me please.

I had 1 iSCSI LUN working great, then I have tried to create another one and put the same Target, but then when I have created another iSCSI LUN, iSCSI just stopped working.

I have deleted target and one iSCSI LUN but there is one more iSCSI LUN in the list and it gave status unavailable and I cant delete it and when I try to create a new one, it just goes through the all steps but the new LUN is just doesn't show up.

Is there any way I can delete LUN via telnet or something. Please someone help, I really need iSCSI LUN functionality.

Thank you!

btw, I am on DSM 5.1-5022 Update 2

Share this post


Link to post
Share on other sites

OK, I have menaged to remove LUN's with this command:

 

mv /var/db/iscsi/EP_JNL /var/db/iscsi/EP_JNL.bak --- to rename EP_JNL

 

and after LUN's removed I have deleted .bak with rm /var/db/iscsi/EP_JNL.bak

 

But, now I have another problem. I hace successfully created LUN on Volume 1, but now when I try to create LUN on Volume 2 it just does not appear, it everything goes ok, but when I finnished with creating LUN the LUN does not appear.

 

Anyone have any idea?

Thank you!

Share this post


Link to post
Share on other sites