[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50121: Deduplication breaks store item repair
From: |
Lars-Dominik Braun |
Subject: |
bug#50121: Deduplication breaks store item repair |
Date: |
Thu, 19 Aug 2021 14:07:01 +0200 |
Hi,
I’ve been having issues with the filesystem that holds /gnu/store
recently, causing corrupted/broken files. When trying to repair these
broken files with `guix gc --verify=repair,contents` it properly detects
that store items’ hashes do not match the ones recorded in the database
and redownloads/rebuilds them. However, the corrupted store items are
never actually repaired – not by `guix gc` and not by `guix build
--repair`. Attached is a testcase showing that deduplication is the
problem, because repairing will just hardlink the (broken) deduplicated
file instead of replacing it with the downloaded/built file. I tried the
daemon’s `--disable-deduplication` too with same results.
Cheers,
Lars
testcase.sh
Description: Bourne shell script
log
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#50121: Deduplication breaks store item repair,
Lars-Dominik Braun <=