<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Marc,
<div><br>
</div>
<div>Thanks. With the migrate option, does it remove the second copy if already present? Or do you still need to do an mmrestripefs to reclaim the space?</div>
<div><br>
</div>
<div>Related: if the storage pool has multiple failure groups, will GPFS place the data into a single pool, or will it spray the<span style="font-size: 10pt;"> data over all NSD disks in all failure groups?</span></div>
<div><br>
</div>
<div>I think I'll stick to using a pool with NSD disks in a single failure group, so I know where the files are, but would be useful to know. I assume that if the pool then goes offline, I won't lose my whole FS, just not have access to the non replicated fileset?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Simon<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF750268" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Marc A Kaplan [makaplan@us.ibm.com]<br>
<b>Sent:</b> 30 November 2015 17:58<br>
<b>To:</b> gpfsug main discussion list<br>
<b>Subject:</b> Re: [gpfsug-discuss] Placement policies and copies<br>
</font><br>
</div>
<div></div>
<div><font size="2" face="sans-serif">From the Advanced Admin book:</font><br>
<br>
<font size="2" color="#212100" face="}">File placement rules:</font><br>
<br>
<font size="1" color="#212100" face="}"><b>RULE </b>[’<i>RuleName</i>’]</font><br>
<font size="1" color="#212100" face="}"><b>SET POOL </b>’<i>PoolName</i>’</font><br>
<font size="1" color="#212100" face="}">[<b>LIMIT </b>(<i>OccupancyPercentage</i>)]</font><br>
<font size="1" color="#212100" face="}">[<b>REPLICATE </b>(<i>DataReplication</i>)]</font><br>
<font size="1" color="#212100" face="}">[<b>FOR FILESET </b>(’<i>FilesetName</i>’[,’<i>FilesetName</i>’]...)]</font><br>
<font size="1" color="#212100" face="}">[<b>WHERE </b><i>SqlExpression</i>]</font><br>
<br>
<br>
<font size="2" color="#212100" face="}">So, use REPLICATE(1)</font><br>
<br>
<font size="2" color="#212100" face="}">That's for new files as they are being created.</font><br>
<br>
<font size="2" color="#212100" face="}">You can use mmapplypolicy and the MIGRATE rule to change the replication factor of files that already exist.</font><font size="2" face="sans-serif"><br>
</font><br>
<font size="2" face="sans-serif">--marc of GPFS.</font><br>
<br>
<br>
<br>
<font size="1" color="#5f5f5f" face="sans-serif">From:        </font><font size="1" face="sans-serif">"Simon Thompson (Research Computing - IT Services)" <S.J.Thompson@bham.ac.uk></font><br>
<font size="1" color="#5f5f5f" face="sans-serif">To:        </font><font size="1" face="sans-serif">gpfsug main discussion list <gpfsug-discuss@spectrumscale.org></font><br>
<font size="1" color="#5f5f5f" face="sans-serif">Date:        </font><font size="1" face="sans-serif">11/30/2015 11:27 AM</font><br>
<font size="1" color="#5f5f5f" face="sans-serif">Subject:        </font><font size="1" face="sans-serif">[gpfsug-discuss] Placement policies and copies</font><br>
<font size="1" color="#5f5f5f" face="sans-serif">Sent by:        </font><font size="1" face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br>
<hr noshade="">
<br>
<br>
<br>
<tt><font size="2">Hi,<br>
<br>
I have a file system which has the default number of data copies set to 2.<br>
<br>
I now have some data Id like to have which only has 1 copy made. I know that files and directories don't inherit 1 copy based on their parent.<br>
<br>
Can I do this with a placement rule to change the number of copies to 1?<br>
<br>
I don't really want to have to find the file afterwards and fix up as that requires an mmrestripefs to clear the second copy.<br>
<br>
Or if I have a pool which only has nsd disks in a single failure group and use a placement policy for that, would that work? Or will gpfs forever warn me that due to fs changes I have data at risk?<br>
<br>
Thanks<br>
<br>
Simon<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at spectrumscale.org<br>
</font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank"><tt><font size="2">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size="2"><br>
<br>
</font></tt><br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>