i did one experiment. when adding files with size 11GB larger than StorageMax default size 10GB, it still work.
I think if there are some warning messages to report repository condition, it would be great.
StorageMax setting is not currently enforced as a hard limit. All it’s currently used for is triggering garbage collection if automatic garbage collection is enabled.
Here’s the related github issue: https://github.com/ipfs/go-ipfs/issues/3066
Thanks for your kind reply. i see now~~