Closed Lykos153 closed 1 week ago
Now how would that have happened? Were you playing with ceph?
One would think that, but no, not at all. Ceph was never installed on my workstation. And even if Ceph was somehow accidentally installed and run, why would it only target the disks labeled with bcachefs instead of wrecking havoc on random disks?.. Very strange indeed.
I was thinking, how does lsblk detect the file system type? Do bcachefs and bluestore share any magic numbers?
Closing, I've reformatted the disks and hope I won't see this again. This issue was mainly meant as a FYI.
After thinking about it some more... I did run the rook test suite on that machine which creates a Ceph cluster in a VM. It should have never been able to access the host's block devices and even if it could, the question remains why it would precisely target those three (out of nine) devices. The thought is so scary that I rather stop thinking about it.
I've got three disks formatted with encrypted bcachefs that I haven't mounted for the last couple of weeks. Today, when I tried to unlock them, I got
Interestingly,
lsblk
now shows all three disks asceph_bluestore
:I'm on NixOS unstable which currently ships bcachefs
1.7.0-unstable-2024-05-09
. As I don't remember exactly when I formatted them, I can't tell what version of bcachefs I had back then.