When copying FlexVol dir to FlexGroup dir, get maxdirsize error
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