21 Sep 2024 |
matthewcroughan | feels risky to me, unless we trust the filesystem utils very much | 16:07:09 |
Mic92 | Well it only tries it once | 16:07:54 |
matthewcroughan | systemd-reparted has solved all of this in their own way, not 100% sure how it's all implemented but it works well | 16:07:57 |
matthewcroughan | they mark disks as managed by repart somehow | 16:08:07 |
Mic92 | systemd-reparted probably checks if there is any space left that can be used. | 16:08:18 |
matthewcroughan | and manage all this state | 16:08:19 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 18:21:24 |
22 Sep 2024 |
blimbus | 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. | 22:13:05 |
26 Sep 2024 |
| vendion joined the room. | 14:18:19 |
27 Sep 2024 |
waterturkey | Hey 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 | * and manages all this state | 11:39:56 |
Mic92 | 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 left the room. | 17:33:17 |
1 Oct 2024 |
| -_o joined the room. | 21:05:14 |
2 Oct 2024 |
| josw joined the room. | 18:20:40 |
3 Oct 2024 |
matthewcroughan | Gave chatgpt the new disko logo as input | 09:46:16 |
matthewcroughan | asked it to improve | 09:46:18 |
matthewcroughan | Download image.png | 09:46:23 |
matthewcroughan | Download image.png | 09:53:15 |
matthewcroughan | 🤔 | 09:53:16 |
Enzime | In reply to @matthewcroughan:defenestrate.it sent an image. gives me serial killer vibes | 09:56:18 |
Guilhem | 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 | amen | 10:07:01 |
| midirhee12 joined the room. | 13:01:29 |
bumperboat | i am liking the idea of the disko rewrite in nushell 🤔 | 17:25:59 |
bumperboat | natively 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 | 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 | * 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 | * 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 | * 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 |