跳转到主内容

将 FlexVol 目录复制到 FlexGroup 目录时,获取 maxdirsize 错误

Views:
48
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • ONTAP 9
  • FlexGroup
  • NFSv3/NFSv4.1
  • Rsync - 一个来自 linux 的快速、多功能、远程(和本地)文件复制工具
  • XCP

问题描述

  • 将 FlexVol 目录复制到 FlexGroup 目录时,复制失败,EMS 记录 maxdirsize 错误
  • 源目录
    • 包含大量文件/文件夹
    • 不一定占用大量存储空间
  • 在复制尝试失败时,EMS 报告 maxdirsize 错误
示例:
::> event log show 
 
nodename ERROR wafl.dir.size.max: Directory size for fileid 50986110 in volume fg__0024 reached the maxdirsize limit.
 
  • Linux 命令 ls -al 显示
    • 源 FlexVol 目录的大小低于 maxdirsize 限制(默认为 320MB)
    • 目标 FlexGroup 目录的大小超过 maxdirsize 限制
示例:
# ls -la

- flexvol dir size : drwxr-xr-x 2 nobody nobody 220483584 2¿ù 12 16:19 dirname

- flexgroup dir size : drwxr-xr-x 2 root root 335544320 2¿ù 14 12:21 dirname

 

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.