big problem with NETAPP CIFS

Hi Experts,

on my NETAPP FAS2552 I have CIFS running. More or less 2TB are working fine.
Now I have to migrate a folder from my old file server to the CIFS.
Here I talk about 1.3 Million files and nearly 1TB.

When I copy with Robocopy or Teracopy or manually I always have the same issues.
After a while , lets say 1 million files are copied, the system stopped and give me the error:
There is not enough space to copy this file

So I checked the Netapp and I have left more than 1TB.
For a test I copied some file to the NETAPP into another folder and it works.
This error message is not true.
I stopped the copy job and just changed the destination folder name and I can go on and copy files.
Problem is, I need all files in one folder.

Can you help me with this issue on a NETAPP CIFS share ? This is really strange.
Eprs_AdminSystem ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul SolovyovskySenior IT AdvisorCommented:
take a look at inodes, make sure you have enough to cover the files you need to add

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nociSoftware EngineerCommented:
did you also check the inode space.
On unix filesystems there are blocks (mostly refered to as space)
and i-nodes or also called file headers (they describe where the storage for the file is located, owner, access rights etc.)

both are limited, the storage space as the size of the disk array, the i-node space as a matter of choice during initialisation of the device. (creating the filesystem).
CIFS is the network filsystem shown, internaly netapp will use one of the unix filesystems (or other similar filesystems) i guess you ran into the i-node/header limit.
I have no detailed netapp appliance but it is a problem that is seen on other systems as well.
Disk full errors on creating files when there is still free space. I most cases the disk needs to be reinitialized with more -node/header space.
Is that still possible? (it might involve saving all data from the system, reinitialising the disks with different setup (if possible) and then restoring all data..
There are actually 2 types of limit:

use these commands:

maxfiles <volname>  (will show the max. number of allowed files in a volume)
maxfiles <volname> <newmax> (to increase it)
vol options <volname> maxdirsize (this is the maximum size of a directory)
vol options <volname> maxdirsize <newmax> (to increase it)
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Eprs_AdminSystem ArchitectAuthor Commented:
how to check the i-nodes or header problem ?
Which command do I need ?
Eprs_AdminSystem ArchitectAuthor Commented:
maxfiles is : 31,876,689 -> used: 4,549874
Eprs_AdminSystem ArchitectAuthor Commented:
now I was on netapp and wanted to check the maxdirsize limit.

But what is the exact command ?
Eprs_AdminSystem ArchitectAuthor Commented:
from the netapp console I have seen now a message :

netapp02> Fri Aug  7 11:19:30 CEST [netapp02:wafl.dir.size.warning:warning]: Directory /vol/Cifs/ASE_WG/V2_WW/Archive4/ is approaching the maxdirsize limit. Reduce the number of files or use the vol options command to increase this limit.

Open in new window

Eprs_AdminSystem ArchitectAuthor Commented:
ok problem solved.

I changed MAXDIRSIZE on my volume to +10%
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.