| 20 Jan 2025 |
srestegosaurio (on tchncs.de) | Hello, I have a quick doubt: I want to add a BTRFS subvol to my system. I modified the disko coinfig in my flake, how should I apply those changes?
| 15:36:53 |
srestegosaurio (on tchncs.de) | Redacted or Malformed Event | 15:38:05 |
srestegosaurio (on tchncs.de) | Redacted or Malformed Event | 15:38:32 |
nim65s | Redacted or Malformed Event | 18:12:02 |
| nim65s changed their display name from Guilhem to nim65s. | 18:12:17 |
| Anton (he/him) joined the room. | 20:51:35 |
| guiniol joined the room. | 21:03:45 |
guiniol | So. I wanted to create a couple of extra datasets in an existing ZFS pool without wiping everything. Is there a way to either get disko to not remove existing data (is this what the mount mode does? I couldn't find much about it in the docs) or to get disko to give me the commands it would run to create those datasets (which I would the run myself). | 21:05:48 |
magic_rb | In reply to @guiniol:matrix.org So. I wanted to create a couple of extra datasets in an existing ZFS pool without wiping everything. Is there a way to either get disko to not remove existing data (is this what the mount mode does? I couldn't find much about it in the docs) or to get disko to give me the commands it would run to create those datasets (which I would the run myself). Last time i checked disko doesnt support repartitioning | 21:15:18 |
guiniol | so getting the commands it would run is really the only thing I can do | 21:16:27 |
guiniol | I found the --dry-run mode (I really should have run --help first...), so let's see what that gives me | 21:16:55 |
magic_rb | Id suggest you learn to use ZFS | 21:17:30 |
guiniol | so | 21:17:37 |
guiniol | the thing is I have the options I want in the disk config file | 21:17:55 |
lassulus | in theory we have support for update scripts | 21:18:02 |
lassulus | like create should be idempotent | 21:18:13 |
lassulus | but please have backups and proof read the created script :) | 21:18:26 |
guiniol | and I wanted to create the datasets as disko would create them because at the very end, I will wipe the machine and reinstall everything from backups | 21:18:27 |