libera/#devuan/ Wednesday, 2025-03-19

systemdleteCan I borrow your brain?  Just sometimes, ok?00:26
systemdleteactually, I'm starting to put together my own trouble-shooting guide for many issues I run into frequently.00:27
systemdleteSo I might not need it.00:27
hacksenwerkMy SWAP stopped working. I have 2,9GB RAM here and normally it starts swapping when 2,3 RAM is in use.16:22
hacksenwerkI had two freezes lately.16:22
hacksenwerkWeird thing is, that yesterday it swapped normally as always.16:23
cousin_luigihacksenwerk: What manner of medium is it?16:24
hacksenwerkSince then tehre was no change to the system or something (checked /var/log/apt/history.log if unattend-upgrades did somehting, but it did not).16:24
hacksenwerkcousin_luigi: ?16:25
hacksenwerkcousin_luigi: What do you mean?16:26
cousin_luigihacksenwerk: Is it a SSD, or a regular hard drive?16:26
hacksenwerkSSD16:26
cousin_luigiJust wondering if it might be wear.16:26
hacksenwerkhm...16:26
hacksenwerkits pretty full16:26
hacksenwerkbut the swap has its own partition16:26
hacksenwerkcousin_luigi: to be honest I thought something similiar16:27
hacksenwerkBut wouldn't then anything else be very slow or something, like opening files etc.?16:27
cousin_luigihacksenwerk: Unsure. I would try a smart test first, can't remember what the tool is called on nvme.16:28
hacksenwerkWear leveling count is 3616:29
hacksenwerkcousin_luigi: smartmoont tolls should support ssd16:29
hacksenwerkI think since some years16:29
hacksenwerkcousin_luigi: I have no nvme, its SATA16:31
cousin_luigiah16:32
cousin_luigihacksenwerk: Does it mean it's a bit long in the tooth?16:33
hacksenwerk:) And what does that mean?16:33
fsmithredold16:33
hacksenwerkBecause of the WL 36?16:34
hacksenwerkOr because of SATA.16:34
fsmithredjust defining an idiomatic expression16:34
hacksenwerkIts a Samsung 860 so no.16:34
hacksenwerkSamsung 806 EVO16:34
hacksenwerkBought it 2021 I think16:34
fsmithredthen it should last longer than my crucial cheapo ssd which is still working after six years16:35
hacksenwerk*860 not 80616:35
cousin_luigiok, well it also depends on how many hours it runs16:35
cousin_luigiBut you should really run a test to be sure16:35
hacksenwerkpower on hours is over 1300016:35
hacksenwerkcousin_luigi: ok16:35
fsmithredsmartctl -a /dev/sdX16:35
hacksenwerkfsmithred: yup16:35
fsmithredok, and you know the test options too, I guess16:36
fsmithredor know where to find it which is what I usually have to do16:36
hacksenwerkyes16:36
hacksenwerkI use smartctl since years16:37
hacksenwerkweird.. now it uses swap and I opened htop again and the actual size it uses and the maximum where the same, but changing dznmically, like 230/230, 420/420... maybe some bug?16:38
hacksenwerk*dynamically16:38
cousin_luigiI don't want to be a bearer of ill omens, but perhaps backing up your important data might be a wise step at this point.16:45
hacksenwerkcousin_luigi: I do multiple backups each week. But Thanks. ;)16:46
hacksenwerkOr over the week.16:46
hacksenwerkcousin_luigi: But even if a ssd should be eol, it still should be readable.16:47
hacksenwerknormally...16:47
hacksenwerkYou can not just write to it anymore.16:47
hacksenwerkcousin_luigi: smartctl has this: update-smart-drivedb16:49
hacksenwerkYou can update the database with it.16:49
cousin_luigi/usr/sbin/update-smart-drivedb: drivedb.h: download failed (curl: exit 23)16:50
hacksenwerkoh! :o16:50
hacksenwerkfor me that command works16:50
hacksenwerkman curl: 23     Write error. Curl could not write data to a local filesystem or similar.16:51
cousin_luigioh right, it's read-only16:51
hacksenwerk:)16:51
cousin_luigiDevice is:        Not in smartctl database 7.3/567116:52
cousin_luigiHow do I submit it?16:52
hacksenwerkI dont know16:53
cousin_luigiwill investigate later16:54
hacksenwerkcousin_luigi: Read from here on: https://www.smartmontools.org/wiki/FAQ#SmartmontoolsDatabase16:59
hacksenwerkbelow there's also a sdection for scsi/sas, nvme and adding devices only to your local database.17:00
hacksenwerkok short offline test is: Short offline       Completed without error17:01
hacksenwerkI'll do the long one now.17:01
rktaI configured my mail system to send mail to my actual email via a smarthost. root is aliased to my user and my user is aliased to my (remote) email address. I wonder what happens if something breaks my email setup on this machine and email can't be send via the smarthost. Will I get notified in some way?17:45
hacksenwerk# 1  Extended offline    Completed without error19:11
hacksenwerkSo... Where does my SWAP issue came from?19:11
djphhacksenwerk: what's the exact "issue"?  that it didn't swap?19:14
cousin_luigihacksenwerk: I would re-format that partition and see if that anything changes.19:19
cousin_luigihacksenwerk: Maybe even zero-fill it first.19:20
cousin_luigiAlthough, with SSDs...19:20
cousin_luigiWho knows if it would actually be written to it.19:20
CueXXIIIhacksenwerk: maybe a program was mlock()ing it's pages, those won't get swapped out. also check /proc/swaps if the swap is activated/used and /proc/sys/vm/swappines how eager your kernel would start swapping19:29
hacksenwerkcat /proc/swaps /dev/dm-2   partition   999420   0   -219:36
hacksenwerkcat /proc/sys/vm/swappiness 6019:36
hacksenwerkall default19:36
hacksenwerkcousin_luigi: filling flash storage is not a good idea, you can write them to death19:37
hacksenwerkor probably __will__19:37
cousin_luigihacksenwerk: Just once...19:37
hacksenwerkThe weird thing is that it worked yesterday, then today over some time not and now it works again (before running the tests)...19:38
hacksenwerkI think more of some misbehaviour by the os then by the ssd19:39
hacksenwerk19:29 < CueXXIII> hacksenwerk: maybe a program was mlock()ing it's pages, those won't get swapped out.19:40
hacksenwerkCueXXIII: ^ What does that mean?19:40
CueXXIIIa program can set it's memory to not-swappable.but unless it runs at root that is only a small amount19:41
hacksenwerkCueXXIII: ok thanks for that info. But yeah, that's probably not the case here.19:43
hacksenwerkComputers do weird things... I should have started a list of them while first time I noticed them...19:44
hacksenwerkThere were some issues in the last years I discovered, then I investigate them and then they were gone without me getting inventing...19:45
hacksenwerkcreepy19:45
davesphacksenwerk:  You "think more of some misbehaviour by the os then by the ssd".  Do you have another OS with which to test the SSD?  If not, do you have another storage device (even an old "spinner") to which you could "dd" your data and test with the OS?20:03
hacksenwerksure but thats to much effort for me atm xD20:09
hacksenwerkdavesp: ^20:09
metalahas anyone worked with wwan0 (4G LTE modem) from the console. I know that NM can set it up and make it work, but I am trying to get rid of nm.22:40
metalaafter a short research and failing to properly use qmicli(1) I've decided to keep NM, just in case..23:02

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!