Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add swapoff to reboot phase #421

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

TilCreator
Copy link
Contributor

@TilCreator TilCreator commented Nov 5, 2024

fixes #420

now tested!

@phaer
Copy link
Member

phaer commented Nov 5, 2024

Thanks, idea LGTM! But now I am wondering whether we should always ensure that /mnt unmounts cleanly (and swap is off) before even triggering the reboot. Otherwise the same issue should also affect e.g. btrfs & co?

@TilCreator TilCreator marked this pull request as ready for review November 5, 2024 22:50
@TilCreator
Copy link
Contributor Author

This issue only affects zfs as other fs do not need to be exported (at least afaik)

@Mic92 Mic92 merged commit 85d2dd6 into nix-community:main Nov 15, 2024
4 checks passed
@pmaterer pmaterer mentioned this pull request Jan 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zpool export fails because swap is still active on the pool
3 participants