cloudfoundry / bosh-aws-cpi-release

BOSH AWS CPI
Apache License 2.0
29 stars 62 forks source link

add 6th gen general purpose instance stores #154

Closed nimeshjm closed 11 months ago

nimeshjm commented 11 months ago

The general purpose (e.g., m6id) instances with local disks map vcap/data to the 10GB ephemeral instead of the local SSD, leaving it unused. This PR aims to mount vcap/data to the local storage SSD for the following vm types: m6id, m6idn, c6id, r6id, r6idn https://aws.amazon.com/about-aws/whats-new/2022/05/introducing-amazon-ec2-m6id-instances/ https://aws.amazon.com/about-aws/whats-new/2022/05/introducing-amazon-ec2-c6id-instances/ https://aws.amazon.com/blogs/aws/new-amazon-ec2-r6id-instances/

m6id (BAD)

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
nvme1n1     259:0    0    10G  0 disk
├─nvme1n1p1 259:4    0     5G  0 part [SWAP]
└─nvme1n1p2 259:5    0     5G  0 part /var/vcap/data
nvme2n1     259:1    0 441.5G  0 disk
nvme0n1     259:2    0     3G  0 disk
└─nvme0n1p1 259:3    0     3G  0 part /

i3en (GOOD)

NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
nvme1n1     259:0    0  2.5T  0 disk
├─nvme1n1p1 259:4    0 30.9G  0 part [SWAP]
└─nvme1n1p2 259:5    0  2.4T  0 part /var/vcap/data
nvme2n1     259:1    0  2.3T  0 disk
nvme0n1     259:2    0    3G  0 disk
└─nvme0n1p1 259:3    0    3G  0 part /
nimeshjm commented 11 months ago

Hi @rkoster - gentle nudge if this PR needs changes or any feedback you want to pass on

jpalermo commented 11 months ago

Thanks!