vmware_openfiler1.gif

The problem with OpenFiler is: it assigns LUN 0 to each volume.
If you want to use more than one LUN within ESX, it results in double LUN ID’s. ESX wants unique LUNs so you have to change the configuration of openfiler.

openfilerbug11.gif

On your openfiler box open the file /etc/ietd.conf.

openfilerbug2.gif

You see a 2-line record for each volume, and each one has Lun id 0.

openfilerbug3.gif

Change the Lun id’s to unique ascending numbers and save/close the file.

Restart the iSCSI services with the following command: service iscsi-target restart

openfilerbug4.gif

The final step, start a “Rescan” with the option “Scan for New Storage Devices”

openfilerbug5.gif

Advertisement

6 thoughts on “Double Lun IDs within ESX3 in combination with Openfiler

  1. A very nice work around. I took me for ever to find such a plain and simple work around.
    I wonder why there isn’t a fixed iscsi-target version available.
    Thank you VERY much!!!

  2. Really thank you and very nice work around. It helps me save on more day, as I have spent almost 4 hours figuring out what is the problem. But i think, this problem is only with OF 2.2. With OF 2.3, i haven’t experience this problem

    Good luck and keep up the good work.

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.