跳转到主内容

如何通过 ONTAP 多协议访问启用 S3 分段上传

Views:
1
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

  • ONTAP 9.16.1 及更高版本

说明

ONTAP 9.16.1 增加了对 S3 多协议访问中使用的 NAS 存储桶的 S3 多部分上传支持。多部分上传要求备份 FlexGroup 卷启用高级容量平衡(粒度数据)。
 
开始之前
  • ONTAP 9.16.1 或更高版本
  • 在 SVM 上配置的 S3 服务
  • 目标卷为 FlexGroup(不支持 FlexVol 卷;请参阅追加信息)
  • 在连接路径上挂载的卷

操作步骤

  1. 验证卷是否为 FlexGroup:
    volume show -vserver <SVM_name> -volume <vol_name> -fields type

    注意:如果卷为 FlexVol,请先将其转换为 FlexGroup,然后再继续。此转换是单向的,无法逆转。
  2. 在 FlexGroup 上启用高级容量平衡(粒度数据):
    volume modify -vserver <SVM_name> -volume <vol_name> -granular-data true
  3. 验证设置是否处于活动状态:
    volume show -vserver <SVM_name> -volume <vol_name> -fields granular-data

    预期结果:granular-data: true
  4. 创建映射到 FlexGroup 连接路径的 NAS 存储桶(如果已存在,则跳过):
    vserver object-store-server bucket create -vserver <SVM_name> -bucket <bucket_name> -type nas -nas-path <junction_path>
  5. 从 S3 客户端测试多部分上传。每个部分必须满足以下要求:
    • 大小必须按 1 MB 对齐
    • 最小分段大小:5 MiB
    • 最大分段大小:5 GiB

合作伙伴备注

 

追加信息

FlexVol 到 FlexGroup 转换
  • 在将 FlexVol 转换为 FlexGroup 之前,请创建 FlexClone 并将其拆分,或将数据复制到新的 FlexGroup 卷以保留回滚选项。
  • ONTAP 在转换期间自动创建的 convert.* 快照不能用于创建 FlexClone。
  • 转换完成后不可逆转。
 
粒度数据行为
  • 启用后,只能通过恢复启用之前拍摄的快照来禁用粒度数据。
  • 通过 ONTAP REST API 作为 S3 存储桶创建的 FlexGroup 卷默认启用粒度数据。

内部参考

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.