跳转到主内容

使用AWS CLI创建目录中的文件夹时为何不包含元数据

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

适用场景

StorageGRID
  • AWS命令行界面
  • S3浏览器

问题解答

  • StorageGRID是基于对象的存储、使用平面文件系统、而不使用传统文件系统
  • 例如,如果使用/folder/file 通过AWS命令行界面创建,则/folder 将不包含任何元数据。如果要删除/folder/file 中的文件、/folder  也将被删除:
    • ​​​​​​​If希望文件夹存在,创建一个0字节文件以在删除后保留,手动创建一个以/结尾的键的零字节对象以模拟“文件夹”。
  • 如果使用S3浏览器并手动创建文件夹、则该文件夹的元数据将存在

追加信息

其他信息文本
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.