An interesting issue came up. I noticed a few days ago that there was some data that had 1/1 even though the options are set to min 1 but desired 2. I tried bcachefs data rereplicate
but that did not seem to change anything.
Upon trying to boot the system and mount the FS, it seems to be failing because that replica isn't present?
Not sure why since all disks are present.
I guess there are 2 potential things going on: 1 rereplicate is not replicating all data to match desired options, and fsck fails if there are missing replicas (I think this is expected).
➜ ~ sudo bcachefs fsck -k /dev/nvme0n1
Running in-kernel offline fsck
bcachefs (27cac550-3836-765c-d107-51d27ab4a6e1): starting version 1.28: inode_has_case_insensitive opts=metadata_replicas=2,data_replicas=2,background_compression=zstd:15,foreground_target=cache.nvme1,background_target=hdd,promote_target=cache,degraded=yes,fsck,fix_errors=ask,noratelimit_errors,read_only