iscsi not working on Oracle Linux, RHEL after reboot, how to fix

1- Make Sure nothing is using the targets
2- Service iscsid stop
3- yum erase iscsi-initiator-utils
4- Make sure /var/lib/iscsi is empty , there are no leftovers
5- yum install iscsi-initiator-utils
6- discover targets
#iscsiadm -m discovery -t st -p x.x.x.x -l eth2 (where x.x.x.x is your SAN target ip)
#iscsiadm -m discovery -t st -p x.x.x.x -l eth3
7- Login to targets
#iscsiadm -m node –loginall all
8- Make sure you see them all
#iscsiadm -m session
9- Reboot

Thanks Oracle support

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s