大网数据广告活动
服务器运维问答

What actually happens when I mark a disk as SSD in ESXi?

· 52CE 我爱测

In VMWare ESXi / vSphere, you can mark a disk or LUN as "Flash" , indicating that the disk is an SSD (or the LUN is SSD/flash storage backed) When you do, you get the following warning: Marking HDD disks as flash disks could dete…

问题原文

原帖链接 · Josh · CC BY-SA 3.0

In VMWare ESXi / vSphere, you can mark a disk or LUN as "Flash", indicating that the disk is an SSD (or the LUN is SSD/flash storage backed)

When you do, you get the following warning:

Marking HDD disks as flash disks could deteriorate the performance of datastores and services that use them. Mark disks as flash disks only if you are certain that those disks are flash disks.

This warning makes me curious: what does marking a LUN as flash actually do? How does it change VMware's behavior / performance? How could it deteriorate performance, I.E. what technically changes at a low-level?

已采纳解答

原帖链接 · Gerald Schneider · CC BY-SA 3.0

When you mark a disk as flash disk, VMware primarily tries to use it as a cache for the datastore. Since SSDs are much much faster than hard disks it improves the performance of the datastore. If you mark a hard disk as flash disks VMware tries to use it as a cache, expecting very low seek times and high throughput. Since a hard disk can't deliver this performance, you'll notice degraded performance on the datastore.

A word of caution: It's been a while I heard this on a VMware training, I might remember it wrongly or in the wrong context, so take it with a grain of salt.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-06-16)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。