<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Feb 3, 2017 1:50 PM, "Nir Soffer" <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Fri, Feb 3, 2017 at 2:29 PM, Sergey Kulikov <<a href="mailto:serg_k@msm.ru">serg_k@msm.ru</a>> wrote:<br>
><br>
><br>
> Hm... maybe I need to set any options, is there any way to force ovirt to mount with this extension, or version 4.2<br>
> there is only 4.1 selection in "New Domain" menu.<br>
> Current mount options:<br>
> type nfs4 (rw,relatime,vers=4.1,rsize=<wbr>65536,wsize=65536,namlen=255,<wbr>soft,nosharecache,proto=tcp,<wbr>port=0,timeo=600,retrans=6,<wbr>sec=sys,local_lock=none)<br>
><br>
> it should work only if forced option vers=4.2 ?<br>
> I thought it's implemented as feature to older version, not 4.2, there is few info about this.<br>
<br>
</div>Looks like ovirt engine does not allow nfs version 4.2.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">But custom options can be used. </div><div dir="auto">Y. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
We have this RFE:<br>
<a href="https://bugzilla.redhat.com/1406398" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>1406398</a><br>
<br>
So practically, both sparsify and pass discard with NFS are useless<br>
in the current version.<br>
<br>
I think this should be fix for next 4.1 build.<br>
<font color="#888888"><br>
Nir<br>
</font><div class="elided-text"><br>
><br>
><br>
> --<br>
><br>
><br>
><br>
> Friday, February 3, 2017, 14:45:43:<br>
><br>
><br>
><br>
><br>
><br>
>> On Thu, Feb 2, 2017 at 11:45 PM, Sergey Kulikov <<a href="mailto:serg_k@msm.ru">serg_k@msm.ru</a>> wrote:<br>
><br>
><br>
>> I've upgraded to 4.1 release, it have great feature "Pass<br>
>> discards", that now can be used without vdsm hooks,<br>
>> After upgrade I've tested it with NFS 4.1 storage, exported from<br>
>> netapp, but unfortunately found out, that<br>
>> it's not working, after some investigation, I've found, that NFS<br>
>> implementation(even 4.1) in Centos 7<br>
>> doesn't support sparse files and fallocate(FALLOC_FL_PUNCH_<wbr>HOLE),<br>
>> that quemu uses for file storage, it was<br>
>> added only in kernel 3.18, and sparse files is also announced feature of upcoming NFS4.2,<br>
>> sparsify also not working on this data domains(runs, but nothing happens).<br>
>><br>
>> This test also shows, that FALLOC_FL_PUNCH_HOLE not working, it<br>
>> was executed on centos ovirt host with mounted nfs share:<br>
>> # truncate -s 1024 test1<br>
>> # fallocate -p -o 0 -l 1024 test1<br>
>> fallocate: keep size mode (-n option) unsupported<br>
>><br>
>> Is there any plans to backport this feature to node-ng, or centos? or we should wait for RHEL 8?<br>
><br>
><br>
><br>
><br>
>> Interesting, I was under the impression it was fixed some time ago,<br>
>> for 7.2[1] (kernel-3.10.0-313.el7)<br>
>> Perhaps you are not mounted with 4.2?<br>
><br>
><br>
>> Y.<br>
>> [1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1079385" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1079385</a><br>
>><br>
>> NFS is more and more popular, so discards is VERY useful feature.<br>
>> I'm also planning to test fallocate on latest fedora with 4.x kernel and mounted nfs.<br>
>><br>
>> Thanks for your work!<br>
>><br>
>> --<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
>><br>
><br>
> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</div></blockquote></div><br></div></div></div>