OCI: Removing Files in FSS is Not Reflected in df output
in Linux
Applies To
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
After removing files from FSS storage mounted on an instance, the utilization is not reflected in the df output:
# df -h 10.x.x.10:/fss 200G 172G 29G 86% /fss
Cause
There are snapshots created for the filesystem, and deleted files are still referenced by those snapshots. The snapshot can be listed via the CLI with:
$ oci fs snapshot list --file-system-id ocid1.filesystem.<complete-ocid-of-filesystem> { "data": [ { "defined-tags": { "Oracle-Tags": { "CreatedBy": "user", "CreatedOn": "2022-11-03T06:34:39.413Z" } }, "expiration-time": "2022-11-12T00:00:00+00:00", "file-system-id": "ocid1.filesystem.<complete-ocid-of-filesystem>, "freeform-tags": {}, "id": "ocid1.snapshot.<complete-ocid-of-filesystem-snapshot>, "is-clone-source": false, "lifecycle-details": "", "lifecycle-state": "ACTIVE", "name": "Snapshot-Name1", "provenance-id": "ocid1.snapshot.<complete-ocid-of-filesystem-snapshot>, "snapshot-time": "2022-11-03T06:34:39.480000+00:00", "snapshot-type": "USER", "time-created": "2022-11-03T06:34:39.480000+00:00" } ] }
Tagged:
0