Recover Volume When It Becomes Read Only

The state of a volume can change to read-only when IO errors occur. IO errors can be caused by a variety of issues, including the following:

  • Network disconnection: Interrupted connection between the engine and replicas
  • High disk latency: Significant delay in the transfer of data between a replica and the corresponding disk

Longhorn periodically checks the volume state and automatically remount the global mount point on the host to read write again when the state changes to read-only.

© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0

© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.