I have installed IPFS Kubo on WSL2 Ubuntu 20.04 and I was using IPFS through Python with the ipfshttpclient
library, adding data through the client.add()
command.
I have accumulated over 40 gigabytes of blocks data so I decide to remove it firstly unpinning the data with the command
ipfs pin ls --type recursive | cut -d' ' -f1 | xargs -n1 ipfs pin rm
and then remove them using
ipfs repo gc
Then I checked the repository .ipfs/blocks
and has in fact lost 40 gigabytes but in the system C: there isn't any change in the disk size, so the 40 gigabytes haven't been really removed. How do I completely remove the blocks data from the system?