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:
    XATTR('gpfs.Encryption') IS NOT NULL
    For more information, see Extended attribute functions.
  • On the command line, issue the following command:
    mmlsattr -L FileName
    The command displays output as shown in the following example. The line of the output that begins with the label Encrypted indicates whether the file is encrypted:
    #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
    
    For more information, see mmlsattr command.