On Sun, Dec 10, 2017 at 15:18:32 +0000, constantine wrote:
> I have a laptop root hard drive (Samsung SSD 850 EVO 1TB), which is
> within warranty.
> I can't mount it read-write ("no rw mounting after error").
There is a data-corruption issue with this controller!
The same as 840 EVO - just google this.
In short: either use recent kernel (AFAIR 4.0.5+ for 840 EVO and some
newer for entire 8* Samsung SSD family blacklisting) or disable NCQ.
Using queued TRIM on this drive leads to data loss! Firmware zeroes fist
512 bytes of a block, sorry.
If you only had smaller drive, as 850s up to 512 GB have different
controller...
> checksum verify failed on 103009173504 found 25334496 wanted 00003500
> bytenr mismatch, want=103009173504, have=889192478
> ERROR: failed to repair root items: Input/output error
>
> What do these errors mean?
> What should I do to fix the filesystem and be able to mount it read-write?
You probably can't fix this - there is data missing on bare metal, so you should
recover using backups. If you don't have one, you need to perform manual
data recovery procedures (like photorec) with little chances to restore
complete files due to the nature of data loss (beginning of blocks).
--
Tomasz Pala <gotar@xxxxxxxxxxxxx>
--
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