Hello everyone, after ipfs add , when the file is cut into several chunks, what command can I use to know which nodes the files are placed on? Thank you.
ipfs refs -r <cid>
Thank you for your reply. But what I want to ask is which nodes the split chunks are on.
Or just my misconception, thank you for your reply again.
For example:
step1.
ipfs add --chunker = rabin-16-18-20 file
added QmYXbPe4BTnksTwivr6wWtHA3okDojrQEYbYqN3eqUbGYo file
55 B / 55 B [=============================================== ==================================================== 100.00 %
step2.
ipfs object links QmYXbPe4BTnksTwivr6wWtHA3okDojrQEYbYqN3eqUbGYo
QmbCrSoeTCRyAgVMuqSX2U6uEicLP5uHu46kBZL2Sp3meM 28
QmRLaHAR3nbPtLQLMBpCLTAAPiRMwoAgFG8rAheLKAmaGs 28
QmdpSTTVsB5PBYiAMNfAV883UEDasLQgR4Xh5EofbXzADW 23
or
ipfs refs -r QmYXbPe4BTnksTwivr6wWtHA3okDojrQEYbYqN3eqUbGYo
QmbCrSoeTCRyAgVMuqSX2U6uEicLP5uHu46kBZL2Sp3meM
QmRLaHAR3nbPtLQLMBpCLTAAPiRMwoAgFG8rAheLKAmaGs
QmdpSTTVsB5PBYiAMNfAV883UEDasLQgR4Xh5EofbXzADW
step3. On which nodes are chunks placed? (This is what I want to ask)
ipfs [arguments, …] QmbCrSoeTCRyAgVMuqSX2U6uEicLP5uHu46kBZL2Sp3meM
reply => like /ip4/192.168.1.164/tcp/4001/p2p/QmZ7rBC6MuZzK3WUhBLstAUL3mWmJSrfPKBThFg3sZpKeK
…
Yours and only yours, unless someone else decides to download/replicate them.
Thank you for your answer.