`<div dir="ltr">Working + Broken Config below. On a positive note I'm very happy this is working. The performance improvement over a VM using NFS on a virtual 10GBE switch is significant.<div><br></div><div><div>Working</div><div><br></div><div>root@storage1:/main# zfs get all main/zones</div><div>NAME PROPERTY VALUE SOURCE</div><div>main/zones type filesystem -</div><div>main/zones creation Tue Jan 10 4:20 2017 -</div><div>main/zones used 7.53G -</div><div>main/zones available 3.71T -</div><div>main/zones referenced 226M -</div><div>main/zones compressratio 1.06x -</div><div>main/zones mounted yes -</div><div>main/zones quota none default</div><div>main/zones reservation none default</div><div>main/zones recordsize 128K default</div><div>main/zones mountpoint /main/zones default</div><div>main/zones sharenfs off default</div><div>main/zones checksum on default</div><div>main/zones compression lz4 inherited from main</div><div>main/zones atime on default</div><div>main/zones devices on default</div><div>main/zones exec on default</div><div>main/zones setuid on default</div><div>main/zones readonly off default</div><div>main/zones zoned off default</div><div>main/zones snapdir hidden default</div><div>main/zones aclmode discard default</div><div>main/zones aclinherit restricted default</div><div>main/zones canmount on default</div><div>main/zones xattr on default</div><div>main/zones copies 1 default</div><div>main/zones version 5 -</div><div>main/zones utf8only off -</div><div>main/zones normalization none -</div><div>main/zones casesensitivity sensitive -</div><div>main/zones vscan off default</div><div>main/zones nbmand off default</div><div>main/zones sharesmb off default</div><div>main/zones refquota none default</div><div>main/zones refreservation none default</div><div>main/zones primarycache all default</div><div>main/zones secondarycache all default</div><div>main/zones usedbysnapshots 0 -</div><div>main/zones usedbydataset 226M -</div><div>main/zones usedbychildren 7.31G -</div><div>main/zones usedbyrefreservation 0 -</div><div>main/zones logbias latency default</div><div>main/zones dedup off default</div><div>main/zones mlslabel none default</div><div>main/zones sync standard default</div><div>main/zones refcompressratio 2.05x -</div><div>main/zones written 226M -</div><div>main/zones logicalused 7.96G -</div><div>main/zones logicalreferenced 463M -</div><div>main/zones filesystem_limit none default</div><div>main/zones snapshot_limit none default</div><div>main/zones filesystem_count none default</div><div>main/zones snapshot_count none default</div><div>main/zones redundant_metadata all default</div><div><br></div><div>root@storage1:/main# /usr/bin/ls -lV zones/</div><div>total 2</div><div>drwxr-xr-x 2 root root 3 Jan 10 04:20 images</div><div> owner@:rwxp-DaARWcCos:-------:allow</div><div> group@:r-x---a-R-c--s:-------:allow</div><div> everyone@:r-x---a-R-c--s:-------:allow</div><div>drwx------ 4 root root 5 Jan 10 13:20 lx0</div><div> owner@:rwxp-DaARWcCos:-------:allow</div><div> group@:------a-R-c--s:-------:allow</div><div> everyone@:------a-R-c--s:-------:allow</div><div><br></div><div> </div><div>Broken</div><div><br></div><div>root@storage1:/main# zfs get all main/zones</div><div>NAME PROPERTY VALUE SOURCE</div><div>main/zones type filesystem -</div><div>main/zones creation Tue Jan 10 13:57 2017 -</div><div>main/zones used 226M -</div><div>main/zones available 3.71T -</div><div>main/zones referenced 226M -</div><div>main/zones compressratio 2.05x -</div><div>main/zones mounted yes -</div><div>main/zones quota none default</div><div>main/zones reservation none default</div><div>main/zones recordsize 128K default</div><div>main/zones mountpoint /main/zones default</div><div>main/zones sharenfs off default</div><div>main/zones checksum on default</div><div>main/zones compression lz4 inherited from main</div><div>main/zones atime off local</div><div>main/zones devices on default</div><div>main/zones exec on default</div><div>main/zones setuid on default</div><div>main/zones readonly off default</div><div>main/zones zoned off default</div><div>main/zones snapdir hidden local</div><div>main/zones aclmode passthrough local</div><div>main/zones aclinherit passthrough local</div><div>main/zones canmount on default</div><div>main/zones xattr on default</div><div>main/zones copies 1 default</div><div>main/zones version 5 -</div><div>main/zones utf8only on -</div><div>main/zones normalization formD -</div><div>main/zones casesensitivity insensitive -</div><div>main/zones vscan off default</div><div>main/zones nbmand on local</div><div>main/zones sharesmb off local</div><div>main/zones refquota none default</div><div>main/zones refreservation none default</div><div>main/zones primarycache all default</div><div>main/zones secondarycache all default</div><div>main/zones usedbysnapshots 0 -</div><div>main/zones usedbydataset 226M -</div><div>main/zones usedbychildren 0 -</div><div>main/zones usedbyrefreservation 0 -</div><div>main/zones logbias latency default</div><div>main/zones dedup off default</div><div>main/zones mlslabel none default</div><div>main/zones sync standard default</div><div>main/zones refcompressratio 2.05x -</div><div>main/zones written 226M -</div><div>main/zones logicalused 463M -</div><div>main/zones logicalreferenced 463M -</div><div>main/zones filesystem_limit none default</div><div>main/zones snapshot_limit none default</div><div>main/zones filesystem_count none default</div><div>main/zones snapshot_count none default</div><div>main/zones redundant_metadata all default</div><div><br></div><div>root@storage1:/main# /usr/bin/ls -lV ./zones/</div><div>total 1</div><div>drwxrwxrwx+ 2 root root 3 Jan 10 13:57 images</div><div> user:root:rwxpdDaARWcCos:fd----I:allow</div><div> everyone@:rwxpdDaARWc--s:fd----I:allow</div><div> owner@:rwxp-DaARWcCos:-------:allow</div><div> group@:r-x---a-R-c--s:-------:allow</div><div> everyone@:r-x---a-R-c--s:-------:allow</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 5:40 AM, Илья Кулагин <span dir="ltr"><<a href="mailto:kiv@kiv.pp.ru" target="_blank">kiv@kiv.pp.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi all.<br>
<br>
1st, it seems to me that it is necessary for all lx-users to
find/share/explain some common steps to debug software misbehaviour
in lx zone. Because for my (very small, of course) practice, linux
software often is based on strange assumptions and even 'dirty
hacks'.<br>
Maybe with dtrace, like it was done for 'unimplemented syscalls' in
SmartOS wiki
<a class="m_-8464713255628621748moz-txt-link-freetext" href="https://wiki.smartos.org/display/DOC/LX+Branded+Zones#LXBrandedZones-huntingforunsupportedsyscalls" target="_blank">https://wiki.smartos.org/<wbr>display/DOC/LX+Branded+Zones#<wbr>LXBrandedZones-<wbr>huntingforunsupportedsyscalls</a><br>
Maybe whatelse...<span class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr">So i have reproducible steps and also solve my
problem.
<div><br>
</div>
<div>If I create my dataset via napp-it. It seems like it
applies special permissions. LX will complain that other and
group should not have write permissions on the zone
directory. So I remove these via chmod o-w and chmod g-w.</div>
</div>
</blockquote>
<br></span>
I think that in this case it will be useful that you compare full
zfs properties list (`zfs get all ` for zone root) and full acls
(`/usr/bin/ls -lV ` -- of course, issued from host with zone running
to display actual permissions while FS is mounted) for both zones -
working and crashing ones.<br>
<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div><br>
</div>
<div>At this point I can create the zone and in doing so I can
reproduce the error. If I create the data set with your
standard zfs create tank/zones the permissions are fine by
default and the bug is not reproducible.</div>
<div><br>
</div>
<div>So somehow somewhere whatever is happening underneath the
hood is sensitive to these permissions on the second write in
this program.</div>
<div><br>
</div>
<div>Strange indeed.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jan 9, 2017 at 10:03 PM, Dan
McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> On Jan 9, 2017, at 10:01 PM, Mini Trader <<a href="mailto:miniflowtrader@gmail.com" target="_blank">miniflowtrader@gmail.com</a>>
wrote:<br>
><br>
> Just to reiterate on a fresh install of 20 I got no
error. Different hardware too.<br>
<br>
</span>WEIRD. (Sorry I didn't catch that earlier. Juggling
other balls concurrently!)<br>
<br>
Okay, thanks for the update. Not sure if there's anything I
can do in the immediate term, but thanks for keeping me
informed (and giving me the full zonecfg).<br>
<br>
Thanks!<br>
<span class="m_-8464713255628621748HOEnZb"><font color="#888888">Dan<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_-8464713255628621748mimeAttachmentHeader"></fieldset>
<br>
</span><span class=""><pre>______________________________<wbr>_________________
OmniOS-discuss mailing list
<a class="m_-8464713255628621748moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.<wbr>com</a>
<a class="m_-8464713255628621748moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a>
</pre>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_-8464713255628621748moz-signature" cols="72">--
С уважением, Илья Кулагин</pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
<br></blockquote></div><br></div>`