@Shadow@lemmy.ca cover
@Shadow@lemmy.ca avatar

Shadow

@Shadow@lemmy.ca

Infrastructure nerd, gamer, and Lemmy.ca maintainer

This profile is from a federated server and may be incomplete. View on remote instance

Shadow ,
@Shadow@lemmy.ca avatar

Replace one disk, let the raid rebuild. Do the same with the other disk. Do an mdadm grow, then maybe fdisk / lvm / resize fs depending on your setup. Don't forget to install a bootloader when you put a new disk in.

Making a new array and migrating data is for chumps.

Shadow ,
@Shadow@lemmy.ca avatar

Yes it's really that easy. Raid in Linux is usually at the partition level, not the whole device. The bootloader resides in the first few blocks of the disk before your partitions, and isn't included in the raid.

Use grub-install on the new disk device, ie /dev/sda

Auto kill memory leaking processes before swap death loop

I'm using linux mint 21.3, and a process (brave aka chrome) sometimes memory leaking, so eats all the RAM, and then linux goes into swap death loop, when everything freezes (sometimes the mouse cursor is moving), and nothing can't be done, i can just see the HDD led blinking, and do a reset....

Shadow ,
@Shadow@lemmy.ca avatar

Just turn off swap? You don't really need it, and the kernel wiil just oom kill without it.

Shadow ,
@Shadow@lemmy.ca avatar

Well that's technically correct, but if you're so dependent on disk cache for system performance that you can't live without it then you really need to look at doing an upgrade.

When a box swap deaths, it usually struggles to actually fill swap enough to have the kernel still OOM kill it at any point. Generally the massive performance impact of swapping just slows the app down to the point of being useless, along with the entire rest of the box. Disk cache should not be a concern during these abnormal events.

Shadow ,
@Shadow@lemmy.ca avatar

Interesting, thanks for the link!

Shadow ,
@Shadow@lemmy.ca avatar

A lot of reasonably competent geeks just never get deep into networking, and VPNs can be overwhelming. It doesn't really help that for a long time it was all IPSec which basically you need to learn voodoo to manage. Thankfully we have much better tools now, but it's still just a tech layer that many people don't touch frequently.

Shadow ,
@Shadow@lemmy.ca avatar

Did you enable the route in the admin web ui?

Shadow ,
@Shadow@lemmy.ca avatar

That should be all that's required. Are you using ACLs? If so you need to provide access to the subnet router as well as a rule to the IP behind it

Shadow ,
@Shadow@lemmy.ca avatar

Can your nodes ping each other on the tailscale ips? Check tailscale status and make sure the nodes see each other listed there.

Try tailscale ping 1.2.3.4 with the internal IP addresses and see what message it gives you.

tailscale debug netmap is useful to make sure your clients are seeing the routes that headscale pushes.

Shadow ,
@Shadow@lemmy.ca avatar

Relay "ams" means you're using tailscales DERP node in amsterdam, this is expected if you don't have direct connectivity through your firewall. Since you opened the ports that's unusual and worth looking into, but I'd worry about that after you get basic connectivity.

So to confirm your behavior, you can tailscale ping each other fine and tailscale ping to the internal network. You cannot however ping from the OS to the remote internal network?

Have you checked your routing tables to make sure the tailscale client added the route properly?

Also have you checked your firewall rules? If you're using ipfw or something, try just turning off iptables briefly and see if that lets you ping through.

Shadow ,
@Shadow@lemmy.ca avatar

How do I do this?

Run ip route show table all

I would expect to see a line like:

192.168.178.0/24 dev tailscale0 table 52

Out of curiosity on a remote node do tcpdump -i tailscale0 -n icmp and then do a ping from the other side, does tcpdump see the icmp packets come in?

Shadow ,
@Shadow@lemmy.ca avatar

The tailscale client should have created an interface, but I've never used it on a box also running wg. You don't have a tailscale specific interface in ip addr show at all? That's.... odd.

Do you have a device at /dev/net/tun?

Shadow ,
@Shadow@lemmy.ca avatar

More aimed towards network operators than self hosters, but https://ring.nlnog.net/

Shadow ,
@Shadow@lemmy.ca avatar

You can install as many OSes as you want.

Shadow ,
@Shadow@lemmy.ca avatar

while true; do waybar; done

Shadow ,
@Shadow@lemmy.ca avatar

I guess waybar still returns 0 on segfault. Seems weird.

Shadow ,
@Shadow@lemmy.ca avatar

Yeah you would need to use a ; instead of &&

Shadow ,
@Shadow@lemmy.ca avatar

New messaging looks awesome!

Is there a way I can bind sync to be my default app for links to my instance? Annoying that someone sends me a lemmy.ca link and I have to go find it manually in sync, or just view it in my browser.

Shadow ,
@Shadow@lemmy.ca avatar

Ah that makes sense, thanks! I was looking in the sync options.

Edit: odd it doesn't work. I added every domain, then click a lemmy.world link in discord and it still opens chrome

Shadow ,
@Shadow@lemmy.ca avatar
Shadow ,
@Shadow@lemmy.ca avatar

Right to be forgotten applies to personal data. Your posts are not personal data.

Shadow , (edited )
@Shadow@lemmy.ca avatar

Please provide evidence that a public post you make would be considered personal info.

https://law.stackexchange.com/questions/28276/are-internet-forum-posts-considered-personal-data-under-gdpr

The law is poorly written unfortunately and I don't think we'll know for sure until there's a legal challenge.

Shadow ,
@Shadow@lemmy.ca avatar

Ah Gotcha, but I don't think you're right.

Right to be forgotten: https://gdpr-info.eu/art-17-gdpr/

This talks explicitly about personal data in all contexts.

The definition of personal data is anything that can be used to identify someone: https://gdpr-info.eu/issues/personal-data/

This isn't all user data, just stuff that makes a user identifiable.

Shadow ,
@Shadow@lemmy.ca avatar

Editing post titles is adding HTML and the urlencoding it on me. If I edit a post I see <p> tags on it and editing it again ends up with url encoded values.

Shadow , (edited )
@Shadow@lemmy.ca avatar

Can just point it to /dev/shm as a transcoding folder, for a quick and dirty way.

Otherwise you'd mount a tmpfs disk.

Solutions for creating a "cloud save" on windows?

So i have vintage story, and it's not exactly on steam. I also have an ever changing list of mods and two gaming computers. I want to be able to have all my files from one update on the other and vice versa. What would be the best way to do this? my first thought was tortoiseSVN but i thought i would check and see if there's a...

Shadow ,
@Shadow@lemmy.ca avatar

Svn? It's not 2002 anymore.

Onedrive or dropbox would work well. Otherwise if you want source control, git would be the way to go.

Shadow ,
@Shadow@lemmy.ca avatar

What are you seeing, and what steps have you done to troubleshoot so far?

https://en.m.wikipedia.org/wiki/XY_problem

Shadow ,
@Shadow@lemmy.ca avatar
Shadow ,
@Shadow@lemmy.ca avatar

I'd love the ability to view and manage reports, and ban users.

Alao viewing upvotes / downvotes. All the admin features basically.

Shadow OP ,
@Shadow@lemmy.ca avatar

Go to the other thread in this community titled "anyone run across a post that crashes sync?" and then just scroll down into the comments, and your client should crash.

Shadow OP , (edited )
@Shadow@lemmy.ca avatar

It's stupid but.... I don't like their font choices. If it had the one sync uses I'd be more on board.

I also find it slow when swiping away images, sync does that immediately but boost gives me a brief black screen.

Shadow OP ,
@Shadow@lemmy.ca avatar

I've tried them all, didn't like them :( Sync just has the most polished UX imho and it's hard to leave it when I've been on it for years.

Shadow OP ,
@Shadow@lemmy.ca avatar

Z Fold 3. It's really about the dense layout though and the amount of spacing / font sizes / everything.

Shadow OP ,
@Shadow@lemmy.ca avatar

It was actually just last week. I installed all the lemmy apps I could find and spent 30 minutes on each one seeing if I liked it and could customize it the way I want.

"izzy"? Racoon wasn't on my list, I'll give it a whirl.

Shadow OP ,
@Shadow@lemmy.ca avatar

Thanks for the suggestion, I'll give it a try!

Shadow OP ,
@Shadow@lemmy.ca avatar

On desktop yeah, but on mobile it's much nicer to use an app.

Shadow OP ,
@Shadow@lemmy.ca avatar

The big one for me is not losing my place in the feed when I hit back from reading the comments on a post. That makes the web ui pretty much unusable for me on mobile, I get constantly thrown back to the top of my feed.

Shadow ,
@Shadow@lemmy.ca avatar

It's not lemmy.world, there's a bad post that is crashing sync for users across instances. It's a sync bug.

It was reported here https://midwest.social/post/9381826 but the comments in that will now crash sync too.

Shadow ,
@Shadow@lemmy.ca avatar

Yes, just look at eth0. You might like the iptraf tool too.

Shadow ,
@Shadow@lemmy.ca avatar

I've opened an issue, hopefully ljdawson will see it quicker there.

https://github.com/laurencedawson/sync-for-lemmy/issues/475

Shadow ,
@Shadow@lemmy.ca avatar

Ah yep, added it.

Shadow ,
@Shadow@lemmy.ca avatar

He said elsewhere that it's fixed and the new release is going through google.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines