/srv/irclogs.ubuntu.com/2017/05/03/#ubuntu-za.txt

=== night is now known as night|pub
=== night|pub is now known as night
andrewlsdmornings07:32
andrewlsdThe last 3 days I've been getting "hash-sum mismatched" on xenial-updates for 3 computers that are configured to use either of the two mirrors: archive.ubuntu.com and ubuntu.mirror.neology.co.za   . Curious as to whether anyone else running 16.04.x has also been experiencing those issues.07:41
andrewlsdI've just done: apt clean ; sudo rm -r /var/lib/apt/lists/* -vf ; apt update and am still getting that error for Err:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages                                            07:42
andrewlsd  Hash Sum mismatch07:42
andrewlsdhmm. and now after repeating the same set of "clean, rm, clean, update" the error has disappeared. Odd. I guess some file or apt-related process must have still been open 07:52
thatgraemeguyandrewlsd: FWIW I've been using mirror.wiru.co.za hassle-free for a few weeks instead of the neology mirror07:58
thatgraemeguyalso 1G uplink and seems to update more frequently07:58
thatgraemeguyI've seen neology's mirror lag 2-3 days behind a few times recently07:59
nsnzerogood morning all have a great day08:21
MaNISo I  have a few cloudatcost boex (yes I know they suck etc.) that I ran some non crucial stuff on, they mostly work okay but there is this problem where every now and then the filesystem becomes readonly and then the stuff stops working.08:27
MaNII figure the easiest fix is to just reboot the machines, what would be the best way to detect that a filesystem has gone read only?08:27
MaNIcron job, or is there some more automatic way to have it reboot in such circumstances?08:28
nsnzerohi mani 08:38
nsnzeroif the reboot command work in terminal without asking for sudo password then you can set-up a cron job08:38
andrewlsdMaNI: tune2fs -l might show if filesystem is currently read-only. 08:56
andrewlsdthanks thatgraemeguy for the mirror.wiru tip.09:16
andrewlsdAnyone here know of any cape town-based individuals or (small) companies that I could refer a small organization to for Linux support.  Basically a firewall+proxy setup?09:17
andrewlsdwhere "know of" means you'd like to suggest them as worth talking to. rather than have just heard of someone.  Thanks everyone in advance.09:18
thatgraemeguyMaNI: look at monit, it's designed for that sort of thing09:33
MaNIthanks, I'll see if I can find some text that describes it's capabilities09:37
MaNIam I the only one that misses the days when webpages actually had information, instead of being a scroll fest with one line of marketing per overly graphic designed page09:38
thatgraemeguyandrewlsd: way back when I used to use Clarotech Consulting. I haven't needed them in ages, but I see from their site the management team is still the same, so I reckon they're still just as good as ever09:39
andrewlsdthanks thatgraemeguy, yeah I know some of the Clarotech people. Good recommendation.09:40
MaNImonit does look good for the task, thanks09:43
thatgraemeguythe real fix of course is to see why it does that. you probably have 'errors=remount-ro' in the mount options, so there is an underlying error causing it to remount the filesystem/s read-only09:45
thatgraemeguy'dmesg' might have clues, otherwise perhaps the host's support people can assist09:46
MaNIyeah, I think it's out of my control09:46
MaNIAFAICT the harddrive performance becomes so poor at times that the system does an emergency remount09:46
MaNIbetter to let it do that and reboot than to risk filesystem corruption 09:48
MaNIor at least in this case, if it were for anything important I'd burn the servers and then get real ones :)09:52
thatgraemeguyfair enough09:56
andrewlsdMaNI: you might want to start remote logging, since if root filesystem goes R/O, on a cloud system, then you probably won't get logs written to disk.10:01
andrewlsdor just get a second disk / partition just for logging to.10:01
MaNIyeah maybe10:43
theblazehenMaNI: Can you do a `mount -o remount,rw /`? 10:55
theblazehenDoesn't work on btrfs, not sure if that applies to all filesystems though10:55
andrewlsdMaNI: probably btrfs is a _bad_ idea on unreliable storage. (but you probably realized that by now)11:18
andrewlsduse case for an alpine ^  run in ram, and periodically sync (backup) configs and data to persistent disk.11:19
MaNIyeah, it's ext411:20
andrewlsdphew. ask theblazehen about fun with `btrfs`.  11:20
andrewlsdwhere s/fun/data\ loss/11:20
andrewlsdIIRC11:21
MaNII got over playing with filesystems years ago, hehe11:21
andrewlsdMaNI:  you could set the filesystem error behaviour to panic. That might give you a reboot when there are fs issues. instead of needing to detect RO and reboot.11:23
MaNIhrm, yeah that would be handy if it works11:23
MaNIokay, set now to wait a week or so and see what happens :)11:29
andrewlsdyou could test it by creating loopback device with that setting https://serverfault.com/questions/498900/intentionally-cause-an-i-o-error-in-linux/49893111:31
andrewlsdand manually generate a fs error11:31
theblazehenYeah :(11:31
theblazehenAt least, now I know snapshots != backups11:31
MaNII had some 'fun' experimenting with murderfs back in the day, and then I ran into a 'rare' jfs kernel bug11:34
theblazehenheh11:34
MaNIafter that some on and off issues with xfs, and I decided it's best to just stick with the most used/tested filesystems and not try anything different11:35
theblazehenI'm using btrfs with daily backups to ext411:35
andrewlsdwhats the SSD fs from samsung called?11:37
andrewlsdF2FS.11:37
andrewlsdFlash Friendly Filesystem11:38
andrewlsdhttps://en.wikipedia.org/wiki/F2FS11:38
MaNIoh yeah I also had some fun a few years ago experimenting with the various 'SSD cache' systems in the kernel, bcache etc.11:38
MaNImy end conclusion was that none of them should be let anywhere near any data that matters :(11:39
MaNIat least not with the SSD drive I was testing with, maybe people have better luck with other drives11:39
* andrewlsd thinks MaNI and theblazehen reached a similar conclusion regarding RAM caches11:39
theblazehenYeah, RAM is no. bcache works well though11:43
theblazehenJust don't use bcache on a file in /dev/shm11:48
MaNII was getting regular corruption in my tests, but this was a few years ago, and it may have been some specific issue with that particular SSD and/or xfs or something11:49
MaNIthe SSD itself has worked 100% reliably since then as a normal SSD, so it wasn't faulty or anything, but maybe still just some funny with it and bcache11:50
theblazehenDid you have discard enabled?11:52
MaNItoo long ago to answer honestly :/ but I vaguely recall I may have tried both with it on or off11:56
MaNII do also use zram, so it's possible theres some weird interaction there11:58
calhax_zaHi All, hows everyone doing?13:20
K_K_Nanybody here know if Ubuntu will work on a Gigabyte Laptop?13:35
MaNLthats going to depend very much on the model I would imagine13:37
K_K_Nbut generally would you say just the default install should work or do you suspects it might not be that easy?13:38
MaNLprobably, but laptops are fiddly when it comes to graphics drivers, bluetooth drivers, wireless drivers etc. so it's not uncommon for certain laptops to have problems13:44
propagandhiHey guys!14:31
propagandhiDoes anyone use WordPress' CLI tool to perform scheduled backups?14:32
propagandhisomething like `wp export` or `wp db export`14:32
paddatrapperpropagandhi: I would just backup WordPress directory and export DB 15:45
=== MaNL is now known as MaNI
calhax_zaEvening :)18:54
calhax_zajoin #ubuntu-za18:55
calhax_zasorry18:55
calhax_zalol18:55
nsnzeroevening calhax_za 18:56
calhax_zahows you doing nsnzero?18:57
calhax_zawhere are kilos and inetpro? sleeping?18:57
nsnzerook and yourself calhax_za 18:58
nsnzeroi havent seen either of them in a while18:58
calhax_zaim good thanks nsnzero, I havent seen you here before, althou I haven't been around for a while LOL18:59
nsnzerowell in that case nice to meet you - i joined fairly recently 19:01
calhax_zaawesome sauce nsnzero 19:02
andrewlsdevening all19:52
superflyohi21:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!