!oNSIfazDqEcwhcOjSL:matrix.org

disko

171 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko55 Servers

Load older messages


SenderMessageTime
21 Sep 2024
@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.org@perchun:matrix.org 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
@gsaurel:laas.frGuilhem

When I sent a link to some friends, they were very impressed by the previous logo, and said:

the quality of an open source project is usually inversely proportional to the beauty of its logo, so this "disko" project must be very very good

10:06:09
@matthewcroughan:defenestrate.itmatthewcroughanamen10:07:01
@midirhee12:tchncs.demidirhee12 joined the room.13:01:29
@bumperboat:matrix.orgbumperboati am liking the idea of the disko rewrite in nushell 🤔17:25:59
@bumperboat:matrix.orgbumperboatnatively handle json in a language that's simliar to nix with an interpreter written in a memory safe language and smaller closure size than python ✔️17:32:02
@waterturkey:matrix.orgwaterturkey

In case anyone is interested or looking for help, I ended up going with this config for now. `# vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
`

22:53:32
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

`# vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
`

22:53:54
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

`

vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
`

22:54:28
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

```

vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
```

23:13:11

Show newer messages


Back to Room ListRoom Version: 10