40TB will work fine, so long as all your files aren’t in 1 or millions of directories. See my experience with 250TB and tens of millions of directories, optimizing large data sync. The storage subsystem and then filesystem are likely your first bottlenecks.
2 Likes