You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Local volume event O&M
Method 2: Resolve local volume failures through instance redeployment
Copy page
Download PDF
Method 2: Resolve local volume failures through instance redeployment
This topic describes how to redeploy an instance when a local volume failure event occurs.​
warning​
  • If you redeploy the instance, all data on the original local volumes of the instance (both faulty and non-faulty volumes mounted to the instance) will be lost. Please proceed with caution.​
  • If you need to redeploy the instance, back up local volume data in advance. You can back up data using volumes, TOS, or other methods.​
Scenarios​
When you receive a DiskErrorDetected (disk exception) event, you can authorize Volcano Engine to migrate the instance to another host to restore normal operations of the instance.​
Usage notes​
  • This feature is only available for instances of the Big Data, Local SSD, EBM, and Heterogeneous Compute-optimized types that are mounted with local volumes. For details, refer to Instance types.​
  • Please follow the procedure to remove the partition information of the local data volume first before you authorize O&M operations. Otherwise, the redeployed instance may fail to restart.​
Procedure​
  1. Log in to the ECS instance where the faulty volume is mounted. For more information, refer to Login overview.​
  1. Execute the following command to edit the /etc/fstab file.​
  1. Open the /etc/fstab file.​
  • ​
    vim /etc/fstab​
    ​
  1. Press the i key to enter edit mode, and add the nofail parameter after the target local volume in the file.​
Only the nofail parameter needs to be added and no other content requires adjustment.​
  • ​​​
  • Description of fstab file arguments​
  • ​
    Parameter​​
    Description​
    bf734ac7-0328-4e7f-8ada-ca09****​
    The UUID of the faulty local volume.​
    /​
    The mount point of the faulty local volume.​
    ext4​
    The file system type of the faulty local volume.​
    nofail​
    When a local volume appears in the file system but is actually missing, this parameter does not interrupt the ECS instance startup process.​
    ​
  1. Press Esc and enter :wq to save the change and exit the file.​
  1. After modifying the /etc/fstab file, you can continue the instance redeployment.​
  1. Log in to the ECS console. ​
  1. In the left-side navigation pane, select "Maintenance & Monitoring > System Events" to go to the Events page.​
  1. In the top menu bar, select the region and project of your business.​
  1. On the Events page, you can search the disk exception event based on the time range, event ID, or instance ID.​
  1. Click the "Maintenance operation" button in the "Actions" column of the target event to go to the maintenance configuration page.​
After authorization, Volcano Engine generates a DiskError.Redeploy (Redeployment for unhealthy instances) event to synchronize your instance redeployment progress.​
  1. Select "Redeploy instance" for "Operation and maintenance method".​
  1. Click the "Authorize maintenance" button.​
  1. In the pop-up window, select the desired time for instance redeployment.​
  1. After the instance is redeployed, Volcano Engine sends you a DiskError.Redeploy:Succeeded (Redeployment for unhealthy instances) event. This means that the instance redeployment succeeds. After receiving the notification, you need to log in to the instance to mount the local volume.​
tip​
  • If the instance fails to identify the local volume after the instance is redeployed, submit a ticket for technical support.​
  • We recommend that you use device names (such as /dev/data1) instead of UUID for mounting.​
  1. Execute the following command to view information about unmounted data volumes.​
  • ​
    lsblk -l​
    ​
  1. Execute the following command to create a file system for the data volume to be mounted.​
  • ​
    mkfs -t <File System> <Device Name>​
    ​
  1. Execute the following command to mount the data volume.​
  • ​
    mount <Device Name> <Mount Point>​
    ​
  1. Execute the following command to check whether the data volume is mounted.​
  • ​
    lsblk -l​
    ​
​
Last updated: 2026.06.18 17:49:51