<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>[\u2019<i>RuleName</i>\u2019]</font><br><font size=1 color=#212100 face="}"><b>SET POOL </b>\u2019<i>PoolName</i>\u2019</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>(\u2019<i>FilesetName</i>\u2019[,\u2019<i>FilesetName</i>\u2019]...)]</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: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Simon Thompson
(Research Computing - IT Services)&quot; &lt;S.J.Thompson@bham.ac.uk&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">gpfsug main discussion
list &lt;gpfsug-discuss@spectrumscale.org&gt;</font><br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">11/30/2015 11:27 AM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</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: &nbsp; &nbsp;
&nbsp; &nbsp;</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"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br><br></font></tt><br><BR>