Re: BTRFS failure after resume from hibernate

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

 




On 2020/1/21 上午10:58, Robbie Smith wrote:
[...]
>>
>> Really hard to say, there are at least 3 things related to this problem.
>>
>> - Btrfs itself
>> - Hibernation
>> - Dm-crypt (less possible)
>>
>> For btrfs, if you have used kernel between version v5.2.0 and v5.2.15,
>> then it's possible the fs is already corrupted but not detected.
>>
>> For the hibernation part, Linux is not the best place to utilize it for
>> the first place.
>> (My ThinkPad X1 Carbon 6th suffers from hibernation, so I rarely use
>> suspension/hiberation)
>>
>> Since linux development is mostly server oriented, such daily consumer
>> operation may not be that well tested.
>>
>> Things like Windows updating certain firmware could break the controller
>> behavior and cause unexpected behavior.
>>
>> So my personal recommendation is, to avoid hibernation/suspension, use
>> Windows as little as possible.
>>
>> Thanks,
>> Qu
> 
> Suspension works flawlessly for me, and hibernation usually does as
> well. The one thing that has happened both times I've had a failure
> has been something weird with the power: first time was a static shock
> from walking on carpet and then touching the laptop, second time was
> the BIOS reporting a wattage error with the charger.

This doesn't look correct for ThinkPad T series machine...

> 
> I tried mounting the FS from a live USB and the mount said: "can't
> read superblock on /dev/mapper/cryptroot" in addition to the transid
> failures. Should I try running a `btrfs check --repair`? At this point
> I'm pretty much resigned to reinstalling today, so I can't make things
> any worse, can I?

Full output please.

> 
> I've also used kernel between version 5.2.0 and 5.2.15 on both my
> machines, so does that mean there's a risk of undetected disk errors
> on my desktop as well?

It's possible.

> I don't have backups of my backups, and all my
> drives use BTRFS because I like the subvolume/snapshot features. I
> also don't have a backup of my music/video library because I don't
> have another 5 TB HDD.

You can just run "btrfs check" from a liveUSB to check if the fs is OK.

Thanks,
Qu

Attachment: signature.asc
Description: OpenPGP digital signature


[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