When stopping drbd, we need to unmount targets from each device.
Devices with multiple mountpoints can fail to unmount, leading to
metadata corruption. Add --all-targets to the umount command.
Closes-Bug: 1920245
Signed-off-by: David Sullivan <email address hidden>
Change-Id: Ic1b4583c72a0dd256724b8672dbb59126273330b
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/787760 /opendev. org/starlingx/ integ/commit/ a72cceb1bf79698 4ba0db103b77187 da98a15dfa
Committed: https:/
Submitter: "Zuul (22348)"
Branch: r/stx.5.0
commit a72cceb1bf79698 4ba0db103b77187 da98a15dfa
Author: David Sullivan <email address hidden>
Date: Tue Apr 20 17:32:45 2021 -0500
Unmount all targets during drbd stop
When stopping drbd, we need to unmount targets from each device.
Devices with multiple mountpoints can fail to unmount, leading to
metadata corruption. Add --all-targets to the umount command.
Closes-Bug: 1920245 256724b8672dbb5 9126273330b
Signed-off-by: David Sullivan <email address hidden>
Change-Id: Ic1b4583c72a0dd