How to clean up remote storage?

Hello!

I tried to run the following command

dvc gc -w -c -v -f

and expected to clear unnecessary data from the remote storage.
But unfortunately, the command froze and nothing happens. And nothing happens on the remote storage

Hi @Alexander . Could you try running with trace level (passing -vv flag) ? Does the command print anything before freezing?

No, nothing

Last 5-6 lines are

2022-07-04 15:35:56,668 TRACE: Assuming '/home/amarkovich/ml/.dvc/cache/18/2cda5747d04396db51ae146e9b427d.dir' is unchanged since it is read-only
2022-07-04 15:35:56,668 TRACE: Assuming '/home/amarkovich/ml/.dvc/cache/a5/e4c0c7a5025ed91d0d6755ffd88ca9.dir' is unchanged since it is read-only
2022-07-04 15:35:56,668 TRACE: Assuming '/home/amarkovich/ml/.dvc/cache/a5/e4c0c7a5025ed91d0d6755ffd88ca9.dir' is unchanged since it is read-only
2022-07-04 15:35:56,800 DEBUG: Estimated remote size: 4864 files
2022-07-04 15:35:56,950 DEBUG: Removing '/home/amarkovich/ml/.dvc/cache/1e/.m4BxAHazk2YFz8fAJ2bhfw.tmp'
2022-07-04 15:35:59,144 DEBUG: Estimated remote size: 221184 files
                                                                                                    

@Alexander Could you open a bug report and fill in the details in Sign in to GitHub · GitHub