[geeks] Linux LVM on iSCSI question

John Francini francini at mac.com
Fri Mar 26 10:28:32 CDT 2010


On 26 Mar 2010, at 11:19, Patrick Giagnocavo wrote:

> So I am looking at a Linux-oriented VM clustering solution.  They
> recommend that when using iSCSI as shared storage, that you set up LVM
> on it, and mount the iSCSI LUN on both machines in order to enable  
> live
> migration.
>
> Aren't there dangers in having 2 hosts both mount the same LUN?  How
> does LVM avoid causing filesystem corruption in such a case?


Which particular clustering solution is it?  Does it include any sort  
of distributed file lock manager to prevent exactly what you're  
(justly) worried about?

Absent any sort of cross-system locking protocol, yes -- you Don't  
Want To Do That.

Here in our shop (Dell EqualLogic storage array development), we use  
Linux servers extensively -- all with 'naked' volumes -- no LVM --  
since we can do most of the things on the arrays that one would  
normally do in LVM.

j



More information about the geeks mailing list