-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZFS umount errors during shutdown #34616
Comments
Do you use |
Usually systemd makes sure, that all processes are killed before it unmounts local filesystems. |
The errno is quite strange. EBUSY should be returned if mysql is still accessing the device. |
Yes, me used legacy mountpoints
|
Is it possible to configure systemd to skip mounting/unmounting of file systems altogether? |
Mounting can be disabled using: |
I also use |
Has one of your filesystems (most likely tmp) |
Yes
|
Nice! I know, this issue is half a year old - but a bug fix is on the way :) |
We have now 0.8.0-rc3 merged into nixos, that should have this bugfix. |
I have another configuration now.
|
Checked on a virtual machine
/var/lib/mysql normally unmount |
which version of zfs & spl are you running? |
zfs
spl
Unmount error "/ var" probably does not apply to zfs. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Is this still an issue? |
Hi.
I'm trying to use separate mountpoints for MySQL in nixos, like this:
As result, I observe the following errors during system shutdown:
Filesystem mount options in hardware-configuration.nix:
I also tried the following:
But it did not help. Unmounting is done by systemd, and the same errors occur.
Method, recommended in the following comment, does not help either: #21928 (comment)
How can I ensure that unmounting of filesystems is done correctly? Where/how can I configure systemd to wait for full stop of MySQL before unmounting ZFS file systems?
"x86_64-linux"
Linux 4.15.0, NixOS, 18.03pre126729.2e4aded3669 (Impala)
yes
yes
nix-env (Nix) 1.11.16
"nixos-18.03pre126729.2e4aded3669"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: