Encryption hints
Find useful hints for working with file encryption.
Testing whether a file is encrypted by IBM Storage Scale
To test whether a file is encrypted by IBM
Storage Scale, do one of the following actions:
- In a policy, use the following
condition:
For more information, see Extended attribute functions.XATTR('gpfs.Encryption') IS NOT NULL
- On the command line, issue the following
command:
The command displays output as shown in the following example. The line of the output that begins with the labelmmlsattr -L FileName
Encrypted
indicates whether the file is encrypted:
For more information, see mmlsattr command.#mmlsattr -L textReport name: textReport metadata replication: 1 max 2 data replication: 1 max 2 immutable: no appendOnly: no flags: storage pool name: system fileset name: root snapshot name: creation time: Tue Jun 12 15:40:30 2018 Misc attributes: ARCHIVE Encrypted: yes