Skip to content

u/sseneca

In this archive from Jun 2019 to Dec 2020

13
posts
43
comments
0
media
127
score
1 saved before deletion

Note that you can convert dirs later on so you don't have to get it right the first time.

ah that's good, thanks for letting me know!

What's your scheme for local snapshots, where will they be stored relative to the original volume?

The Arch wiki links to a recommended layout for use with Snapper, which I guess I'll use: https://wiki.archlinux.org/index.php/Snapper#Suggested_filesystem_layout

If I follow its advice, I guess the layout would look something like this:

subvolid=5
+--@
+--@home
+--@snapshots
+--@root
\--var (dir)
  +--cache
  +--databases (nodatacow)
  +--log
+--docker (/var/lib/docker)
+--rancher (/var/lib/rancher)
+--containerd (/var/lib/containerd)
+--nfs (/var/lib/nfs)
\--usr (dir)
  +--local
+--opt
+--srv
+--tmp

Does that make sense? Also not sure why the Arch Wiki prepends all the subvolume names with @.

1 points

nodatacow as mounting option disables Copy-on-Write which is preferable for databases

Right that makes sense. I'll make a dir (/var/databases or something) and make that a subvolume with nodatacow. Then when installing databases with k8s I'll point them there instead.

Thanks for the other suggestions!

2 points

For /varlib/mysql, I'll be using this server with Kubernetes so I won't be installing databases like that... curious what nodatacow is for though?

For /var/cache/pacman/pkg, won't that be covered by /var/cache?

And finally could you expand on how /btrfs allows easy access to the root volume? I haven't seen that before. Thanks!

1 points

I've never liked auto-login getty because it can be a pain like that if you manage to bork your desktop.

Is there an alternative to getty you think is better, or do you mean auto-login in general? It's just so convenient.

As for the rest, I use GRUB so I could have added systemd.unit=rescue.target (TIL) but I was convinced that it was an issue with sway so I Ctrl+C'd it and it actually worked. I don't know why I didn't try that yesterday but... oh well.

For the record, I don't think sway will crash for most config errors at least. It should skip bad lines and prompt the user to fix their config with a nagbar on startup

Yeah, I've been using sway on my other machine for a while now and that is usually what happens, which is why I'm surprised sway crashes. The issue comes from me not knowing how to use marks, though. The snippet that breaks things:

exec swaymsg "exec firefox -P social; mark social"
assign [con_mark="social"]  $ws4

In particular it's the second line I think. I still don't really know what they do or why that would crash sway rather than just "not work" and complain but.... meh.

Thank you for the help

1 points

My laptop is beginning to die and I’m super tempted by the Pinebook Pro.

I’ve been disappointed with the OS support for the it so far (especially with Arch Linux ARM) so it’s cool to see Manjaro working on it. Have you been having any Wi-Fi related issues? I’ve heard others say it can be unstable.

4 points

Damn \:

I'll try to swap the ram sticks about I guess... as for the performance decrease, I'm going to leave it for now. I'm going to hope that it's something else but if (/when) it turns out its not to do with the driver etc. then I guess I'll have to give something else a go. I'll also try to go ask about on Intel CPU forums/IRC channels and see what people say.

1 points

Odd part is it's mostly been when the computer has been idle/light usage.

Exactly the same for me. I haven't had the freeze during high system load (yet).

If I have the issue again even after removing the aforementioned driver I'm going to assume it's a hardware fault (and I'll research it more then).

2 points

Yeah, e.g. stress --cpu 12 freezes everything pretty much instantly (can see the CPUs ramping up in htop just before).

Think 12 is way too much looking at the man page (not sure though). Using a couple of the examples they have in the info page (e.g. stress -c 13) also locks the PC up.

The PC can run mprime in torture mode for a full 15 minutes before temps get too high and I manually stop them (~100 degrees Celsius). Doesn't lock up at all though.

1 points

ugh, oh no, I hadn’t done any until your comment and I’ve been playing around with “stress” since and I can pretty consistently get my PC to completely lock up. this sucks, does that mean my CPU’s faulty or what?

or rather, what should I expect to be normal? when is it expected for my PC to completely lock up etc?

e: mprime seems to work fine and not kill my PC though

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.