Folks,
AWS exposes HDDs in their D3 instances (https://aws.amazon.com/ec2/instance-types/d3/) as nvme drives and these drives DON'T set the rotational flag as they're supposed to (https://lwn.net/Articles/408428/).
I have cut a ticket to AWS, but their response was that this was automatically set by the linux kernel and hence they can't do anything about it. Any ideas on how to fix this / how to programmatically identify drive types with 100% accuracy?
FWIW this breaks existing software like ceph that tries to detect drive types using this way. Right now the only option I have is manually fixing this. Any ideas are welcome!
Thanks. Subu