For whatever reason one of my cache files can’t be accessed anymore:
> ll /home/peter/.cache/kopia/e108c0ada267f55e/contents/f6/
ls: cannot access '/home/peter/.cache/kopia/e108c0ada267f55e/contents/f6/7656d42fcb3c3a3897b568d2e91bb8.1102.2.0.f': Input/output error
total 18M
-rwxrwxrwx 1 peter root 480 Okt 23 11:29 00352ba44335aef90b3b4aed1b1894.1102.2.0.f
-rwxrwxrwx 1 peter root 979 Okt 23 11:53 00801e4ca484b134d92d2bdafe0d79.1102.2.0.f
...
-rwxrwxrwx 1 peter root 251 Okt 17 14:06 734fbc7470cd4996ac7925cc9a5758.1102.2.0.f
-????????? ? ? ? ? ? 7656d42fcb3c3a3897b568d2e91bb8.1102.2.0.f
-rwxrwxrwx 1 peter root 5,4K Okt 17 14:14 7df18bc7b0ee2fd6388d7d5395774f.1102.2.0.f
When I try to run any kopia command, it fails:
> kopia repository status
ERROR failed to open repository: unable to create shared content manager: error setting up read manager caches: unable to initialize content cache: unable to create base cache: error durin
g initial scan of contents: error listing contents: error processing directory shards: error reading directory: lstat /home/peter/.cache/kopia/e108c0ada267f55e/contents/f6/7656d42fcb3c3
a3897b568d2e91bb8.1102.2.0.f: input/output error
ERROR open repository: unable to open repository: unable to create shared content manager: error setting up read manager caches: unable to initialize content cache: unable to create base c
ache: error during initial scan of contents: error listing contents: error processing directory shards: error reading directory: lstat /home/peter/.cache/kopia/e108c0ada267f55e/contents
/f6/7656d42fcb3c3a3897b568d2e91bb8.1102.2.0.f: input/output error
Maybe, if cache is corrupt, kopia should warn instead and continue. I’d guess a missing cache file is not crucial to proceed?