<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 5:14 AM, Michael Rasmussen <span dir="ltr"><<a href="mailto:mir@miras.org" target="_blank">mir@miras.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 18 Feb 2016 07:13:36 +0100<br>
Stephan Budach <<a href="mailto:stephan.budach@JVM.DE">stephan.budach@JVM.DE</a>> wrote:<br>
<br>
><br>
> So, when I issue a simple ls -l on the folder of the vdisks, while the switchover is happening, the command somtimes comcludes in 18 to 20 seconds, but sometime ls will just sit there for minutes.<br>
><br>
</span>This is a known limitation in NFS. NFS was never intended to be<br>
clustered so what you experience is the NFS process on the client side<br>
keeps kernel locks for the now unavailable NFS server and any request<br>
to the process hangs waiting for these locks to be resolved. This can<br>
be compared to a situation where you hot-swap a drive in the pool<br>
without notifying the pool.<br>
<br>
Only way to resolve this is to forcefully kill all NFS client processes<br>
and the restart the NFS client.<br>
<br></blockquote><div><br></div><div>I've been running RSF-1 on OmniOS since about r151008.  All my clients have always been NFSv3 and NFSv4.   <br><br>My memory is a bit fuzzy, but when I first started testing RSF-1, OmniOS still had the Sun lock manager which was later replaced with the BSD lock manager.   This has had many difficulties.<br><br></div><div>I do remember that fail overs when I first started with RSF-1 never had these stalls, I believe this was because the lock state was stored in the pool and the server taking over the pool would inherit that state too.   That state is now lost when a pool is imported with the BSD lock manager.   <br><br></div><div>When I did testing I would do both full speed reading and writing to the pool and force fail overs, both by command line and by killing power on the active server.    Never did I have a fail over take more than about 30 seconds for NFS to fully resume data flow.   <br><br></div><div>Others who know more about the BSD lock manager vs the old Sun lock manager may be able to tell us more.  I'd also be curious if Nexenta has addressed this.<br><br></div><div>-Chip<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--<br>
Hilsen/Regards<br>
Michael Rasmussen<br>
<br>
Get my public GnuPG keys:<br>
michael <at> rasmussen <dot> cc<br>
<a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E" rel="noreferrer" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E</a><br>
mir <at> datanom <dot> net<br>
<a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C" rel="noreferrer" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C</a><br>
mir <at> miras <dot> org<br>
<a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917" rel="noreferrer" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917</a><br>
--------------------------------------------------------------<br>
/usr/games/fortune -es says:<br>
The founding fathers tried to set up a judicial system where the accused<br>
received a fair trial, not a system to insure an acquittal on<br>
technicalities.<br>
<br>_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
<br></blockquote></div><br></div></div>