Comments (3)
not sure if thats a disko or a nixpkgs problem. maybe posting a config which causes the breakage will help me investigate
from disko.
Sorry I think I forgot to save the troubling config but this should at least be close to reproducing the issue. If I remember correctly, I ended up using legacy mountpoints for all datasets in order to workaround the ordering issue.
{ ... }: {
disko.devices = {
nodev = {
"/" = {
fsType = "tmpfs";
mountOptions = [
"mode=755"
];
};
};
disk = {
x = {
type = "disk";
device = "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0901b343af36a38f56915e6ae7f6378d8e795333704cbe0c39e64a2528c00d94de2e000000000000000000003430e0f8ff1f2d2067558107c92aa62d-0:0";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "ESP";
start = "0";
end = "1024MiB";
fs-type = "fat32";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "zfs";
start = "1024MiB";
end = "100%";
content = {
type = "zfs";
pool = "sisyphus";
};
}
];
};
};
};
zpool = {
sisyphus = {
type = "zpool";
options = {
ashift = "13";
autotrim = "on";
};
rootFsOptions = {
atime = "off";
compression = "zstd";
"com.sun:auto-snapshot" = "false";
dedup = "on";
xattr = "sa";
mountpoint = "none";
};
mountRoot = "/mnt";
postCreateHook = "zfs snapshot -r sisyphus@blank";
datasets = {
local.type = "zfs_fs";
"local/reserved" = {
type = "zfs_fs";
options.mountpoint = "none";
options.reservation = "12G";
};
"local/nix" = {
type = "zfs_fs";
# options.mountpoint = "/nix";
options.mountpoint = "legacy";
mountpoint = "/nix";
};
safe.type = "zfs_fs";
"safe/persist" = {
type = "zfs_fs";
options."com.sun:auto-snapshot" = "true";
# options.mountpoint = "/persist";
options.mountpoint = "legacy";
mountpoint = "/persist";
};
"safe/home" = {
type = "zfs_fs";
options.recordsize = "1M";
# options.mountpoint = "/home";
options.mountpoint = "legacy";
mountpoint = "/home";
options."com.sun:auto-snapshot" = "true";
};
"safe/home/andre" = {
type = "zfs_fs";
options.mountpoint = "legacy";
mountpoint = "/home/andre";
};
"safe/home/yan" = {
type = "zfs_fs";
options.mountpoint = "legacy";
mountpoint = "/home/yan";
};
};
};
};
};
}
from disko.
I think this issue should be fixed by #474
from disko.
Related Issues (20)
- Using disko to generate raspberry pi sd card images
- Random boot failues due to partition confusion because disko now relies on `by-partlabel` HOT 8
- ZFS Features Support: Dataset property inheritance HOT 2
- Converting an existing system to use disko? HOT 5
- GRUB Mirrored boot entries with disko HOT 2
- zpool create error: one or more vdevs refer to the same device HOT 1
- How to test luks setup with `--vm-test` HOT 5
- device already has a partition, skipping creating zpool zroot HOT 1
- Can't automount ZFS dataset without using mountpoint="legacy" HOT 1
- `disko-install` should error out immediately if it was invoked without `sudo` HOT 1
- [DOC] add demo/example config for subvolumes on btrfs on lvm on luks HOT 1
- Add docs for upgrade from legacy table to gpt HOT 5
- QUESTION: neededForBoot option HOT 2
- Random Boot failures due to failing to mount /usr/bin HOT 4
- Size range HOT 1
- encrypted swap and hibernation HOT 2
- Generate an .iso unattended install image HOT 17
- typo in the docs?
- how to to pass flake `self` using `specialArgs`? HOT 2
- disko-install: error: infinite recursion encountered HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from disko.