HP LeftHand SAN Solutions Support Document - Service Notes - VSA 7.0 for VMware ESX
31
Red Hat: Changing Authentication Type Causes Existing iSCSI Devices To Be
Renamed (3668)
Scenario
You configured an authentication group for iSCSI access. You then changed
the access configuration, either to require CHAP or to remove or change
CHAP requirements. After the change, the existing iSCSI devices are
renamed and cannot be remounted.
Workaround
To change the authentication type of any volume (LVM or otherwise), follow
these steps:
1 Unmount volumes and stop iSCSI services.
# /etc/init.d/iscsi stop
2 Make appropriate changes to the authentication group (i.e. change from
iqn to CHAP).
3 Make appropriate changes to the initiator (i.e. settings in /etc/iscsi.conf).
4 Start iSCSI services and remount volumes.
For LVM volume groups, the following steps are recommended since the
system allows iSCSI services to be stopped even though iscsi_sfnet driver is
still in use by the volume group.
To change authentication type of volumes being used in a volume group, follow
this procedure:
1 Unmount volume/volume group.
# umount /iSCSI
2 Deactivate the volume group.
# vgchange -a n vgiSCSI
3 Stop iSCSI services.
# /etc/init.d/iscsi stop
4 Use the change to use CHAP or whatever authentication you want to
test next.
5 Restart things in the reverse order: