Identify NVMe EBS volume

NVMe EBS volumes have the EBS volume ID set as the serial number in the device identification. Use the lsblk -o +SERIAL command to list the serial number.

[ec2-user@ip-172-16-1-223 ~]$ lsblk -o  +SERIAL

NAME          MAJ:MIN RM SIZE RO TYPE MOUNTPOINT     SERIAL

nvme1n1 259:0 0 18G 0 disk /opt/glassfish vol0dd95bcb9ed628c19

nvme0n1 259:1 0 8G 0 disk vol08012197781352aaa

├─nvme0n1p1 259:2 0 8G 0 part /

└─nvme0n1p128 259:3 0 1M 0 part

nvme2n1 259:4 0 18G 0 disk vol03f6cfb8cd92bffff

Comments