[opensuse-kernel] Re: [opensuse-factory] SSD erased after fstrim
07.01.2016 10:14, Andrei Borzenkov пишет:
07.01.2016 00:49, Jan Engelhardt пишет:
On Wednesday 2016-01-06 21:56, Frank Kunz wrote:
When the problem can be fixed by reinstall the bootloader only it looks a bit that the fstrim command is not aware of the bootloader installation location and therefore it is getting trimmed. My setup has the bootloader installed in the root partition.
Of course - that makes total sense. The filesystem basically has no idea what you are doing with unreferenced sectors outside its purview.
btrfs explicitly reserves space for bootloader; if btrfs then "trims" this space, it is a serious bug in btrfs. I actually expect any filesystem to trim only space it has allocated and knows about.
http://git.kernel.org/cgit/linux/kernel/git/fdmanana/linux.git/commit/?h=integration-4.5&id=7b6cb6618b45bb383f9336ec89df5f1f31f9935b -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Thu, Jan 7, 2016 at 4:19 PM, Andrei Borzenkov
Thank you Andrei.. that explains the problem...;-) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Cristian Rodríguez