Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btrfs check --repair core dumps with IOT instruction on disk with corruption #735

Open
alexwh opened this issue Jan 25, 2024 · 0 comments
Open
Labels

Comments

@alexwh
Copy link

alexwh commented Jan 25, 2024

I made the mistake of mounting a btrfs disk in two places at once - in a VM and on the host (libvirt with LVM). The system was in this state for around a day, though the host didn't write anything in that time. After seeing my mistake, I unmounted on the host and ran a scrub in the guest, which returned 90 or so uncorrectable errors. I then booted into a livecd and ran btrfs check. I was fairly sure my data was hosed at this point, but I had nothing to lose as I had backups, so I ran btrfs check with --repair, which coredumped and seemed like a bug.

btrfs-progs version: 6.7 static
logs:
kmsg.log
scrub.log
check.log
check_repair.log
coredump (2GB): https://mega.nz/file/BihyDSRJ#VF1koGKi5H_pICf5Rsc5He9WyWQe4_Gtya1Y6_SQu_k

@kdave kdave added the bug label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants