The following error occurs when you attach a data disk to an ECS instance.
mount:unknown filesystem type 'xfs'
This problem is related to initramfs. Relevant files for the 3.10.0-862.el7.x86 _64 kernel are missing in the
/boot directory. The following files are missing from a normal instance:
Alibaba Cloud reminds you that:
- Before you perform operations that may cause risks, such as modifying instance configurations or data, we recommend that you check the disaster recovery and fault tolerance capabilities of the instances to ensure data security.
- You can modify the configurations and data of instances including but not limited to Elastic Compute Service (ECS) and Relational Database Service (RDS) instances. Before the modification, we recommend that you create snapshots or enable RDS log backup.
- If you have authorized or submitted sensitive information such as the logon account and password in the Alibaba Cloud Management Console, we recommend that you modify such information in a timely manner.
Run the following commands in sequence to install the RPM package related to the kernel: Confirm that the data disk is mounted properly after the installation.
rpm -ivh kernel-*
If the ECS instance cannot be started after the data disk is attached and the error message "give root password for maintenance" is displayed, comment out the mount configurations of the data disk in file
- Elastic Compute Service