even on the same machine where I did the successful ipfs add to eliminate connection problems.
And it is stuck on Fetched/Processed 0 nodes for days.
The problem is that one subdirectory contains a lot of (small) files (272745)
Is there anything I can do or is it just not possible with IPFS?
Try ipfs block stat <cid> if the result is larger than 1MB then you wonât be able to transfer it over the network (the actual limit is a bit higher than 1MB, but thatâs all thatâs guaranteed to work at the moment).
Thanks @adin - the hint with the sharding feature is most helpful - will try this out.
But not sure if the result is larger than 1MB - not sure about the unit here:
igi@komputing:~$ ipfs block stat Qmcwa4FAW74p3M5AsRLC41ifo5ytEouam7EL1Ad3MasNg
Key: Qmcwa4FAW74p3M5AsRLC41ifo5ytEouam7EL1Ad3MasNog
Size: 208
The units are bytes (as described in ipfs block stat --help), but you did ipfs block stat Qmcwa4FAW74p3M5AsRLC41ifo5ytEouam7EL1Ad3MasNg while asking about QmZvCJBNKdKMohHE5u18vNgK6pA3RS5CkWu82M7HWZ84pA.
To be honest any time youâre attempting a solution that involves 100s of thousands of files in a single folder, you should expect that to fail (or have unusably slow performance) on most file system that exist. Linux/Windows, etc. Itâs just a massive anti-pattern. i.e. trying to use a âfolderâ as a âblob databaseâ. Never works, at scale.
If you need that much data stored, just add each blob/file as a separate thing and worry about storing all their CIDs (the index of them) as a completely separate task. Thatâs just my advise, people may disagree.