Hi all,
RULE ['RuleName']
SET POOL 'PoolName'
[LIMIT (OccupancyPercentage)]
[REPLICATE (DataReplication)]
[FOR FILESET ('FilesetName'[,'FilesetName']...)]
[ACTION (SqlExpression)]
[WHERE SqlExpression]
but the experiment seems not work:
[root@tsgpfsdev files]# mmlspolicy myfs -L
RULE 'SYSTEM_POOL_PLACEMENT_RULE' SET POOL 'system' REPLICATE (2)
RULE 'PLACEMENT_RULE_myfileset' SET POOL 'system' REPLICATE (3) FOR FILESET ('myfileset')
[root@tsgpfsdev files]# dd if=/dev/urandom of=bigfile3 bs=1MB count=10
10+0 records in
10+0 records out
10000000 bytes (10 MB) copied, 0.226941 s, 44.1 MB/s
[root@tsgpfsdev files]# mmlsattr -L bigfile3
file name: bigfile3
metadata replication: 3 max 3
data replication: 2 max 3 <<<================ always 2
immutable: no
appendOnly: no
flags:
storage pool name: system
fileset name: myfileset
snapshot name:
creation time: Wed Aug 24 12:00:28 2022
Misc attributes: ARCHIVE
Encrypted: no