- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
Hello!
You mention that the device name on the instance console does not match the “Filesystem” device name from the “df-k”
command.
Well with that being said the process of attaching a volume to your instance, you include a device name for the volume. The name you have included is to be used by your EC2 instance. What assigns the actual volume name is the block device driver when mounting the volume. Note that the assigned name can be different from the name that your EC2 instance uses.
Therefore it is advisable to note the virtualisation type of your AMI because the recommended and available device names that you can use depends on the virtualisation type of your instance . With regards to NVMe EBS volumes the device name that you use in a block device mapping are renamed using NVMe device names (/dev/nvme[0-26]n1)
. The block device driver can assign NVMe device names in a different order than you specified for the volumes in the block device mapping. Also note that NVMe instance store volumes are automatically enumerated and assigned an NVMe device name.
References :
Linux Device Names: https:[1] //docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html#device-name-limits
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa