Re: Uncorrectable errors after rebooting with Magic Sysrq Keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Would you please run "btrfs check --readonly <your dm0>" and paste the output?

The dmesg seems very impossible:

> BTRFS error (device dm-0): bad tree block start 245497856 245498111

The later one is not even aligned to 2.

But you system still seems mountable as you succeeded in running btrfs scrub.

So I assume either the tree block is not a critical one or the copy saved you.

Thanks,
Qu

Niccolò Belli wrote on Fri Apr 15 2016 16:21:00 GMT+0800 (CST):
Hi,
Unfortunately because of buggy upstream support for my hardware (Dell
XPS 13 9343) I often have to force reboot using Magic Sysrq Keys
(REISUB). In fact I have quite a few hangs, also the majority of times I
am not able to shutdown without relying on REISUB. There are obviously
times when even REISUB do not work (kernel is completely unresponsive),
but the vast majority of times it works. What I do not understand is why
Magic Sysrq Keys leave me with a damaged filesystem: shouldn't an
emergency SYNC + read only remount be enough to secure my data? After
rebooting with REISUB my system often complains about "read only" files
and if I "stat" them I get "weird file". I often loose some of my
desktop settings like the plasmoids I had on the desktop or my favourite
applicatios I had in the menu, but what's even stranger is that I often
magically recover them later, while doing exactly NOTHING to recover
them. This behaviour scares me so much that I'm thinking about switching
to another fs if I will not find a solution very soon.

The disk seems fine: https://bpaste.net/show/822d4b4ff902

dmesg: http://paste.pound-python.org/show/wVyHXXOw4emWmWFfVJHQ/

$ sudo btrfs scrub status /
[sudo] password di niko: scrub status for
28443ff1-5325-45f6-b879-dad895fcdcfb
        scrub started at Fri Apr 15 09:38:09 2016 and finished after
00:08:41
        total bytes scrubbed: 133.94GiB with 10 errors
        error details: csum=10
        corrected errors: 0, uncorrectable errors: 10, unverified errors: 0

(yesterday there were 4 uncorrectable errors, but after today's reboot
with Magic Sysrq Keys it is now 10)

Distro is Arch Linux, kernel is 4.6.0-rc3.
$ btrfs --version
btrfs-progs v4.4.1

Greetings,
Niccolò
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux