« first day (4883 days earlier)      last day (18 days later) » 

2:42 PM
Does anyone know how I can "migrate" a set of ZFS disks to a freshly installed OS? My 20.04 server is fucking up completely and I want to reinstall everything
The FS works
And all disks are labelled 0 to 3
 
just data?
you use the zfs import command
I feel like I usually just do zfs import poolname
28
Q: Forcing zpool to use /dev/disk/by-id in Ubuntu Xenial

Ruben SchadeI'm giving the bundled OpenZFS on Ubuntu 16.04 Xenial a try. When creating pools, I always reference drives by their serials in /dev/disk/by-id/ (or /dev/disk/gpt on FreeBSD) for resiliency. Drives aren't always in the same order in /dev when a machine reboots, and if you have other drives in th...

I'm a terrible person and usually use /dev/sdx
 
 
3 hours later…
5:50 PM
Wait, I'll show you what I have
  pool: data
 state: ONLINE
  scan: scrub repaired 0B in 0 days 18:55:39 with 0 errors on Sun Apr 14 19:19:40 2024
config:

	NAME                        STATE     READ WRITE CKSUM
	data                        ONLINE       0     0     0
	  mirror-0                  ONLINE       0     0     0
	    pci-0000:00:17.0-ata-1  ONLINE       0     0     0
	    pci-0000:00:17.0-ata-2  ONLINE       0     0     0
	  mirror-1                  ONLINE       0     0     0
	    pci-0000:00:17.0-ata-3  ONLINE       0     0     0
I'm using disk/by-path
As far as I understand, by-path should be the same as long as the disks remain in the same physical path
 
6:51 PM
that's why it's useful to use by-id... it won't change as long as you don't have a masochistic idea to change it by hand for some strange reason
 
7:07 PM
I remember that the arch wiki at the time recommended by-path
Okay, so I tried it all in a VM
export the zpool, then reinstall the os, then import the zpool
 
should work
 
7:46 PM
ugh, I need to back up some stuff first
 
8:24 PM
For some reason transmission no longer works on my server after I attempted to upgrade to 24.04
It just can not connect to any peers
It connects to the tracker
I get 1656 peers
But none of them ever connect to me
[2024-04-29 20:26:01.056] dbg ubuntu-24.04-desktop-amd64.iso verifying torrent... (verify.cc:77)
[2024-04-29 20:26:01.056] dbg ubuntu-24.04-desktop-amd64.iso Verification is done. It took 0 seconds to verify 6114656256 bytes (6114656256 bytes per second) (verify.cc:169)
[2024-04-29 20:26:01.056] dbg ubuntu-24.04-desktop-amd64.iso at torrent.ubuntu.com:443 unexpected key 'name' str 'ubuntu-24.04-desktop-amd64.iso' (announcer-http.cc:644)
[2024-04-29 20:26:01.056] dbg ubuntu-24.04-desktop-amd64.iso at torrent.ubuntu.com:443 peer counts: 1656 seeders, 135 leechers. (announcer.cc:690)
And before you ask, my port is forwarded correctly
 
9:12 PM
how is the firewall?
I've read bad things about 24.04, and the recommendation is to either install fresh (no upgrade), or wait
 
iptables -S just says
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-N f2b-sshd
-A INPUT -p tcp -m multiport --dports 22 -j f2b-sshd
-A f2b-sshd -s 71.30.20.198/32 -j REJECT --reject-with icmp-port-unreachable
...
So it's just ACCEPT on everything except SSHD which has a ton of F2B rules
@ThoriumBR I would stay on 20.04 if Transmission was fucking working
It's not the ISP either since I can download torrents just fine on my desktop
 
 
1 hour later…
10:42 PM
maybe try qbitorrent or deluge...
 
I refuse to give up
8 PM: "Why doesn't this work?"
10 PM: "I think I'm going to file a bug report"
1 AM: [taking out the pistol and screaming at the server]
 
11:03 PM
2 AM: where can I buy more bullets at this time?
my kids are always missing their assignments because they obviously don't read their schedules... I have a spare kindle pw1 that was catching dust somewhere and I turned it on a schedule display glued to the wall
asking them to enter the appointments on a sqlite database would be too much, so I created an account on mailsac (they have a nice API to get emails, you have 1500 API calls/month for free) and I told them how to format the subject to be parsed later
my vps calls mailsac api 4 times a day (no need to be realtime) and kindle access a special page on the vps every 60 minutes (to stop kindle from sleeping). it's working fine for 3 days
battery drain is way higher than expected, I believe the "experimental browser" is the issue. I will try later to generate an image server-side, and maybe have curl download it and show it... no browser needed.
but if I need to keep kindle plugged in, so be it. I just hope they manage to keep their schedules updated and follow it...
 

« first day (4883 days earlier)      last day (18 days later) »