From the Advanced Admin book: File placement rules:
RULE [’RuleName’] SET POOL ’PoolName’ [LIMIT (OccupancyPercentage)] [REPLICATE (DataReplication)] [FOR FILESET (’FilesetName’[,’FilesetName’]...)] [WHERE SqlExpression] So, use REPLICATE(1) That's for new files as they are being created. You can use mmapplypolicy and the MIGRATE rule to change the replication factor of files that already exist. --marc of GPFS. From: "Simon Thompson (Research Computing - IT Services)" <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 11/30/2015 11:27 AM Subject: [gpfsug-discuss] Placement policies and copies Sent by: [email protected] Hi, I have a file system which has the default number of data copies set to 2. 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. Can I do this with a placement rule to change the number of copies to 1? 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. 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? Thanks Simon _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
