flake VM: add additional /dev/vdb disk with empty ext4 FS #102
Labels
No Label
Bug
Contributions welcome
Did not do
Duplicate
Feature
Module
Backups
Module
GraphQL
Priority
High
Priority
Low
Priority
Medium
Refactor
Severity
High
Severity
Low
Severity
Medium
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SelfPrivacy/selfprivacy-rest-api#102
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "vm-disk"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Mounted at
/volumes/vdb
.Note, that the disk device name (
vdb
) inside VM differs from what we have (sdb
), when NixOS runs, say on Hetzner.@ -139,0 +117,4 @@
nodes.machine = { lib, pkgs, ... }: {
# additional disk of size 1024 MiB with empty ext4 FS
virtualisation.emptyDiskImages = [ 1024 ];
virtualisation.fileSystems."/volumes/vdb" = {
For tests we will need 2 volumes mounted under /volumes
Root volume may be mounted there too, but @inex , do we mount root under /volumes in prod?
At the second volume only needs 200 megs tops, we will move a small service to there
No need to mount root there, because it is already mounted as
/
@houkime, done: