<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>yes the concern is with the shared folder which is where the Shared SAN storage is mounted on the host. If the Windows VM writes to a file at the same time as one of the Redhat Nodes then there needs to be file locking or else data corruption will occur.
 This is already set up between the Redhat Nodes.</p>
<p><br>
</p>
<p>I think it is working through the host, because I believe Windows natively can't read GFS2 file systems... and I can see the shared files in Windows fine. But I could be wrong</p>
<p><br>
</p>
<p>Paul<br>
</p>
<br>
<br>
<div style="color: rgb(20, 19, 18);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> vbox-dev-bounces@virtualbox.org <vbox-dev-bounces@virtualbox.org> on behalf of Klaus Espenlaub <klaus.espenlaub@oracle.com><br>
<b>Sent:</b> 10 October 2016 13:53<br>
<b>To:</b> vbox-dev@virtualbox.org<br>
<b>Subject:</b> Re: [vbox-dev] Do guest VMs communicate with external file systems through the host</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Paul,<br>
<br>
On 10.10.2016 15:06, Paul wrote:<br>
> Hi,<br>
><br>
> I have a guest Windows VM under Redhat and the host is clustered with 2<br>
> other Redhat nodes. All three nodes can see a GFS2 SAN SCSI storage device.<br>
> The GFS2 file system is mounted on a folder on the 3 RH nodes and is<br>
> also set as a shared folder in Virtualbox so all 3+1 machines can now<br>
> see the SAN storage.<br>
><br>
> So my question is about file locking. Does the Windows VM talk to the<br>
> SAN file system through the host kernel, if so then I believe the<br>
> clustered file locking should work fine, if not then it definitely won't.<br>
<br>
Is your question specific to shared folders?<br>
<br>
Then the answer is that VirtualBox on Linux doesn't rely on file locking <br>
(as discretionary locking is a notoriously unreliable thing, and <br>
mandatory locking is too unusual). It simply performs the file operations.<br>
<br>
Klaus<br>
<br>
> Thank you for reading<br>
><br>
> Regards<br>
><br>
> Paul<br>
_______________________________________________<br>
vbox-dev mailing list<br>
vbox-dev@virtualbox.org<br>
<a previewremoved="true" id="LPlnk548818" href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
</div>
</span></font></div>
</div>
</body>
</html>