Skip to main content
NetApp Knowledge Base

When copying FlexVol dir to FlexGroup dir, get maxdirsize error

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

Applies to

  • ONTAP 9
  • FlexGroup
  • NFSv3/NFSv4.1
  • Rsync - a fast, versatile, remote (and local) file-copying tool from linux
  • XCP

Issue

  • When copying a FlexVol directory to a FlexGroup directory, the copy fails and EMS records a maxdirsize error
  • The source directory
    • contains a large number of files/folders
    • does not neccessarily occupy a large amount of storage space
  • At the time of the failed copy attempt, EMS reports a maxdirsize error
Example:
::> event log show 
 
nodename ERROR wafl.dir.size.max: Directory size for fileid 50986110 in volume fg__0024 reached the maxdirsize limit.
 
  • Linux command ls -al shows that
    • the source FlexVol directory's size is under the maxdirsize limit (default 320MB)
    • the destination FlexGroup directory's size is over the maxdirsize limit
Example:
# 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.