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/ +/787294 /opendev. org/starlingx/ integ/commit/ e62b1a53b914873 8a7c36355b19607 d6e6f3d0d7
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e62b1a53b914873 8a7c36355b19607 d6e6f3d0d7
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