How to Identify the EBS Volume ID on an AWS EC2 Instance
When managing EC2 instances with multiple EBS volumes, especially if they have similar sizes, it can be challenging to identify each one by its volume ID.
There’s a handy command for this:
lsblk -o +SERIAL
This command will display the EBS Volume ID for all attached volumes. It’s especially useful when you need to modify or resize a specific volume without any mix-ups.