CHAP password for iSCSI Target

iSCSI related applications
pigglett
New here
Posts: 2
Joined: Fri Jan 18, 2013 3:13 am

CHAP password for iSCSI Target

Postby pigglett » Fri Jan 18, 2013 3:38 am

Hi

I can't believe I have done this, but I have a vSphere environment which has been running with no problems using a TS-459Pro+ I have added another host to the VMware cluster, and when I came to configure the iSCSI target I realise that I cannot remember the CHAP password, I have been through the admin interface, and I cannot find anywhere to reset it, can some please help?? Firmware version is 3.8.1 Build 20121205

rinthos
Been there, done that
Posts: 598
Joined: Sun Jul 12, 2009 1:23 pm

Re: CHAP password for iSCSI Target

Postby rinthos » Sun Jan 20, 2013 3:24 pm

On the iSCSI target management page, you can set the CHAP password here for Targets....
(this is in firmware 3.8.1, but I don't think has changed for awhile).

Home -> Disk Management -> iSCSI

Locate the iSCSI Target on the Target Management page and click the middle button "Modify" for that target.
Attaching a screenshot to assist... :)
You do not have the required permissions to view the files attached to this post.

pigglett
New here
Posts: 2
Joined: Fri Jan 18, 2013 3:13 am

Re: CHAP password for iSCSI Target

Postby pigglett » Mon Jan 21, 2013 12:27 am

Thanks for coming back to me, I have been all through these pages, the only option I have is to view connections, I don't seem to be able to modify the target. The only thing I can modify are the attached LUNs. I have attached a screenshot.

I am thinking I may need to create a new target and LUN and migrate the virtual machines to this :(
You do not have the required permissions to view the files attached to this post.

tmt
Experience counts
Posts: 1015
Joined: Mon Nov 16, 2009 11:02 am

Re: CHAP password for iSCSI Target

Postby tmt » Mon Jan 21, 2013 11:40 pm

The password is stored in cleartext for each target. Look in the file /etc/config/iscsi_trgt.conf, for fields named "CHAPPasswd".

No comment on the wisdom of this scheme, but at least it will save your bacon.
SS-439, Ubuntu Server 12.04.3 LTS, EXT4, RAID10, 4xHitachi 5K1000
TS-112, 4.1.x Beta, EXT4, 1xHitachi 7K1000

goranmilo
First post
Posts: 1
Joined: Mon Mar 24, 2014 5:25 am

Re: CHAP password for iSCSI Target

Postby goranmilo » Wed Mar 09, 2016 5:48 am

I found. Thanks a lot.

User avatar
jg3
Starting out
Posts: 45
Joined: Mon Mar 12, 2012 6:52 am
Location: Fairfax, Virginia, USA

Re: CHAP password for iSCSI Target

Postby jg3 » Sat May 20, 2017 2:38 am

tmt wrote:The password is stored in cleartext for each target. Look in the file /etc/config/iscsi_trgt.conf, for fields named "CHAPPasswd".

No comment on the wisdom of this scheme, but at least it will save your bacon.



Thanks for this. Another rasher was spared.


Return to “iSCSI – Target & Virtual Disk”

Who is online

Users browsing this forum: No registered users and 2 guests