Perché il volume EBS non riesce a collegarsi all'istanza EC2 per la prima volta?

4 minuti di lettura
0

Ho collegato un volume Amazon Elastic Block Store (Amazon EBS) esistente alla mia istanza Amazon Elastic Compute Cloud (Amazon EC2). Ma non è riuscito con un messaggio che diceva “vol-xxx è già collegato a un'istanza.”

Breve descrizione

Tipi specifici di istanze Amazon EC2 richiedono Scalable Reliable Datagram (SRD) per offrirti il vantaggio di elevate prestazioni di Amazon EBS. I tipi di istanza specifici includono C6in, C7g, M6in, M6idn, R5b, R6in, R6idn, Trn1, X2idn,e X2iedn. SRD è un protocollo di trasporto di rete affidabile, ad alte prestazioni e a bassa latenza progettato specificamente per AWS.

Risoluzione

Quando colleghi un volume Amazon EBS esistente a un tipo di istanza che richiede SRD per la prima volta, Amazon EBS modifica il volume. Amazon EBS lo sposta su un'infrastruttura compatibile con SRD. È possibile eseguire una sola operazione di modifica sullo stesso volume alla volta. Se il volume sta subendo una modifica durante un tentativo di collegamento, il tentativo di spostare il volume sull'infrastruttura compatibile con SRD fallisce.

Quando un volume EBS esistente non riesce a collegarsi all'istanza compatibile con SRD (C6in, C7g, M6in, M6idn, R5b, R6in, R6idn, Trn1, X2idn e X2iedn), viene inviata una notifica al Personal Health Dashboard (PHD) del tuo account. Questa notifica fornisce dettagli sull'attività operativa necessaria per spostare il volume EBS su un'infrastruttura compatibile con SRD.

Nota: R5B.8xlarge viene utilizzato nell'esempio seguente.

Se hai avviato la modifica esistente, viene visualizzata la seguente notifica:

r5b.8xlarge is an SRD capable instance. In order to 
give you the benefit of the performance of an r5b.8xlarge 
instance, we have to move your volume to SRD capable 
infrastructure via the modifyVolume process. We are unable 
to perform the modification operation at this time because 
your volume is already undergoing modification. You can track 
the progress of the current modification via the 
describe-volume-modifications API. Once the modification is 
completed you can attach the volume to the instance r5b.8xlarge. 
If you urgently need to access data from this volume, please 
attach it to any instance family other than C6in, C7g, M6in, 
M6idn, R5b, R6in, R6idn, Trn1, X2idn, and X2iedn.

Se Amazon EBS ha avviato la modifica esistente, viene visualizzata la seguente notifica:

r5b.8xlarge is an SRD capable instance. In order to give you the 
benefit of the performance of an r5b.8xlarge instance, we have 
to move your volume to SRD capable infrastructure via the modifyVolume 
process. We are unable to perform the modification operation at this 
time because of an operational activity being performed by EBS on the 
server hosting your volume. Your volume is in a healthy and fully 
redundant state. We will send an update as soon as the operational 
activity is complete. You can then attach the volume to the instance 
r5b.8xlarge. This operational activity may last for up to 48 hrs. 
If you urgently need to access data from this volume, please attach 
it to any instance family other than C6in, C7g, M6in, M6idn, R5b, 
R6in, R6idn, Trn1, X2idn, and X2iedn.

Per visualizzare gli avvisi PHD degli account, consulta Eventi del tuo account.

L'attività operativa di modifica potrebbe durare fino a 48 ore. È possibile attendere il completamento della modifica originale del volume, quindi collegare nuovamente il volume EBS all'istanza compatibile con SRD. Se hai urgentemente bisogno di accedere ai dati dal tuo volume EBS, collega il volume a un tipo di istanza diverso da quello elencato nella notifica PHD. Una volta completata la modifica, collega il volume EBS all'istanza R5b.


Informazioni correlate

Nella ricerca delle prestazioni, esiste più di un modo per costruire una rete

Tipi di istanze Amazon EC2

AWS UFFICIALE
AWS UFFICIALEAggiornata un anno fa