[opensuse-factory] SSD erased after fstrim

Hi, I have some strange behavior while testing Tumbleweeed over the last two weeks. I have seen it with different versions, also with the latest 20160105 a few minutes ago. When doing a 'fstrim -v /' and then reboot I get a 'Non-System disc or disk error,...' after that. It looks that the trim command trims a bit more as it should do. I tested that on two different computers with different SSDs. Both show the same fault. I had openSUSE 13.2 installed before I switched to Tumbleweed and there was no problems with fstrim. My disc configuration has no separate home partition, so all is btrfs. My home directory is a btrfs subvolume with snapper timeline snapshots enabled. Don't know if that is related to this issue. Any ideas? Br, Frank -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Wednesday 06 January 2016 20.47:00 Frank Kunz wrote:
Hi,
I have some strange behavior while testing Tumbleweeed over the last two weeks. I have seen it with different versions, also with the latest 20160105 a few minutes ago.
When doing a 'fstrim -v /' and then reboot I get a 'Non-System disc or disk error,...' after that. It looks that the trim command trims a bit more as it should do. I tested that on two different computers with different SSDs. Both show the same fault. I had openSUSE 13.2 installed before I switched to Tumbleweed and there was no problems with fstrim.
My disc configuration has no separate home partition, so all is btrfs. My home directory is a btrfs subvolume with snapper timeline snapshots enabled. Don't know if that is related to this issue.
Any ideas?
Br, Frank
not that long ago I've found this post which is horror story. I don't know which model of hdd or ssd you have. https://blog.algolia.com/when-solid-state-drives-are-not-that-solid/ -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Wed, Jan 6, 2016 at 4:47 PM, Frank Kunz <mailinglists@kunz-im-inter.net> wrote:
Hi,
I have some strange behavior while testing Tumbleweeed over the last two weeks. I have seen it with different versions, also with the latest 20160105 a few minutes ago.
When doing a 'fstrim -v /' and then reboot I get a 'Non-System disc or disk error,...'
I have the same problem with a oldish samsung SSD. it is not that the disk is wiped (at least in my case) but grub2 installation gets corrupted. reinstalling grub2 from a rescue system "fixes" the problem. I opted just to just "not do that then".. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Am 06.01.2016 um 21:08 schrieb Cristian Rodríguez:
I have the same problem with a oldish samsung SSD. it is not that the disk is wiped (at least in my case) but grub2 installation gets corrupted. reinstalling grub2 from a rescue system "fixes" the problem.
That revived also my machine, thanks for the hint. I observed that behavior on both discs I have: ata1.00: ATA-10: Crucial_CT250MX200SSD1, MU03, max UDMA/133 scsi 0:0:0:0: Direct-Access ATA Crucial_CT250MX2 MU03 PQ: 0 ANSI: 5 ata10.00: ATA-9: Samsung SSD 840 EVO 1TB, EXT0DB6Q, max UDMA/133 scsi 9:0:0:0: Direct-Access ATA Samsung SSD 840 DB6Q PQ: 0 ANSI: 5 Not sure if this problem is related to the discs (both seem to have the same problem, maybe they have the same controller inside) or to the software. 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. I will do some experiment when it is installed in the MBR. Let's see what happens then. Br, Frank -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

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. Which is probably why running fstrim on a volume with a hidden volume (akin to what truecrypt did) would also be a bad idea. I guess the extra /boot partition (for old systems) and /boot/efi saved me from observing it so far, since I hardly see a reason to run trim there :p -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

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.
Which is probably why running fstrim on a volume with a hidden volume (akin to what truecrypt did) would also be a bad idea.
I guess the extra /boot partition (for old systems) and /boot/efi saved me from observing it so far, since I hardly see a reason to run trim there :p
I'm still not sure what happened here (and as I understand original state is no more available). "Non-System disc or disk error" is /probably/ output by BIOS; and as far as I understand the only thing BIOS can check is 0xAA55 signature; but this is not changed by reinstalling GRUB (GRUB only rewrites code part in MBR). It may be possible that it is output by INT 18H (some Microsoft MBRs return to it if no bootable partition was found), but then again, installation of GRUB does not change it - unless GRUB location was changed from partition to MBR. So there is unfortunately simply not enough information to make any guess what happened. Before "fixing" it was really needed to collect as much information as possible :( If it is possible to reproduce it I would really love to see - information about GRUB configuration - original MBR and VBR before fstrim - MBR and VBR after fstrim -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Am 07.01.2016 um 08:14 schrieb Andrei Borzenkov:
If it is possible to reproduce it I would really love to see
- information about GRUB configuration
Which config files you want to see, or is there a possibility to dump the relevant information somehow?
- original MBR and VBR before fstrim xxd -l 512 /dev/sda 00000000: eb63 908e d88e d0bc 007c 89e6 0657 8ec0 .c.......|...W.. 00000010: fbfc bf00 06b9 0001 f3a5 ea1f 0600 0052 ...............R 00000020: 52b4 41bb aa55 31c9 30f6 f9cd 1372 1381 R.A..U1.0....r.. 00000030: fb55 aa75 0dd1 e973 0966 c706 8d06 b442 .U.u...s.f.....B 00000040: eb15 5ab4 08cd 1383 e13f 510f b6c6 40f7 ..Z......?Q...@. 00000050: e152 5066 31c0 6699 e866 0080 0100 0000 .RPf1.f..f...... 00000060: 0000 0000 fffa 9090 f6c2 8074 05f6 c270 ...........t...p 00000070: 7402 b280 ea79 7c00 0031 c08e d88e d0bc t....y|..1...... 00000080: 0020 fba0 647c 3cff 7402 88c2 52be 807d . ..d|<.t...R..} 00000090: e817 01be 057c b441 bbaa 55cd 135a 5272 .....|.A..U..ZRr 000000a0: 3d81 fb55 aa75 3783 e101 7432 31c0 8944 =..U.u7...t21..D 000000b0: 0440 8844 ff89 4402 c704 1000 668b 1e5c .@.D..D.....f..\ 000000c0: 7c66 895c 0866 8b1e 607c 6689 5c0c c744 |f.\.f..`|f.\..D 000000d0: 0600 70b4 42cd 1372 05bb 0070 eb76 b408 ..p.B..r...p.v.. 000000e0: cd13 730d 5a84 d20f 83d8 00be 8b7d e982 ..s.Z........}.. 000000f0: 0066 0fb6 c688 64ff 4066 8944 040f b6d1 .f....d.@f.D.... 00000100: c1e2 0288 e888 f440 8944 080f b6c2 c0e8 .......@.D...... 00000110: 0266 8904 66a1 607c 6609 c075 4e66 a15c .f..f.`|f..uNf.\ 00000120: 7c66 31d2 66f7 3488 d131 d266 f774 043b |f1.f.4..1.f.t.; 00000130: 4408 7d37 fec1 88c5 30c0 c1e8 0208 c188 D.}7....0....... 00000140: d05a 88c6 bb00 708e c331 dbb8 0102 cd13 .Z....p..1...... 00000150: 721e 8cc3 601e b900 018e db31 f6bf 0080 r...`......1.... 00000160: 8ec6 fcf3 a51f 61ff 265a 7cbe 867d eb03 ......a.&Z|..}.. 00000170: be95 7de8 3400 be9a 7de8 2e00 cd18 ebfe ..}.4...}....... 00000180: 4752 5542 2000 4765 6f6d 0048 6172 6420 GRUB .Geom.Hard 00000190: 4469 736b 0052 6561 6400 2045 7272 6f72 Disk.Read. Error 000001a0: 0d0a 00bb 0100 b40e cd10 ac3c 0075 f4c3 ...........<.u.. 000001b0: 0000 0000 0000 0000 f5c7 ad72 0000 0020 ...........r... 000001c0: 2100 82f8 7305 0008 0000 0030 4000 80f8 !...s......0@... 000001d0: 7405 83fe ffff 0038 4000 0020 dc1c 0000 t......8@.. .... 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
xxd -l 512 /dev/sda2 00000000: eb63 9000 0000 0000 0000 0000 0000 0000 .c.............. 00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000050: 0000 0000 0000 0000 0000 0080 0138 4000 .............8@. 00000060: 0000 0000 fffa 9090 f6c2 8074 05f6 c270 ...........t...p 00000070: 7402 b280 ea79 7c00 0031 c08e d88e d0bc t....y|..1...... 00000080: 0020 fba0 647c 3cff 7402 88c2 52be 807d . ..d|<.t...R..} 00000090: e817 01be 057c b441 bbaa 55cd 135a 5272 .....|.A..U..ZRr 000000a0: 3d81 fb55 aa75 3783 e101 7432 31c0 8944 =..U.u7...t21..D 000000b0: 0440 8844 ff89 4402 c704 1000 668b 1e5c .@.D..D.....f..\ 000000c0: 7c66 895c 0866 8b1e 607c 6689 5c0c c744 |f.\.f..`|f.\..D 000000d0: 0600 70b4 42cd 1372 05bb 0070 eb76 b408 ..p.B..r...p.v.. 000000e0: cd13 730d 5a84 d20f 83d8 00be 8b7d e982 ..s.Z........}.. 000000f0: 0066 0fb6 c688 64ff 4066 8944 040f b6d1 .f....d.@f.D.... 00000100: c1e2 0288 e888 f440 8944 080f b6c2 c0e8 .......@.D...... 00000110: 0266 8904 66a1 607c 6609 c075 4e66 a15c .f..f.`|f..uNf.\ 00000120: 7c66 31d2 66f7 3488 d131 d266 f774 043b |f1.f.4..1.f.t.; 00000130: 4408 7d37 fec1 88c5 30c0 c1e8 0208 c188 D.}7....0....... 00000140: d05a 88c6 bb00 708e c331 dbb8 0102 cd13 .Z....p..1...... 00000150: 721e 8cc3 601e b900 018e db31 f6bf 0080 r...`......1.... 00000160: 8ec6 fcf3 a51f 61ff 265a 7cbe 867d eb03 ......a.&Z|..}.. 00000170: be95 7de8 3400 be9a 7de8 2e00 cd18 ebfe ..}.4...}....... 00000180: 4752 5542 2000 4765 6f6d 0048 6172 6420 GRUB .Geom.Hard 00000190: 4469 736b 0052 6561 6400 2045 7272 6f72 Disk.Read. Error 000001a0: 0d0a 00bb 0100 b40e cd10 ac3c 0075 f4c3 ...........<.u.. 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
- MBR and VBR after fstrim
xxd -l 512 /dev/sda 00000000: eb63 908e d88e d0bc 007c 89e6 0657 8ec0 .c.......|...W.. 00000010: fbfc bf00 06b9 0001 f3a5 ea1f 0600 0052 ...............R 00000020: 52b4 41bb aa55 31c9 30f6 f9cd 1372 1381 R.A..U1.0....r.. 00000030: fb55 aa75 0dd1 e973 0966 c706 8d06 b442 .U.u...s.f.....B 00000040: eb15 5ab4 08cd 1383 e13f 510f b6c6 40f7 ..Z......?Q...@. 00000050: e152 5066 31c0 6699 e866 0080 0100 0000 .RPf1.f..f...... 00000060: 0000 0000 fffa 9090 f6c2 8074 05f6 c270 ...........t...p 00000070: 7402 b280 ea79 7c00 0031 c08e d88e d0bc t....y|..1...... 00000080: 0020 fba0 647c 3cff 7402 88c2 52be 807d . ..d|<.t...R..} 00000090: e817 01be 057c b441 bbaa 55cd 135a 5272 .....|.A..U..ZRr 000000a0: 3d81 fb55 aa75 3783 e101 7432 31c0 8944 =..U.u7...t21..D 000000b0: 0440 8844 ff89 4402 c704 1000 668b 1e5c .@.D..D.....f..\ 000000c0: 7c66 895c 0866 8b1e 607c 6689 5c0c c744 |f.\.f..`|f.\..D 000000d0: 0600 70b4 42cd 1372 05bb 0070 eb76 b408 ..p.B..r...p.v.. 000000e0: cd13 730d 5a84 d20f 83d8 00be 8b7d e982 ..s.Z........}.. 000000f0: 0066 0fb6 c688 64ff 4066 8944 040f b6d1 .f....d.@f.D.... 00000100: c1e2 0288 e888 f440 8944 080f b6c2 c0e8 .......@.D...... 00000110: 0266 8904 66a1 607c 6609 c075 4e66 a15c .f..f.`|f..uNf.\ 00000120: 7c66 31d2 66f7 3488 d131 d266 f774 043b |f1.f.4..1.f.t.; 00000130: 4408 7d37 fec1 88c5 30c0 c1e8 0208 c188 D.}7....0....... 00000140: d05a 88c6 bb00 708e c331 dbb8 0102 cd13 .Z....p..1...... 00000150: 721e 8cc3 601e b900 018e db31 f6bf 0080 r...`......1.... 00000160: 8ec6 fcf3 a51f 61ff 265a 7cbe 867d eb03 ......a.&Z|..}.. 00000170: be95 7de8 3400 be9a 7de8 2e00 cd18 ebfe ..}.4...}....... 00000180: 4752 5542 2000 4765 6f6d 0048 6172 6420 GRUB .Geom.Hard 00000190: 4469 736b 0052 6561 6400 2045 7272 6f72 Disk.Read. Error 000001a0: 0d0a 00bb 0100 b40e cd10 ac3c 0075 f4c3 ...........<.u.. 000001b0: 0000 0000 0000 0000 f5c7 ad72 0000 0020 ...........r... 000001c0: 2100 82f8 7305 0008 0000 0030 4000 80f8 !...s......0@... 000001d0: 7405 83fe ffff 0038 4000 0020 dc1c 0000 t......8@.. .... 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U. xxd -l 512 /dev/sda2 00000000: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000060: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000080: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000090: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000000f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000100: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000110: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000120: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000130: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000140: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000150: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000160: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000170: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000180: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000190: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 000001f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ xxd -l $((65536*4)) /dev/sda2 | grep -v 0000.0000.0000.0000.0000.0000.0000.0000 00010000: d87a cc09 0000 0000 0000 0000 0000 0000 .z.............. 00010020: 03f6 20fc 961d 4ec4 a351 123e ee99 b289 .. ...N..Q.>.... 00010030: 0000 0100 0000 0000 0100 0000 0000 0000 ................ 00010040: 5f42 4852 6653 5f4d d40e 0000 0000 0000 _BHRfS_M........ 00010050: 0040 f120 0000 0000 0000 4029 0f00 0000 .@. ......@).... 00010070: 0000 40b8 3900 0000 00b0 0720 0900 0000 ..@.9...... .... 00010080: 0600 0000 0000 0000 0100 0000 0000 0000 ................ 00010090: 0010 0000 0040 0000 0040 0000 0010 0000 .....@...@...... 000100a0: 6100 0000 7b0e 0000 0000 0000 0000 0000 a...{........... 000100b0: 0000 0000 0000 0000 0000 0000 6301 0000 ............c... 000100c0: 0000 0000 0000 0100 0001 0000 0000 0000 ................ 000100d0: 0000 0040 b839 0000 0000 0080 020a 0000 ...@.9.......... 000100e0: 0000 1000 0000 1000 0000 1000 0000 0000 ................ 00010100: 0000 0000 0000 0000 0000 00b7 0f8e 7f45 ...............E 00010110: da4e 0d93 8f59 1be7 957e fc03 f620 fc96 .N...Y...~... .. 00010120: 1d4e c4a3 5112 3eee 99b2 8900 0000 0000 .N..Q.>......... 00010220: 0000 0000 0000 0000 0000 00d4 0e00 0000 ................ 00010230: 0000 00fd 0d00 0000 0000 0000 0000 0000 ................ 00010320: 0000 0000 0000 0000 0000 0000 0100 0000 ................ 00010330: 0000 00e4 0000 4029 0f00 0000 0000 0002 ......@)........ 00010340: 0000 0000 0200 0000 0000 0000 0000 0100 ................ 00010350: 0000 0000 0200 0000 0000 0000 0000 0100 ................ 00010360: 0000 0100 0010 0000 0100 0100 0100 0000 ................ 00010370: 0000 0000 0000 4081 0100 0000 b70f 8e7f ......@......... 00010380: 45da 4e0d 938f 591b e795 7efc 0001 0000 E.N...Y...~..... 00010390: 0000 0000 e400 0040 290f 0000 0000 0000 .......@)....... 000103a0: 0200 0000 0002 0000 0000 0000 0000 0001 ................ 000103b0: 0000 0000 0002 0000 0000 0000 0000 0001 ................ 000103c0: 0000 0001 0000 1000 0001 0001 0001 0000 ................ 000103d0: 0000 0000 0000 0040 8101 0000 00b7 0f8e .......@........ 000103e0: 7f45 da4e 0d93 8f59 1be7 957e fc00 0000 .E.N...Y...~.... 00010b20: 0000 0000 0000 0000 0000 0000 40f1 2000 ............@. . 00010b30: 0000 00d4 0e00 0000 0000 0000 0040 290f .............@). 00010b40: 0000 007b 0e00 0000 0000 0000 00d5 1b00 ...{............ 00010b50: 0000 00d4 0e00 0000 0000 0000 405d 0100 ............@].. 00010b60: 0000 001d 0000 0000 0000 0000 4014 1900 ............@... 00010b70: 0000 00d0 0e00 0000 0000 0000 0097 1a00 ................ 00010b80: 0000 00d4 0e00 0000 0000 0000 0040 b839 .............@.9 00010b90: 0000 0000 b007 2009 0000 0001 0000 0000 ...... ......... 00010bc0: 0000 0001 0002 0000 0200 0000 0000 0000 ................ 00010bd0: 0000 0000 c087 1a00 0000 00d1 0e00 0000 ................ 00010be0: 0000 0000 0040 290f 0000 007b 0e00 0000 .....@)....{.... 00010bf0: 0000 0000 80c9 1200 0000 00d1 0e00 0000 ................ 00010c00: 0000 0000 405d 0100 0000 001d 0000 0000 ....@].......... 00010c10: 0000 0000 4014 1900 0000 00d0 0e00 0000 ....@........... 00010c20: 0000 0000 808f 1200 0000 00d1 0e00 0000 ................ 00010c30: 0000 0000 0040 b839 0000 0000 3007 2009 .....@.9....0. . 00010c40: 0000 0001 0000 0000 0000 0000 0000 0000 ................ 00010c60: 0000 0000 0000 0000 0000 0001 0002 0000 ................ 00010c70: 0200 0000 0000 0000 0000 0000 4007 1b00 ............@... 00010c80: 0000 00d2 0e00 0000 0000 0000 0040 290f .............@). 00010c90: 0000 007b 0e00 0000 0000 0000 8091 1a00 ...{............ 00010ca0: 0000 00d2 0e00 0000 0000 0000 405d 0100 ............@].. 00010cb0: 0000 001d 0000 0000 0000 0000 4014 1900 ............@... 00010cc0: 0000 00d0 0e00 0000 0000 0000 00d4 1b00 ................ 00010cd0: 0000 00d2 0e00 0000 0000 0000 0040 b839 .............@.9 00010ce0: 0000 0000 b007 2009 0000 0001 0000 0000 ...... ......... 00010d10: 0000 0001 0002 0000 0200 0000 0000 0000 ................ 00010d20: 0000 0000 c082 1a00 0000 00d3 0e00 0000 ................ 00010d30: 0000 0000 0040 290f 0000 007b 0e00 0000 .....@)....{.... 00010d40: 0000 0000 009c 1900 0000 00d3 0e00 0000 ................ 00010d50: 0000 0000 405d 0100 0000 001d 0000 0000 ....@].......... 00010d60: 0000 0000 4014 1900 0000 00d0 0e00 0000 ....@........... 00010d70: 0000 0000 0097 1a00 0000 00d4 0e00 0000 ................ 00010d80: 0000 0000 0040 b839 0000 0000 b007 2009 .....@.9...... . 00010d90: 0000 0001 0000 0000 0000 0000 0000 0000 ................ 00010db0: 0000 0000 0000 0000 0000 0001 0002 0000 ................ 00010dc0: 0200 0000 0000 0000 0000 0000 0000 0000 ................ Br, Frank -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

07.01.2016 21:33, Frank Kunz пишет:
Am 07.01.2016 um 08:14 schrieb Andrei Borzenkov:
If it is possible to reproduce it I would really love to see
- information about GRUB configuration
Which config files you want to see, or is there a possibility to dump the relevant information somehow?
Could you send me (privately) result of https://github.com/arvidjaar/bootinfoscript -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

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=int... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Thu, Jan 7, 2016 at 4:19 PM, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
http://git.kernel.org/cgit/linux/kernel/git/fdmanana/linux.git/commit/?h=int...
Thank you Andrei.. that explains the problem...;-) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
Bruno Friedmann
-
Cristian Rodríguez
-
Frank Kunz
-
Jan Engelhardt