Skip to main content
NetApp Knowledge Base

Why folder in directory does not contain metadata when created with AWS Cli

Views:
8
Visibility:
Public
Votes:
0
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

Applies to

StorageGRID
  • AWS Cli
  • S3 Browser

Answer

  • StorageGRID is object based storage an uses a flat file system and does not utilize traditional file systems
  • For example, if created by AWS Cli with /folder/file, the /folder will not contain any metadata. If the file in /folder/file were to be deleted, the /folder will be removed as well:
    • ​​​​​​​If the desire to have the folder exist, create a 0 byte file to remain after deletion, manually create a zero-byte object with a key ending in / to simulate the "folder".
  • If utilizing an S3 browser and manually created a folder, the metadata will exist for the folder

Additional Information

additionalInformation_text

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.