<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'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'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"><<a href="mailto:gpfsug-discuss-request@gpfsug.org" target="_blank">gpfsug-discuss-request@gpfsug.org</a>></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 'help' 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 "Re: Contents of gpfsug-discuss digest..."<br>
<br>
<br>
Today'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 <<a href="mailto:jonathan@buzzard.me.uk">jonathan@buzzard.me.uk</a>><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: <<a href="mailto:1399893139.27622.11.camel@buzzard.phy.strath.ac.uk">1399893139.27622.11.camel@buzzard.phy.strath.ac.uk</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
On Mon, 2014-05-12 at 10:46 +0800, Pavel Pokorny wrote:<br>
> Hello,<br>
> after discussion with Marc A Kaplan from IBM I finished with this<br>
> solution. So I am sharing it with all other user just in case you need<br>
> it in future.<br>
><br>
><br>
> Example placement policy file:<br>
><br>
><br>
> /* --- Enable .avi so it will not be denied by default --- */<br>
> RULE 'enable_avi' SET POOL 'data' FOR FILESET (nfsexport) WHERE<br>
> RegEx(lower(name),['\.avi$'])<br>
><br>
><br>
> /* --- Deny all following extensions --- */<br>
> RULE 'deny_files' SET POOL 'system' FOR FILESET (nfsexport) WHERE<br>
> RegEx(lower(name),['\.avi$|\.mp[ae1234]$|\.mpe?g[23]?$|\.eml$|\.idx$|<br>
> \.mbo?x$|\.msg$|\.ost$|\.otf$|\.pab$|\.pst$|\.aac$|\.aif*$|\.as[fx]$|<br>
> \.au$|\.flac$|\.m3u$|\.midi?$|\.mov$|\.ogg$|\.qtw?$|\.ram$|\.rmi?$|<br>
> \.rmvb$|\.snd$|\.swf$|\.vob$|\.wa[vx]$|\.wm[av]$|\.wvx$|\.bmp$|\.dib$|<br>
> \.eps$|\.gif$|\.img$|\.jfif$|\.jpe?g?$|\.pcx$|\.png$|\.psd?$|\.raw$|<br>
> \.if$|\.spiff$|\.tif*$'])<br>
><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'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'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 <<a href="mailto:zgiles@gmail.com">zgiles@gmail.com</a>><br>
To: gpfsug main discussion list <<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:<br>
        <CAMYZk=<a href="mailto:f5aQYqtm_hGJbc7EBqcKJXPi_RPynP6PcwEnUUN0z8Tg@mail.gmail.com">f5aQYqtm_hGJbc7EBqcKJXPi_RPynP6PcwEnUUN0z8Tg@mail.gmail.com</a>><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'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's >3.9K :) Probably OK for mp3'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>
<<a href="mailto:jonathan@buzzard.me.uk">jonathan@buzzard.me.uk</a>> wrote:<br>
> On Mon, 2014-05-12 at 10:46 +0800, Pavel Pokorny wrote:<br>
>> Hello,<br>
>> after discussion with Marc A Kaplan from IBM I finished with this<br>
>> solution. So I am sharing it with all other user just in case you need<br>
>> it in future.<br>
>><br>
>><br>
>> Example placement policy file:<br>
>><br>
>><br>
>> /* --- Enable .avi so it will not be denied by default --- */<br>
>> RULE 'enable_avi' SET POOL 'data' FOR FILESET (nfsexport) WHERE<br>
>> RegEx(lower(name),['\.avi$'])<br>
>><br>
>><br>
>> /* --- Deny all following extensions --- */<br>
>> RULE 'deny_files' SET POOL 'system' FOR FILESET (nfsexport) WHERE<br>
>> RegEx(lower(name),['\.avi$|\.mp[ae1234]$|\.mpe?g[23]?$|\.eml$|\.idx$|<br>
>> \.mbo?x$|\.msg$|\.ost$|\.otf$|\.pab$|\.pst$|\.aac$|\.aif*$|\.as[fx]$|<br>
>> \.au$|\.flac$|\.m3u$|\.midi?$|\.mov$|\.ogg$|\.qtw?$|\.ram$|\.rmi?$|<br>
>> \.rmvb$|\.snd$|\.swf$|\.vob$|\.wa[vx]$|\.wm[av]$|\.wvx$|\.bmp$|\.dib$|<br>
>> \.eps$|\.gif$|\.img$|\.jfif$|\.jpe?g?$|\.pcx$|\.png$|\.psd?$|\.raw$|<br>
>> \.if$|\.spiff$|\.tif*$'])<br>
>><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'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'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>
> 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>
<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>