Important Notes
This page lists important notes for Longhorn v1.9.0. Please see here for the full release note.
The functionality of the environment check script (environment_check.sh
) overlaps with that of the Longhorn CLI, which is available starting with v1.7.0. Because of this, the script is deprecated in v1.7.0 and is scheduled for removal in v1.9.0.
Due to the upgrade of the CSI external snapshotter to version v8.2.0, ensure that all clusters are running Kubernetes v1.25 or later before upgrading to Longhorn v1.8.0 or any newer version.
Longhorn performs a pre-upgrade check when upgrading with Helm or Rancher App Marketplace. If a check fails, the upgrade will stop and the reason for the check’s failure will be recorded in an event. For more detail, see Upgrading Longhorn Manager.
Automated checks are only performed on some upgrade paths, and the pre-upgrade checker may not cover some scenarios. Manual checks, performed using either kubectl or the UI, are recommended for these schenarios. You can take mitigating actions or defer the upgrade until issues are addressed.
Longhorn also supports installation or upgrade via the HelmChart controller built into RKE2 and K3s. It allows management in a CRD YAML chart of most of the options that would normally be passed to the helm
command-line tool. For more details on how it works, see Install with Helm Controller.
In v1.8.0, Longhorn supports fully automatic online expansion of RWX volumes. There is no need to scale down the workload or apply manual commands. Full details are in RWX Volume
In versions earlier than v1.8.0, the Engine Replica Timeout setting was equally applied to all V1 volume replicas. In v1.8.0, a V1 engine marks the last active replica as failed only after twice the configured number of seconds (timeout value x 2) have passed.
Longhorn v1.8.0 and later versions support usage of V2 volumes in Talos Linux clusters. To use V2 volumes, ensure that all nodes meet the V2 Data Engine prerequisites. For more information, see Talos Linux Support: V2 Data Engine.
Starting with v1.8.0, Longhorn supports usage of multiple backupstores. You can configure backup targets to access backupstores on the Setting/Backup Target screen of the Longhorn UI. v1.8.0 improves on earlier Longhorn versions, which only allow you to use a single backup target for accessing a backupstore. Earlier versions also require you to configure the settings backup-target
, backup-target-credential-secret
, and backupstore-poll-interval
for backup target management.
IMPORTANT:
The settingsbackup-target
,backup-target-credential-secret
, andbackupstore-poll-interval
were removed from the global settings because backup targets can be configured on the Setting/Backup Target screen of the Longhorn UI. Longhorn also creates a default backup target (default
) during installation and upgrades.
Longhorn creates a default backup target (default
) during installation and upgrades. The default backup target is used for the following:
Tip: Set the default backup target before creating a new one.
For more information, see Setting a Backup Target, Issue #5411 and Issue #10089.
Earlier Longhorn versions may unintentionally delete data in the backupstore and backup-related custom resources (such as BackupVolume
, BackupBackingImage
, SystemBackup
, and Backup
) in the following scenarios:
Starting with v1.8.0, Longhorn handles backup-related custom resources in the following manner:
For more information, see #9530.
Since Longhorn v1.8.0, the if-not-present
volume backup policy now ensures the latest backup contains the most recent data. If the latest backup is outdated, Longhorn will create a new backup for the volume.
For more information, see #6027.
Longhorn currently does not support live upgrading of V2 volumes. Ensure that all V2 volumes are detached before initiating the upgrade process.
The default block size for block-type disks was 4096 bytes prior to v1.8.0. However, a 512-byte block size is more commonly used and aligns with the v1 data engine’s configuration. Additionally, the 4096-byte block size is incompatible with backing images generated by the v1 data engine. To address this, the default block size has been changed to 512 bytes.
For existing v2 volumes, users can update their setup by following these steps:
node.spec.disks
.dd
.node.spec.disks
with the updated configuration.For more information, see #10053.
A data corruption issue that affects earlier Longhorn releases has been resolved in v1.8.0. The issue involves potential continual changes to the checksum of files in a V2 volume with multiple replicas. This occurs because SPDK allocates clusters without initialization, leading to data inconsistencies across replicas. The varying data read from the volume can result in data corruption and broken backups.
Longhorn v1.8.0 supports configurable CPU cores for the V2 Data Engine. The global and node-specific configuration options provide greater control and flexibility for optimizing performance and resource allocation.
For more information, see #6341.
© 2019-2025 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2025 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.