[00:39] Is there a way to check disk health? I used to do badblocks /dev/sdb1 ... but it's throwing this: "badblocks: Value too large for defined data type invalid end block (7814025216): must be 32-bit value" [00:39] Probably some smart command I want? [00:41] smartctl -a /dev/whatever or smartctl -x /dev/whatever aren't bad starting points, if your drive does smart [00:41] there's an nvme command line tool that can get some informatoin out of nvme drives that didn't implement smart -- but that's even harder to understand, in my experience [00:42] sarnold: hey, thank you! [00:42] you can also use dd to read the whole disk, that'll be similar to the badblocks reading-only mode; you can also use dd to write to the disk, but that's not nearly as good as badblocks for this specific case -- badblocks knows how to check for specific values being read back :) [00:44] sarnold: thanks! [00:45] you're welcome foo :) [00:45] I'm trying to copy data from one system to another. This second system has a USB drive attached, 8TB. Is there a way to remotely create an encrypted partition somehow that I can password protect? That plays nice with rsyrnc. [00:45] if it were me I'd probably use LUKS on the drive and create the filesystem within that [00:47] this guide looks reasonable enough https://www.cyberciti.biz/security/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/ [00:47] I'm a big fan of zfs, and zfs now has native encryption, but I keep hearing that it has issues :( I don't really understand them, but it's enough that I don't think I'd want 8tb of stuff I don't understand.. [00:47] sarnold: I wonder if I can set that up remotely on a drive? Or do I need to be with the drive? [00:48] sarnold: ah, interesting. I have generally heard good things of zfs. [00:48] foo: it probably works fine to set it up remotely [00:49] foo: yeha, I've got zfs on several systems, on something like 15 drives total, I like it :) but I don't think the encryption is quite there yet [00:49] https://gist.github.com/rincebrain/622ee4991732774037ff44c6768085ab#encryption [01:16] Odd. https://bpa.st/UAZ2W - this explains why DNS ain't working, I think? Heh. [01:18] foo: ooh! this gives me a chance to share one of my favourite tools! :D namei -l /etc/resolv.conf [01:20] foo: I'm headed out, have fun :) [01:28] sarnold: hey! That's cool. Output: https://bpa.st/T2CQ4 [01:29] Enjoy your weekend :) [01:35] Fixed it, did this: sudo systemctl restart systemd-resolved === chris14_ is now known as chris14 === shokohsc0 is now known as shokohsc === shokohsc8 is now known as shokohsc [18:34] I am attempting to remove Mysql and replace it with Mariadb. I did sudo apt purge mysql-server* and $ sudo rm -r /etc/mysql /var/lib/mysql and sudo rm -r /var/log/mysql [18:34] Should I not have done the last step of removing the /var/lib and var/log files? [18:35] evit: removing /var/lib/mysql probably removed the DBs themselves [18:35] They were empty [18:35] I was replaceing Mysql w/ Maria [18:40] I don't see any logfile for mariadb [18:42] Anyone know the proper way to remove Mysql and replace with Mariadb? I think I removed something I shouldn't have [18:42] I think by default mariadb logs to the same place/files as mysql [18:48] so /var/log/mysql.log and not /var/log/mariadb.log or something like that [19:00] I removed maria completely and reinstalled. Still same issue [19:00] =0 [19:03] Looks like /var/log/mysql is empty [19:10] it should also be logging to the systemd journal on modern systems [19:11] I've got nginx and php 8.0 running, created by database and gave user privs. Still getting Error establishing a database connection === shokohsc2 is now known as shokohsc === JanC is now known as Guest7776 === JanC_ is now known as JanC === shokohsc3 is now known as shokohsc