diff options
author | Jacek Galowicz <jacek@galowicz.de> | 2022-01-25 11:53:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 11:53:44 +0100 |
commit | ac44b27bab615fd49bc94fe22124deae233b5c94 (patch) | |
tree | 0b7202296ed0244f8cc5728f2240a1c6967c0ff9 /nixos | |
parent | 882241e7a8ac55ecec73889ec33a4f7d5b5582bd (diff) | |
parent | 4f7cfc8cd90e2b46ab53a789755606cd2644a87f (diff) |
Merge pull request #153077 from Madouura/dev/bcachefs-test
nixos/tests/bcachefs: use multi-disk
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/bcachefs.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/bcachefs.nix b/nixos/tests/bcachefs.nix index 146225e72ceed..211195586ed9e 100644 --- a/nixos/tests/bcachefs.nix +++ b/nixos/tests/bcachefs.nix @@ -18,13 +18,13 @@ import ./make-test-python.nix ({ pkgs, ... }: { "mkdir /tmp/mnt", "udevadm settle", "parted --script /dev/vdb mklabel msdos", - "parted --script /dev/vdb -- mkpart primary 1024M -1s", + "parted --script /dev/vdb -- mkpart primary 1024M 50% mkpart primary 50% -1s", "udevadm settle", # Due to #32279, we cannot use encryption for this test yet - # "echo password | bcachefs format --encrypted /dev/vdb1", + # "echo password | bcachefs format --encrypted --metadata_replicas 2 --label vtest /dev/vdb1 /dev/vdb2", # "echo password | bcachefs unlock /dev/vdb1", - "bcachefs format /dev/vdb1", - "mount -t bcachefs /dev/vdb1 /tmp/mnt", + "bcachefs format --metadata_replicas 2 --label vtest /dev/vdb1 /dev/vdb2", + "mount -t bcachefs /dev/vdb1:/dev/vdb2 /tmp/mnt", "udevadm settle", "bcachefs fs usage /tmp/mnt", "umount /tmp/mnt", |