Recovering from a Full Disk

If one disk used by one of the Longhorn replicas is full, that replica will go to the error state, and Longhorn will rebuild another replica on another node/disk.

To recover from a full disk,

  1. Disable the scheduling for the full disk.

    Longhorn should have already marked the disk as unschedulable.

    This step is to make sure the disk will not be scheduled to by accident after more space is freed up.

  2. Identify the replicas in the error state on the disk using the Longhorn UI’s disk page.

  3. Remove the replicas in the error state.

We recommend adding more disks or more space to the node that had this situation.


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


© 2021 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.