EricTrentMiller
Enthusiast
Enthusiast

multiple esx hosts on one iSCSI LUN?

Jump to solution

I'm using openfiler as my iSCSI target, and I just mapped the entire available space to one LUN with the intent of using it for three ESX hosts.

Can I share one LUN accross multiple ESX hosts?

(or, do I need to create three LUNs...one per ESX host).

The reason I want to do one LUN is so I can bring up a VM on another ESX host without adding storage or moving the vm files.

0 Kudos
1 Solution

Accepted Solutions
eeg3
Commander
Commander

This is supported, and even required for things like vMotion, etc. Just make sure you have your SAN configured to allow simultaneous access to the same target.






____________

blog.eeg3.net | Useful VMware-related Links

If you found this or any other post helpful, please consider the use of the Helpful/Correct buttons to award points.

Blog: http://blog.eeg3.net

View solution in original post

0 Kudos
4 Replies
mittim12
Immortal
Immortal

You can share LUNS accross ESX host without any issues.






If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

Twitter: http://twitter.com/mittim12

eeg3
Commander
Commander

This is supported, and even required for things like vMotion, etc. Just make sure you have your SAN configured to allow simultaneous access to the same target.






____________

blog.eeg3.net | Useful VMware-related Links

If you found this or any other post helpful, please consider the use of the Helpful/Correct buttons to award points.

Blog: http://blog.eeg3.net
0 Kudos
EricTrentMiller
Enthusiast
Enthusiast

re "make sure you have your SAN configured to allow simultaneous access to the same target."

can openfiler do this?

there is an old sticky in the openfiler forums that seems to indicate otherwise (or is this referring to individual partitions ON a LUN, not individual LUNS)

http://forums.openfiler.com/viewtopic.php?id=877

0 Kudos
eeg3
Commander
Commander

They're correct that most filesystems do not allow this. VMFS does allow it, though.

I'm fairly certain OpenFiler allows multiple initiators hitting the same target, it's just that (like the thread suggests) most filesystems like ext2, etc. will not work in this manner.






____________

blog.eeg3.net | Useful VMware-related Links

If you found this or any other post helpful, please consider the use of the Helpful/Correct buttons to award points.

Blog: http://blog.eeg3.net