1. Upgrades and Maintenance
FlightHub 2 On-Premises FAQ
  • V2.0 Known Issues and Solutions
    • Installation and Deployment
      • [Deployment] SWAP Is Enabled During Deployment
      • [Deployment] System Dependency Installation Dry Run Fails
      • [Deployment] Can Deployment Continue When Version 1.x Residual Items Are Detected
      • [Deployment] System Dependencies Cannot Be Installed Without Removing Existing Packages
      • [Deployment] Cluster Infrastructure Installation Stalls or K3s Times Out
      • [Deployment] Resume Installation After an SSH Disconnection
      • [Deployment] Configure a Static Internal IP Address on Ubuntu 22.04
      • [Deployment] Installation Package Download Fails on the DJI Website
      • [Deployment] The Deployment Progress Connection Is Lost
      • [Deployment] Server Fingerprint File Generation Fails on KylinSec OS
    • Routine Maintenance
      • [Operations] Elevation Import Stuck in “Processing” or Failing to Enable: Status Check and Quick Recovery
      • [Operations] Elevation Import Stuck in “Processing” or Failing to Enable: Troubleshooting by Symptom
      • [Operations] Switch from HTTP to HTTPS
      • [Operations] Correct Excessive System Clock Skew
      • [Operations] Locate Deployment Directories and View or Reset the AIO Password
      • [Operations] Restart FlightHub Services
      • [Operations] Common Commands and Scripts for Version 2.0
      • [Operations] Restore Images Removed by K3s Garbage Collection
    • Network Connectivity
      • [Network] Temporary Increase in Cluster Upload or Download Traffic
      • [Network] Devices Cannot Connect After Configuring the 4G Allowlist
      • [Network] Live Stream Is Black or Abnormal After Cloud Server Deployment
    • Upgrades and Maintenance
      • [Upgrade] The Control Node Is Incorrectly Reported as a Non-Control Node
      • [Upgrade] Hard-Link Snapshot Fails with invalid cross-device link
  1. Upgrades and Maintenance

[Upgrade] Hard-Link Snapshot Fails with invalid cross-device link

Document IDMaintainerDescriptionVersion
2026111720corinAn upgrade snapshot fails when a hard link crosses filesystem boundariesV2.0

Symptoms:#

The upgrade environment check fails. The node log reports a hard-link snapshot creation error similar to the following:
link /mnt/data/2.0-1019/fh2-privatization-install-packages/MANIFEST /opt/flighthub2/staging/MANIFEST: invalid cross-device link
Hard-link snapshot failure in the upgrade log

Cause:#

The hard-link source file and target directory are on different filesystems or cross a mount boundary that does not allow hard links. Linux cannot create the hard link and returns invalid cross-device link.

Solution 1: Move the Target Data Directory onto the Source Filesystem#

Move the actual data under /opt/flighthub2 to the same filesystem as the installation package source file, using a compatible mount path. Then create a symbolic link to retain the original access path.
The example below uses /data/opt-flighthub2 as the target directory. Use this path only after confirming that /data and the actual installation package source file are under the same mount path where hard links can be created. Similar names such as /mnt/data and /data do not mean that the directories are on the same filesystem. If the condition is not met, replace every target path below with a suitable path in your environment.

1. Check mounts and available space#

Replace the source file path with the actual path from the log:
Confirm that the target location has enough free space. The following steps assume that /opt/flighthub2 is a regular directory and that the target directory contains no other data. If the original directory is itself a mount point or symbolic link, determine the migration procedure according to the actual mount layout first.

2. Stop the management service and migrate the data#

During a maintenance window, confirm that the relevant workloads have stopped writing data. Stop the management service and check its status:
The expected output is inactive. Stopping the management service alone does not mean that all application writes have stopped. Confirm that the directory contents are no longer changing before copying the data.
Confirm that the copy completed successfully, that diff reports no differences or errors, and that directory permissions and ownership are correct.

3. Switch the directory entry point#

Confirm that /opt/flighthub2.old does not already exist. If it does, use a different backup name to avoid overwriting or moving the directory inside an existing backup.
Confirm that the symbolic link points to the intended directory and that the actual mount location of staging permits creating hard links to the source file.

4. Start the service and verify the upgrade#

After confirming that the service is active and that the logs contain no related errors, return to the upgrade page and click “Retry.”
Modified at 2026-11-17 04:57:01
Previous
[Upgrade] The Control Node Is Incorrectly Reported as a Non-Control Node
Built with