Skip to contentSkip to conversation

Is SATA ALPM safe with btrfs now (no more corruption)?

DISCUSSION Marc MERLIN 2 participants 3 messages May 29, 2020 – Jun 12, 2020 Btrfs file system

lore
Share & tools
lore
#0 lore raw

TLP allows SATA power management: SATA_LINKPWR_ON_BAT=max_performance

There are some old posts that talk about corruption if you enable this with btrfs:
https://wiki.archlinux.org/index.php/TLP#Btrfs
says not to enable it

https://forum.manjaro.org/t/btrfs-corruption-with-tlp/25158

https://github.com/linrunner/TLP/issues/128
says it may not be safe

https://www.reddit.com/r/archlinux/comments/5tm5uh/btrfs_and_tlp/
also talks about corruption

https://www.reddit.com/r/archlinux/comments/4f5xvh/saving_power_is_the_btrfs_dataloss_warning_still/
say it's probably ok

My feeling is that it's probably ok nowadays with a 5.6+ kernel.

Would anyone disagree?

Thanks,
Marc

Signature · 3 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/  
#1 lore raw
Quoted 15 lines · Marc MERLIN

TLP allows SATA power management: SATA_LINKPWR_ON_BAT=max_performance

There are some old posts that talk about corruption if you enable this with btrfs:
https://wiki.archlinux.org/index.php/TLP#Btrfs
says not to enable it

https://forum.manjaro.org/t/btrfs-corruption-with-tlp/25158

https://github.com/linrunner/TLP/issues/128
says it may not be safe

https://www.reddit.com/r/archlinux/comments/5tm5uh/btrfs_and_tlp/
also talks about corruption

Quoted 6 lines

https://www.reddit.com/r/archlinux/comments/4f5xvh/saving_power_is_the_btrfs_dataloss_warning_still/
say it's probably ok

My feeling is that it's probably ok nowadays with a 5.6+ kernel.

Would anyone disagree?

I don't and reading the posts, it's a hardware problem leading to filesystem corruption. It's affecting all filesystem but the detection capabilities differ, so it stuck with btrfs.

At least the Arch wiki note can be removed, I don't see any value keeping it there, the fixes to ATA subsystem have been merged to 4.15.

#2 lore raw
Quoted 21 lines · David Sterba
Quoted 20 lines · Marc MERLIN

TLP allows SATA power management: SATA_LINKPWR_ON_BAT=max_performance

There are some old posts that talk about corruption if you enable this with btrfs:
https://wiki.archlinux.org/index.php/TLP#Btrfs
says not to enable it

https://forum.manjaro.org/t/btrfs-corruption-with-tlp/25158

https://github.com/linrunner/TLP/issues/128
says it may not be safe

https://www.reddit.com/r/archlinux/comments/5tm5uh/btrfs_and_tlp/
also talks about corruption

https://www.reddit.com/r/archlinux/comments/4f5xvh/saving_power_is_the_btrfs_dataloss_warning_still/
say it's probably ok

My feeling is that it's probably ok nowadays with a 5.6+ kernel.

Quoted 8 lines
Quoted 1 line

Would anyone disagree?

I don't and reading the posts, it's a hardware problem leading to filesystem corruption. It's affecting all filesystem but the detection capabilities differ, so it stuck with btrfs.

At least the Arch wiki note can be removed, I don't see any value keeping it there, the fixes to ATA subsystem have been merged to 4.15.

Sorry, it looks like I never replied to you. Thanks for confirming my guess.

Marc

Signature · 3 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/                       | PGP 7F55D5F27AAF9D08