-
Notifications
You must be signed in to change notification settings - Fork 12
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
failure_action shell
not trigerred on nfs mount failure
#42
Comments
Hi @jbtrystram , kdump should try to mount the nfs target while building kdump image and it will fail if the target cannot be mounted. Did you run |
Hi @licliu , Please let me comment instead.
Yes.
Make nfs mount to fail intentionally.
The following is the output of when nfs mount didn't fail.
The following is the output of when nfs mount got failed.
|
@masaki-hatada Thanks for explanation! |
With the following kdump config :
If the nfs destination fail to be mounted, kdump don't launch the shell but instead try to write the dump to the rootfs.
More information:
[get_mntpoint_from_target](https://github.com/rhkdump/kdump-utils/blob/88525ebf5e43cc86aea66dc75ec83db58233883b/kdump-lib-initramfs.sh#L104)
don't fail when given a remote address not mounted.when NFS is not mounted :
with nfs mounted :
Maybe
[dump_fs](https://github.com/rhkdump/kdump-utils/blob/main/dracut/99kdumpbase/kdump.sh#L135)
should fail when passed an empty value ? orget_mntpoint_from_target
should fail when given a non-mounted remote fs ?In any case, the failure shell is not started
The text was updated successfully, but these errors were encountered: