**** BEGIN LOGGING AT Fri Sep 23 02:59:56 2022 Sep 23 20:02:14 Seems my N900 uSD card has gone read only, what lifespan would you normally expect from them? Sep 23 20:05:37 depends on flash cells wear Sep 23 20:06:00 i managed to make my 128gb samsung evo+ gone ro without much use long time ago Sep 23 20:06:16 wasnt even full in 3/4 Sep 23 20:06:52 if firmware is braindead it can make card ro as soon as it runs out of spare blocks Sep 23 20:16:51 I have my swap on it... Sep 23 20:17:03 but that seems to work Sep 23 20:19:36 it all depends how full was it, how much free space was used for wear levelling, and how smart wear levelling itself was Sep 23 20:48:47 and how reliably the power supply would support the uSD controller to finish its thing whatever that is (page erase, reflash, internal bookkeeping metadata persistent storage) before the supply goes down Sep 23 20:50:56 also not mounting noatime,nodiratime(?) is an obvious killer to any flash storage that is formatted to a filesystem that has atime for its dirs/files(/inodes) Sep 23 20:52:53 journal isnt helping neither Sep 23 20:54:50 not when kept on the flash storage. You *may* keep the journal metadata on a separate different volume/location Sep 23 20:55:34 which isnt obviously happening in swb's scenario Sep 24 01:34:42 swap on an SD card sounds like a bad idea :) Sep 24 01:36:28 That's what I did, because if I'm going to potentially wear down some flash memory, I'd rather wear down flash memory that can be replaced. Sep 24 01:37:19 I think I've only had one card go read-only. Sep 24 01:37:32 I might have had some other cards fail in some other way, can't remember. Sep 24 01:42:45 seems reasonable I guess. is there enough RAM and CPU cycles to use zram (compressed RAM) as swap instead? Sep 24 01:43:22 if so, that should reduce the amount of writes to the SD card swap Sep 24 01:45:44 I imagine it would depend what your priorities are. Sep 24 01:46:08 Presumably adding compression will mostly use more battery. Sep 24 01:46:58 You want to avoid thrashing swap in any case. Sep 24 02:00:04 pabs3: we had a ... 230MB of RAM iirc Sep 24 02:08:08 I guess that is not enough :( Sep 24 02:11:40 well, it's plenty for IRC clients, for MP3 player, even for playback of video DVDs right from a USB connected optical drive, for chess and angry birds and... Microb browser... until you run into a "web2.0" webpage Sep 24 02:15:11 or into a fsck.fat of a few GB of SDcard storage ;-) Sep 24 02:15:55 the latter reportedly might take literally days to finish Sep 24 02:19:53 iirc there's even a package "reswap" Sep 24 02:54:28 i think freemangordon did some benchmarks and found zram wasn't so helpful for N900 indeed **** ENDING LOGGING AT Sat Sep 24 02:59:57 2022