ONTAP Discussions

Fail NDMPCOPY with return code when the estimated space on destination is insufficient?




We run into insufficient space for ndmpcopy destination once in a while. When it happens, ndmpcopy record in the log like:


Ndmpcopy: filer Log: RESTORE: We recommend that 132 inodes and 753847928 kbytes of disk space be available on the target volume in order to restore this dump.
         You have 31876592 inodes and 648065184 kbytes of disk space on volume /vol/vol1
Ndmpcopy: filer: Log: RESTORE: This restore will proceed, but may fail when it runs out of inodes and/or disk space on this volume.


and it proceeds anyway. Is there anyway to tell it to fail with a return status code and stop proceeding? It does not make sense if ndmpcopy suspects the destination does not have enough space but still moves forward.



NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner