CSI Driver for PowerScale: Restore of Snapshot to PVC Does Not Restore All the Original Files
Summary: Restoring a PowerScale snapshot to a Persistent Volume Claim (PVC) does not restore all the original files.
Symptoms
The size of data on the restored file system greatly differs from the original file system (PVC).
Some files and directories on the restored file system or PVC are missing.
EXAMPLE: Running the following commands on the source and restored file system produces very different results, even though there is little or no activity on the source file system:
df -h /fs_name or find /fs_name | wc -l
Cause
The snapshot created on PowerScale is valid and contains all the source data at the time of snapshot creation. However, the copy of the snapshot data to a new target file system is incomplete.
The issue can occur whether using an array root account or a nonroot account for the CSI Driver deployment.
Resolution
CSI Driver and PowerScale engineering are currently evaluating the requirements to address this issue in an upcoming product or hotfix release.