<div dir="ltr">Hello,<div>just to clarify. Customer need is very easy: Deny storing selected files extension in specific filesets.</div><div>I also don&#39;t like the way to direct placement to metadata only pool. I also know that small filse can actually be stored there.</div>
<div>I will appreciate more help how to make it. I don&#39;t think that expalanation to customer that his need is stupid, is a good approach to the customer.</div><div>If there is or not .divx extension is not important, we care about GPFS stuff and the extensions were selected by customer.</div>
<div>Thank you, Pavel</div><div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="border-collapse:collapse"><font style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:13px;font-weight:bold"><span style="font-size:small"><div>
--</div><div><font style="font-size:13px"><span style="font-size:small">Ing. Pavel Pokornę</span></font></div><div><font face="arial, sans-serif" style="font-weight:normal"><font color="#333333">DATERA s.r.o. </font></font><span style="font-size:13px;font-weight:normal"><span style="color:rgb(255,0,0)">|</span> </span><font face="arial, sans-serif" style="font-weight:normal"><font color="#333333">Ovocnę trh 580/2</font></font><font face="arial, sans-serif" style="font-weight:normal"><font color="#333333"> </font></font><span style="font-size:13px;font-weight:normal"><span style="color:rgb(255,0,0)">|</span> Praha</span><font face="arial, sans-serif" style="font-weight:normal"><font color="#333333"> </font></font><span style="font-size:13px;font-weight:normal;color:rgb(255,0,0)">|</span><font face="arial, sans-serif" style="font-weight:normal"> Czech Republic</font></div>
</span></font></span><div><span style="border-collapse:collapse"><font face="arial, sans-serif" style="color:rgb(51,51,51);font-family:arial,sans-serif"><a href="http://www.datera.cz" target="_blank">www.datera.cz</a> </font><span style="color:rgb(255,0,0);font-family:arial,sans-serif;font-size:13px">|</span><font face="arial, sans-serif" style="color:rgb(51,51,51);font-family:arial,sans-serif"> Mobil: </font><a value="+420602357194" style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:13px">+420 602 357 194</a><font face="arial, sans-serif" style="color:rgb(51,51,51);font-family:arial,sans-serif"> </font><span style="color:rgb(255,0,0);font-family:arial,sans-serif;font-size:13px">|</span><font face="arial, sans-serif" style="color:rgb(51,51,51);font-family:arial,sans-serif"> E-mail: </font><a href="mailto:pavel.pokorny@datera.cz" style="color:rgb(28,81,168);font-family:arial,sans-serif;font-size:13px" target="_blank">pavel.pokorny@datera.cz</a></span><span style="color:rgb(51,51,51);font-family:arial,sans-serif"> </span></div>
<div><span style="color:rgb(51,51,51);font-family:arial,sans-serif"><img src="http://ide.datera.cz/logo-datera.jpg"><br></span></div></div></div>
<br><br><div class="gmail_quote">On Tue, May 13, 2014 at 7:00 PM,  <span dir="ltr">&lt;<a href="mailto:gpfsug-discuss-request@gpfsug.org" target="_blank">gpfsug-discuss-request@gpfsug.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send gpfsug-discuss mailing list submissions to<br>
        <a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gpfsug-discuss-request@gpfsug.org">gpfsug-discuss-request@gpfsug.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gpfsug-discuss-owner@gpfsug.org">gpfsug-discuss-owner@gpfsug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gpfsug-discuss digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: gpfsug-discuss Digest, Vol 28, Issue 6 (Jonathan Buzzard)<br>
   2. Re: gpfsug-discuss Digest, Vol 28, Issue 6 (Zachary Giles)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 12 May 2014 12:12:19 +0100<br>
From: Jonathan Buzzard &lt;<a href="mailto:jonathan@buzzard.me.uk">jonathan@buzzard.me.uk</a>&gt;<br>
To: <a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a><br>
Subject: Re: [gpfsug-discuss] gpfsug-discuss Digest, Vol 28, Issue 6<br>
Message-ID: &lt;<a href="mailto:1399893139.27622.11.camel@buzzard.phy.strath.ac.uk">1399893139.27622.11.camel@buzzard.phy.strath.ac.uk</a>&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
On Mon, 2014-05-12 at 10:46 +0800, Pavel Pokorny wrote:<br>
&gt; Hello,<br>
&gt; after discussion with Marc A Kaplan from IBM I finished with this<br>
&gt; solution. So I am sharing it with all other user just in case you need<br>
&gt; it in future.<br>
&gt;<br>
&gt;<br>
&gt; Example placement policy file:<br>
&gt;<br>
&gt;<br>
&gt; /* --- Enable .avi so it will not be denied by default --- */<br>
&gt; RULE &#39;enable_avi&#39; SET POOL &#39;data&#39; FOR FILESET (nfsexport) WHERE<br>
&gt; RegEx(lower(name),[&#39;\.avi$&#39;])<br>
&gt;<br>
&gt;<br>
&gt; /* --- Deny all following extensions --- */<br>
&gt; RULE &#39;deny_files&#39; SET POOL &#39;system&#39; FOR FILESET (nfsexport) WHERE<br>
&gt; RegEx(lower(name),[&#39;\.avi$|\.mp[ae1234]$|\.mpe?g[23]?$|\.eml$|\.idx$|<br>
&gt; \.mbo?x$|\.msg$|\.ost$|\.otf$|\.pab$|\.pst$|\.aac$|\.aif*$|\.as[fx]$|<br>
&gt; \.au$|\.flac$|\.m3u$|\.midi?$|\.mov$|\.ogg$|\.qtw?$|\.ram$|\.rmi?$|<br>
&gt; \.rmvb$|\.snd$|\.swf$|\.vob$|\.wa[vx]$|\.wm[av]$|\.wvx$|\.bmp$|\.dib$|<br>
&gt; \.eps$|\.gif$|\.img$|\.jfif$|\.jpe?g?$|\.pcx$|\.png$|\.psd?$|\.raw$|<br>
&gt; \.if$|\.spiff$|\.tif*$&#39;])<br>
&gt;<br>
<br>
To demonstrate why this is a wack-a-mole exercise, as a user of your<br>
system I will just save in iPod friendly format, all my audio AAC<br>
encoded in .m4a files, all my video H.264 encoded in .m4v files, and my<br>
audiobooks in .m4b format :-)<br>
<br>
I would further note that it is rather trivial to pick a random<br>
extension say .sdf and associate that with just about any program, most<br>
of which examine the contents of the file and don&#39;t rely on the<br>
extension.<br>
<br>
Further noting if you are continuing in your wack-a-mole exercise I<br>
could use .divx which you have conveniently not blocked.<br>
<br>
Finally being the resourceful sort I will just embed it all in a PDF, or<br>
word document, or powerpoint, or ...<br>
<br>
I don&#39;t know exactly what your customer is expecting, but this sounds<br>
like a management idea, with little understanding of how things work in<br>
the real world.<br>
<br>
<br>
JAB.<br>
<br>
--<br>
Jonathan A. Buzzard                 Email: jonathan (at) <a href="http://buzzard.me.uk" target="_blank">buzzard.me.uk</a><br>
Fife, United Kingdom.<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 12 May 2014 10:02:04 -0400<br>
From: Zachary Giles &lt;<a href="mailto:zgiles@gmail.com">zgiles@gmail.com</a>&gt;<br>
To: gpfsug main discussion list &lt;<a href="mailto:gpfsug-discuss@gpfsug.org">gpfsug-discuss@gpfsug.org</a>&gt;<br>
Subject: Re: [gpfsug-discuss] gpfsug-discuss Digest, Vol 28, Issue 6<br>
Message-ID:<br>
        &lt;CAMYZk=<a href="mailto:f5aQYqtm_hGJbc7EBqcKJXPi_RPynP6PcwEnUUN0z8Tg@mail.gmail.com">f5aQYqtm_hGJbc7EBqcKJXPi_RPynP6PcwEnUUN0z8Tg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
To further the wack-a-mole problem:<br>
If you set those extensions to be in the system pool and assume the<br>
system pool has no data-disks, it is still possible for GPFS 3.5 to<br>
create a file in the system pool if one is utilizing the<br>
small-files-in-metadata feature (whatever it&#39;s called now) and if the<br>
file is 0-3.9K in size where it will be stored in the xattrs.<br>
So, this only works for mp3&#39;s &gt;3.9K :) Probably OK for mp3&#39;s but not<br>
if, say, you wanted to restrict .txt files, which are often that<br>
small.<br>
<br>
<br>
<br>
On Mon, May 12, 2014 at 7:12 AM, Jonathan Buzzard<br>
&lt;<a href="mailto:jonathan@buzzard.me.uk">jonathan@buzzard.me.uk</a>&gt; wrote:<br>
&gt; On Mon, 2014-05-12 at 10:46 +0800, Pavel Pokorny wrote:<br>
&gt;&gt; Hello,<br>
&gt;&gt; after discussion with Marc A Kaplan from IBM I finished with this<br>
&gt;&gt; solution. So I am sharing it with all other user just in case you need<br>
&gt;&gt; it in future.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Example placement policy file:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; /* --- Enable .avi so it will not be denied by default --- */<br>
&gt;&gt; RULE &#39;enable_avi&#39; SET POOL &#39;data&#39; FOR FILESET (nfsexport) WHERE<br>
&gt;&gt; RegEx(lower(name),[&#39;\.avi$&#39;])<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; /* --- Deny all following extensions --- */<br>
&gt;&gt; RULE &#39;deny_files&#39; SET POOL &#39;system&#39; FOR FILESET (nfsexport) WHERE<br>
&gt;&gt; RegEx(lower(name),[&#39;\.avi$|\.mp[ae1234]$|\.mpe?g[23]?$|\.eml$|\.idx$|<br>
&gt;&gt; \.mbo?x$|\.msg$|\.ost$|\.otf$|\.pab$|\.pst$|\.aac$|\.aif*$|\.as[fx]$|<br>
&gt;&gt; \.au$|\.flac$|\.m3u$|\.midi?$|\.mov$|\.ogg$|\.qtw?$|\.ram$|\.rmi?$|<br>
&gt;&gt; \.rmvb$|\.snd$|\.swf$|\.vob$|\.wa[vx]$|\.wm[av]$|\.wvx$|\.bmp$|\.dib$|<br>
&gt;&gt; \.eps$|\.gif$|\.img$|\.jfif$|\.jpe?g?$|\.pcx$|\.png$|\.psd?$|\.raw$|<br>
&gt;&gt; \.if$|\.spiff$|\.tif*$&#39;])<br>
&gt;&gt;<br>
&gt;<br>
&gt; To demonstrate why this is a wack-a-mole exercise, as a user of your<br>
&gt; system I will just save in iPod friendly format, all my audio AAC<br>
&gt; encoded in .m4a files, all my video H.264 encoded in .m4v files, and my<br>
&gt; audiobooks in .m4b format :-)<br>
&gt;<br>
&gt; I would further note that it is rather trivial to pick a random<br>
&gt; extension say .sdf and associate that with just about any program, most<br>
&gt; of which examine the contents of the file and don&#39;t rely on the<br>
&gt; extension.<br>
&gt;<br>
&gt; Further noting if you are continuing in your wack-a-mole exercise I<br>
&gt; could use .divx which you have conveniently not blocked.<br>
&gt;<br>
&gt; Finally being the resourceful sort I will just embed it all in a PDF, or<br>
&gt; word document, or powerpoint, or ...<br>
&gt;<br>
&gt; I don&#39;t know exactly what your customer is expecting, but this sounds<br>
&gt; like a management idea, with little understanding of how things work in<br>
&gt; the real world.<br>
&gt;<br>
&gt;<br>
&gt; JAB.<br>
&gt;<br>
&gt; --<br>
&gt; Jonathan A. Buzzard                 Email: jonathan (at) <a href="http://buzzard.me.uk" target="_blank">buzzard.me.uk</a><br>
&gt; Fife, United Kingdom.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gpfsug-discuss mailing list<br>
&gt; gpfsug-discuss at <a href="http://gpfsug.org" target="_blank">gpfsug.org</a><br>
&gt; <a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
<br>
<br>
<br>
--<br>
Zach Giles<br>
<a href="mailto:zgiles@gmail.com">zgiles@gmail.com</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://gpfsug.org" target="_blank">gpfsug.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
<br>
<br>
End of gpfsug-discuss Digest, Vol 28, Issue 8<br>
*********************************************<br>
</blockquote></div><br></div></div></div>