| 17 Oct 2025 |
| @lotte:chir.rs left the room. | 08:31:33 |
| 18 Oct 2025 |
| @dawnofmidnight:catgirl.cloud changed their display name from dawnofmidnight to whispers. | 05:34:34 |
| ardishco joined the room. | 10:50:47 |
| 19 Oct 2025 |
| azahi left the room. | 15:47:12 |
| azahi joined the room. | 19:49:52 |
| 26 Oct 2025 |
| Sir_Morton joined the room. | 15:34:12 |
| 28 Oct 2025 |
magic_rb | do you think that https://github.com/nix-community/disko/blob/3a9450b26e69dcb6f8de6e2b07b3fc1c288d85f5/lib/make-disk-image.nix#L107 could be made a blob of bash or call out to a program? This would allow me to compute the required size semi dynamically. My system closure is 3.9GB according to Nix, the actualy disk usage was 4.3GB so theoratically a hueristic such as "size of the closure * 1.5" should get me pretty close and woudnt need manual attention | 11:34:21 |
lassulus | could be turned into an option value that could be overrideable | 11:36:14 |
lassulus | probably next to diskSize on the disk type | 11:36:53 |
lassulus | aeh imageSize I mean | 11:37:04 |
| 29 Oct 2025 |
| danishsouls joined the room. | 16:02:02 |
| 1 Nov 2025 |
| Gaétan Lepage changed their profile picture. | 22:53:23 |
| Gaétan Lepage changed their profile picture. | 22:54:19 |
| 2 Nov 2025 |
| @dawnofmidnight:catgirl.cloud changed their display name from whispers to whispers (it/fae). | 17:58:10 |
| chaoflow joined the room. | 19:06:04 |
| 3 Nov 2025 |
lillecarl | https://github.com/nix-community/disko/blob/master/example/btrfs-subvolumes.nix
Doesn't this conflict with https://btrfs.readthedocs.io/en/latest/ch-mount-options.html
"Most mount options apply to the whole filesystem and only options in the first mounted subvolume will take effect. This is due to lack of implementation and may change in the future. This means that (for example) you can’t set per-subvolume nodatacow, nodatasum, or compress using mount options. This should eventually be fixed, but it has proved to be difficult to implement correctly within the Linux VFS framework." quite a bit? Which is the first mounted volume for example? | 22:00:37 |
lillecarl | * https://github.com/nix-community/disko/blob/master/example/btrfs-subvolumes.nix
Doesn't this conflict with https://btrfs.readthedocs.io/en/latest/ch-mount-options.html
"Most mount options apply to the whole filesystem and only options in the first mounted subvolume will take effect. This is due to lack of implementation and may change in the future. This means that (for example) you can’t set per-subvolume nodatacow, nodatasum, or compress using mount options. This should eventually be fixed, but it has proved to be difficult to implement correctly within the Linux VFS framework."
quite a bit? Which is the first mounted volume for example? | 22:01:59 |
lillecarl | Aaaaaaa 💡 It's different when we're creating the volumes AOT with these options maybe? | 22:02:50 |
lillecarl | * Aaaaaaa 💡 It's different when we're creating the volumes AOT with these options maybe? Edit: I don't think so, the example seems to be slightly invalid | 22:07:34 |
| 4 Nov 2025 |
blimbus | Hello, I use disko for all my machines running preservation with tmpfs and btrfs. I've been reoing my homelab and decided to try out bcachefs but currently my system just boots to emergency mode. As I said I'm new to bcachefs, so if I am doing anything obviously wrong that anyone can point out that would be greatly appreciated. Running the same configurations for preservation that I daily drive on my machine so I dont think its anything there. Not sure if I'm just doing subvolumes incorrectly or something like that.
{
disko.devices = {
disk = {
nix = {
type = "disk";
device = "/dev/disk/by-id/nvme-WD_BLACK_SN770_1TB_234252800502";
content = {
type = "gpt";
partitions = {
boot = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = ["umask=0077"];
};
};
root = {
size = "100%";
content = {
type = "bcachefs";
filesystem = "root";
label = "root";
extraFormatArgs = ["--discard"];
};
};
};
};
};
# NVME raid drives
nvme-6749 = {
type = "disk";
device = "/dev/disk/by-id/nvme-CT2000P310SSD8_24514CF66749";
content = {
type = "bcachefs";
filesystem = "np1";
label = "np1.6749";
extraFormatArgs = ["--discard"];
};
};
nvme-7818 = {
type = "disk";
device = "/dev/disk/by-id/nvme-CT2000P310SSD8_24514CF67818";
content = {
type = "bcachefs";
filesystem = "np1";
label = "np1.7818";
extraFormatArgs = ["--discard"];
};
};
nvme-7847 = {
type = "disk";
device = "/dev/disk/by-id/nvme-CT2000P310SSD8_24514CF67847";
content = {
type = "bcachefs";
filesystem = "np1";
label = "np1.7847";
extraFormatArgs = ["--discard"];
};
};
nvme-7917 = {
type = "disk";
device = "/dev/disk/by-id/nvme-CT2000P310SSD8_24514CF67917";
content = {
type = "bcachefs";
filesystem = "np1";
label = "np1.7917";
extraFormatArgs = ["--discard"];
};
};
# HDD raid drives
hdd-3ALH = {
type = "disk";
device = "/dev/disk/by-id/ata-ST4000VN006-3CW104_ZW603ALH";
content = {
type = "bcachefs";
filesystem = "dp1";
label = "dp1.3ALH";
extraFormatArgs = ["--discard"];
};
};
hdd-40NG = {
type = "disk";
device = "/dev/disk/by-id/ata-ST4000VN006-3CW104_ZW6040NG";
content = {
type = "bcachefs";
filesystem = "dp1";
label = "dp1.40NG";
extraFormatArgs = ["--discard"];
};
};
};
bcachefs_filesystems = {
root = {
type = "bcachefs_filesystem";
extraFormatArgs = [
"--compression zstd:1"
];
subvolumes = {
nix = {
mountpoint = "/nix";
};
root = {
mountpoint = "/nix/persist";
};
home = {
mountpoint = "/nix/persist/home";
};
};
};
np1 = {
type = "bcachefs_filesystem";
extraFormatArgs = [
"--compression zstd:1"
"--erasure_code"
"--data_replicas 1"
"--metadata_replicas 2"
];
subvolumes = {
root = {
mountpoint = "/nix/persist/npool";
};
};
};
dp1 = {
type = "bcachefs_filesystem";
extraFormatArgs = [
"--compression zstd:10"
"--replicas 2"
];
subvolumes = {
root = {
mountpoint = "/nix/persist/dpool";
};
};
};
};
nodev."/" = {
fsType = "tmpfs";
mountOptions = [
"defaults"
"size=6G"
"mode=755"
];
};
};
}
| 02:20:30 |
zimward | bcachefs didn't like to format my drive (its an relatively old nvme), that was about 6months ago. can you verify that the partition has been formatted? | 15:54:31 |
zimward | * bcachefs didn't like to format my drive (its an relatively old nvme), that was about 6months ago. can you verify that the partition/drives has been formatted? | 15:55:25 |
zimward | * bcachefs didn't like to format my drive (its an relatively old nvme), that was about 6months ago. can you verify that the partition/drives have been formatted? | 15:55:33 |
blimbus | In reply to @zimward:zimward.moe bcachefs didn't like to format my drive (its an relatively old nvme), that was about 6months ago. can you verify that the partition/drives have been formatted? Yeah if I boot into the installer I can mount the drives and see files on them, bcachefs show-super or whatever the info command is also looks correct, I can post some outputs later when I am home from work but not sure how helpful they will be. I'll try to simplify my config and try again. | 17:39:03 |
| @whispers:catgirl.cloud joined the room. | 20:07:56 |
| @dawnofmidnight:catgirl.cloud left the room. | 20:08:01 |
| 6 Nov 2025 |
| nhnn changed their profile picture. | 15:18:46 |
| 7 Nov 2025 |
| seaweed salad changed their display name from LARPing tech Simps like Hacker News users to seaweed salad. | 00:07:28 |
| 10 Nov 2025 |
no-mood | Okay I'm going crazy, I just reinstalled my system with nixos-anywhere since it didn't boot anymore | 18:01:38 |
no-mood | I get:
Stage 2 init script (/mnt-root/nix/store/... not found) | 18:02:03 |