stop raid

This commit is contained in:
Christoph Cullmann 2024-10-29 18:22:22 +01:00
parent 6fe6156fc6
commit 392ce162d4
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View file

@ -126,7 +126,9 @@ nixos-install --option experimental-features 'nix-command flakes' --no-root-pass
# unmount all stuff and sync
umount -Rl /data /mnt
zpool export -a
cryptsetup luksClose crypt-system
mdadm --stop /dev/md/system
sync
# shutdown once

View file

@ -128,6 +128,7 @@ nixos-install --option experimental-features 'nix-command flakes' --no-root-pass
umount -Rl /data /mnt
cryptsetup luksClose crypt-system
mdadm --stop /dev/md/system
sync
# shutdown once