!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

175 Members
Kernel, stdenv, low-level hacking, patchelf, … 62 Servers

Load older messages


SenderMessageTime
2 Jun 2024
@aloisw:kde.org@aloisw:kde.org set a profile picture.18:01:44
@aloisw:kde.org@aloisw:kde.org changed their profile picture.18:23:54
3 Jun 2024
@joerg:thalheim.ioMic92
In reply to @linus:schreibt.jetzt
also, how can a process in the zombie state still be using CPU??
Is it accounted as userspace CPU usage?
11:55:46
@linus:schreibt.jetzt@linus:schreibt.jetztcan't tell anymore, it's gone now11:56:08
@joerg:thalheim.ioMic92I think there was a way to move mounts recursivly11:56:35
@joerg:thalheim.ioMic92Or did I just handcoded that in cntr?11:57:00
@joerg:thalheim.ioMic92 Linux Hackerman: MS_REC? https://github.com/Mic92/cntr/blob/4080e2ae9f04139849840bb10a45ab6aae4c9749/src/mountns.rs#L177 11:58:15
@linus:schreibt.jetzt@linus:schreibt.jetztthat's for bind-mounting11:58:47
@linus:schreibt.jetzt@linus:schreibt.jetztmy use case is that I have an installer system and a system to install, and I want to mount everything based on the fstab of the system-to-install11:59:08
@linus:schreibt.jetzt@linus:schreibt.jetzt(or system-to-repair, as the case may be)11:59:14
@joerg:thalheim.ioMic92disko-install does this :)11:59:31
@joerg:thalheim.ioMic92But using the nixos configuration instead of fstab11:59:47
@linus:schreibt.jetzt@linus:schreibt.jetztI worked around this specific case using a wonderful awk script to preprocess the fstab11:59:54
@linus:schreibt.jetzt@linus:schreibt.jetztbut it won't work for overlay mounts, for example12:00:05
@tammi:greyseal.euTammi (ey/em) left the room.14:19:09
4 Jun 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius.11:16:03
@netpleb:matrix.orgnetplebis it at all performant to use LUKs on a network block device (nbd, or maybe there is a userspace way with ublkdev?) over the internet?16:06:34
@netpleb:matrix.orgnetplebI was thinking of trying it as a native btrfs backup method but where the remote backup server does not ever have access to the data. It simply exposes a block device that the client can setup with luks+btrfs.16:09:45
@raitobezarius:matrix.orgraitobezariuswhether you do LUKS on client side or server side, I'm not sure this is very noticeable16:12:59
@raitobezarius:matrix.orgraitobezariusCloudFlare has an article on the LUKS performance overhead16:13:05
@netpleb:matrix.orgnetpleb
In reply to @raitobezarius:matrix.org
whether you do LUKS on client side or server side, I'm not sure this is very noticeable
that was my hope/thought as well. The last time I experimented wtih nbd, it worked fine over LAN but the client sort of hung sometimes. So maybe nbd itself is not the right answer? Are there other well established ways of having a remote block device other than nbd?
16:14:11
@netpleb:matrix.orgnetplebThe only other thing I found but am not familiar with is ublkdev.16:14:27
@netpleb:matrix.orgnetpleb
In reply to @raitobezarius:matrix.org
whether you do LUKS on client side or server side, I'm not sure this is very noticeable
* that was my hope/thought as well. The last time I experimented wtih nbd, it worked fine over LAN but the client hung sometimes. So maybe nbd itself is not the right answer? Are there other well established ways of having a remote block device other than nbd?
16:14:47
@raitobezarius:matrix.orgraitobezariusclient hanging seems to be a different concern from LUKS16:15:46
@raitobezarius:matrix.orgraitobezariusfor remote block device, you can use RDMA I suppose16:16:32
@raitobezarius:matrix.orgraitobezariusbut this requires special hardware16:16:37
@netpleb:matrix.orgnetpleb
In reply to @raitobezarius:matrix.org
client hanging seems to be a different concern from LUKS
thanks. I really appreciate the input. And yes, the client hanging was not at all a luks issue from what I could tell. Was more just the client kernel not being happy if the server disappears.
16:20:00
@netpleb:matrix.orgnetpleb
In reply to @raitobezarius:matrix.org
but this requires special hardware
Unfortunately I only have commodity hardware to work with on this.
16:20:42
@raitobezarius:matrix.orgraitobezariusnot sure you can realistically have remote block device with the linux kernel without the risk of hanging issues16:21:40
@raitobezarius:matrix.orgraitobezariusand without something like RDMA AFAIK16:21:46

Show newer messages


Back to Room ListRoom Version: 6