I can not attach back a volume to an instance. Already try to name it /dev/xvda, /dev/sda1 or /dev/sda(don't even attach) but when looking to instance status the volume don't apear at Root device, but on Block devices..
the instance: i-037681c5cce05ec5d
the volume: vol-07d60c2e66bcf2a36
When I try to start the instance this error appear:
Invalid value 'i-037681c5cce05ec5d' for instanceId. Instance does not have a volume attached at root (xvda)
Root device -
Block devices /dev/xvda
or
Block devices /dev/sda1
instance proprieties
neither works
I had the same problem and it is you are using /dev/xvda when attaching the volume again. Instead. You must use xvda alone. It solves the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With