<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I think I was missing a key piece in that I thought that just doing a mmafmctl fs1 prefetch –j cache would start grabbing everything (data and metadata) but it appears that the –list-file
 myfiles.txt is the trigger for the prefetch to work properly.  I mistakenly assumed that omitting the –list-file switch would prefetch all the data in the fileset. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black"><gpfsug-discuss-bounces@spectrumscale.org> on behalf of Venkateswara R Puvvada <vpuvvada@in.ibm.com><br>
<b>Reply-To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Date: </b>Thursday, April 6, 2017 at 5:45 AM<br>
<b>To: </b>gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Subject: </b>Re: [gpfsug-discuss] AFM misunderstanding<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif","serif"">Could you explain  "bits of actual file"  mentioned below ?  Prefetch with
</span><span style="font-size:10.0pt;font-family:Calibri">–metadata-only</span><span style="font-size:10.0pt;font-family:"sans-serif","serif"">pulls everything (xattrs, ACLs etc..) except data. Doing "</span><span style="font-size:10.0pt;font-family:Calibri">ls
 –ltrs</span><span style="font-size:10.0pt;font-family:"sans-serif","serif"">" shows file allocation size as zero if data prefetch  not  yet completed on them.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"sans-serif","serif"">~Venkat (vpuvvada@in.ibm.com)</span><br>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">From:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">Mark Bush <Mark.Bush@siriuscom.com></span><br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">To:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">gpfsug main discussion list <gpfsug-discuss@spectrumscale.org></span><br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">Date:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">04/06/2017 07:24 AM</span><br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">Subject:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">[gpfsug-discuss] AFM misunderstanding</span><br>
<span style="font-size:7.5pt;font-family:"sans-serif","serif";color:#5F5F5F">Sent by:        </span><span style="font-size:7.5pt;font-family:"sans-serif","serif"">gpfsug-discuss-bounces@spectrumscale.org</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" noshade="" style="color:#AAAAAA" align="center">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:Calibri">When I setup a AFM relationship (let’s just say I’m doing RO), does prefetch bring bits of the actual file over to the cache or is it only ever metadata?  I know there is a –metadata-only switch but it appears
 that if I try a mmafmctl prefetch operation and then I do a ls –ltrs on the cache it’s still 0 bytes.  I do see the queue increasing when I do a mmafmctl getstate.  I realize that the data truly only flows once the file is requested (I just do a dd if=mycachedfile
 of=/dev/null).  But this is just my test env.  How to I get the bits to flow before I request them assuming that I will at some point need them?  Or do I just misunderstand AFM altogether?  I’m more used to mirroring so maybe that’s my frame of reference and
 it’s not the AFM architecture.  </span><br>
<span style="font-size:10.0pt;font-family:Calibri"> </span><br>
<span style="font-size:10.0pt;font-family:Calibri"> </span><br>
<span style="font-size:10.0pt;font-family:Calibri">Mark</span> <o:p></o:p></p>
<p><span style="font-size:7.5pt">This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from
 disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. This message may be viewed by parties at Sirius Computer Solutions
 other than those named in the message header. This message does not contain an official representation of Sirius Computer Solutions. If you have received this communication in error, notify Sirius Computer Solutions immediately and (i) destroy this message
 if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
</span><o:p></o:p></p>
<p><a href="http://www.siriuscom.com/"><b><span style="font-size:10.0pt;font-family:Calibri;color:#0082BF">Sirius Computer Solutions</span></b></a>
<tt><span style="font-size:10.0pt">_______________________________________________</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at spectrumscale.org</tt><br>
</span><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style="font-size:10.0pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><o:p></o:p></p>
<p><o:p> </o:p></p>
</div>
</body>
</html>