Closed Soeren09 closed 4 months ago
The data should never be deleted. It is likely stored in the cache and needs to be checked out back to the workspace.
In the screen shot you provided, it notes that some targets could not be linked from the cache to the workspace and directs you to https://dvc.org/doc/user-guide/troubleshooting#cache-types. It also provides instructions on how to resolve the problem, by reconfiguring your cache types and the running dvc checkout
.
From the dvc doctor
output you provided, it seems you have set up hardlinks, so it seems like dvc was unable to hardlink the data from the cache back to the workspace.
Thank you for the reply. I managed to resolve the cache problem by switch to my "vs code bash" terminal instead of using my "git bash" terminal. I think everything is in order again now.
Bug Report
Issue name
dvc add /path: original datafiles disappeared after running 'dvc add' on a pc with too little storage.
Description
I was adding some newly recorded dataset files to my repository and the 'dvc add' command crashed mid way due to storage space. After the crash I noticed that my original datafiles had disappeared. I could reproduce the issue by running the same command on another datafile.
Reproduce
Fill up your disk storage. Locate a large data file and use 'dvs add'. The files now disappears from your directory.
Example:
Expected
I would expect an error message saying "out of storage" and then my directory should be restored to the original state.
Environment information
Output of
dvc doctor
:Additional Information (if any):