!oNSIfazDqEcwhcOjSL:matrix.org

disko

356 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko90 Servers

Load older messages


SenderMessageTime
21 Sep 2024
@matthewcroughan:defenestrate.itmatthewcroughanafaik you can only coerce systemd into doing that for you if you have made everything with reparted15:55:35
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @joerg:thalheim.io
I think on-first-boot resizing is also different from disk images
it is, but you can't do it without impacting the disk image
16:02:11
@matthewcroughan:defenestrate.itmatthewcroughanYou have to put some state on the disk image, so it knows that it's the first boot, there's no other strategy I know of that could indicate a disk image is being booted for the first time16:03:13
@matthewcroughan:defenestrate.itmatthewcroughanzfs autoResize is cool though, only zfs could do that however16:03:45
@matthewcroughan:defenestrate.itmatthewcroughanthe strategy of touching a file in the disk image so the system knows when first-boot is happening, is filesystem agnostic16:04:20
@joerg:thalheim.ioMic92can you not the sentinil file the other way around?16:05:26
@joerg:thalheim.ioMic92And create the file after the resize?16:05:35
@matthewcroughan:defenestrate.itmatthewcroughanThat would mean that on any boot, it attempts to resize, unless told not to?16:06:03
@matthewcroughan:defenestrate.itmatthewcroughanas opposed to attempting the resize only when told to16:06:49
@matthewcroughan:defenestrate.itmatthewcroughanfeels risky to me, unless we trust the filesystem utils very much16:07:09
@joerg:thalheim.ioMic92Well it only tries it once16:07:54
@matthewcroughan:defenestrate.itmatthewcroughansystemd-reparted has solved all of this in their own way, not 100% sure how it's all implemented but it works well16:07:57
@matthewcroughan:defenestrate.itmatthewcroughanthey mark disks as managed by repart somehow16:08:07
@joerg:thalheim.ioMic92systemd-reparted probably checks if there is any space left that can be used.16:08:18
@matthewcroughan:defenestrate.itmatthewcroughanand manage all this state16:08:19
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.18:21:24
22 Sep 2024
@blimbus:matrix.orgblimbusHi yall, not sure if I'm just stupid and missing something but disko in disko mode is failing to setup luks on an empty drive. If the drive aleady has partitions or anything else on it it works but otherwise just fails somewhere after partitioning. It makes a luks device with password "password" even though it is set to prompt and then doesnt open the volume so creating filesystems fails.22:13:05
26 Sep 2024
@vendion:matrix.orgvendion joined the room.14:18:19
27 Sep 2024
@waterturkey:matrix.orgwaterturkeyHey disko fans - I'm looking for some advice. I have an Odroid H3 with three hard drives: 1 x 500GB NVME and 2 x 14TB SATA drives. I think I'd like to use zfs with the NVME being the root file system and the sata drives set up as a zfs mirror, but I'm wondering what y'all would recommend for this arrangement? Any feedback is greatly appreciated.00:15:27
@matthewcroughan:defenestrate.itmatthewcroughan * and manages all this state11:39:56
@joerg:thalheim.ioMic92
In reply to @blimbus:matrix.org
Hi yall, not sure if I'm just stupid and missing something but disko in disko mode is failing to setup luks on an empty drive. If the drive aleady has partitions or anything else on it it works but otherwise just fails somewhere after partitioning. It makes a luks device with password "password" even though it is set to prompt and then doesnt open the volume so creating filesystems fails.
Does it break in the vm test as well?
15:05:13
28 Sep 2024
@perchun:matrix.orgPerchun Pak left the room.17:33:17
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:05:14
2 Oct 2024
@josw:matrix.orgjosw joined the room.18:20:40
3 Oct 2024
@matthewcroughan:defenestrate.itmatthewcroughanGave chatgpt the new disko logo as input09:46:16
@matthewcroughan:defenestrate.itmatthewcroughanasked it to improve09:46:18
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
09:46:23
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
09:53:15
@matthewcroughan:defenestrate.itmatthewcroughan🤔09:53:16
@enzime:nixos.devEnzime
In reply to @matthewcroughan:defenestrate.it
sent an image.
gives me serial killer vibes
09:56:18

There are no newer messages yet.


Back to Room ListRoom Version: 10