Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Removing Files in FSS is Not Reflected in df output

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" 
    } 
  ] 
} 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!