On Sun, Aug 24, 2014 at 12:56:47AM +0000, Duncan wrote: > Zygo Blaxell posted on Sat, 23 Aug 2014 12:38:05 -0400 as excerpted: > > > Consumer SD cards are /terrible/ storage devices. Always back up all > > data written to an SD card as soon as possible after writing it, and > > develop a process to restore the backup to a new SD card conveniently > > when--not if--the card fails. > > > > Over the years I've burned my way through dozens of SD cards in Pis, > > Beagles, x86 laptops, USB SD card readers, cameras and cell phones. > > I have more bad or failed cards than good ones in my collection, but no > > more than three of any specific model. Brand, price, and specs don't > > correlate to success or failure. Even the good cards wear out after > > heavy use. The bad ones fail much faster, and are more likely to give > > you garbage data instead of properly formed I/O errors as they fail. > > I had read that it was bad, but I didn't know it was /that/ bad. The > ones I've used have tended to be write-once, read for quite some time, > often lose (or throw away as obsolete due to tiny size) before I write > them again, or at least before I write them half a dozen times, and I've > generally not has problems with them doing that, but I wouldn't tend to > know about routine rewrite behavior. Sounds like it's much worse than I > might have thought. > tip for basically any Linux filesystem, especially on Flash-based storage and also btrfs: - use noatime (if you aren't doing that already, don't know if that is the default in btrfs) " Performance noatime - as discussed in the mailing list noatime mount option might speed up your file system, especially in case you have lots of snapshots. Each read access to a file is supposed to update its unix access time. COW will happen and will make even more writes. Default is now relatime which updates access times less often (see: http://kerneltrap.org/node/14148). Note that noatime will break some applications like the venerable mutt (unless you use Maildir mailboxes). " https://btrfs.wiki.kernel.org/index.php/Mount_options#Performance How bad is it ? Well, look at this presentation: https://www.youtube.com/watch?v=CPEzLNh5YIo > Thanks. > > -- > Duncan - List replies preferred. No HTML msgs. > "Every nonfree program has a lord, a master -- > and if you use the program, he is your master." Richard Stallman > > -- > 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 -- 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
