stop raid
This commit is contained in:
parent
6fe6156fc6
commit
392ce162d4
|
@ -126,7 +126,9 @@ nixos-install --option experimental-features 'nix-command flakes' --no-root-pass
|
||||||
# unmount all stuff and sync
|
# unmount all stuff and sync
|
||||||
|
|
||||||
umount -Rl /data /mnt
|
umount -Rl /data /mnt
|
||||||
zpool export -a
|
cryptsetup luksClose crypt-system
|
||||||
|
mdadm --stop /dev/md/system
|
||||||
|
sync
|
||||||
|
|
||||||
# shutdown once
|
# shutdown once
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,7 @@ nixos-install --option experimental-features 'nix-command flakes' --no-root-pass
|
||||||
|
|
||||||
umount -Rl /data /mnt
|
umount -Rl /data /mnt
|
||||||
cryptsetup luksClose crypt-system
|
cryptsetup luksClose crypt-system
|
||||||
|
mdadm --stop /dev/md/system
|
||||||
sync
|
sync
|
||||||
|
|
||||||
# shutdown once
|
# shutdown once
|
||||||
|
|
Loading…
Reference in a new issue