1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
- Stop the broken instance
- Detach the root volume from the broken instance
- Boot up a new instance that you can log in to
- Attach volume from broken instance to the new instance
- Mount the volume at the OS level
- Reinstall the missing library
- Detach volume from new instance
- Attach fixed volume back the broken instance
- Boot up instance.
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a 8 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
it work! thank you so much, it save my job.
let's tell more about details to help guys with the same problem.
When meet "wrong type" while mount volumns, we can use the following command line. mount -t xfs -o nouuid /dev/nvme2n1p2
the aws attach page tell you it will mount at /dev/sda, actually you can't find it in ec2. the attach volumns real dev name in instance is show bying the cml: lsblk -f. The dev without mount path is the new volumn we found.