VSphere ESXi How to mark disks as SSD disks

Source: Internet
Author: User

1. Background

When doing a vsan experiment, you need at least one SSD disk as the read/write cache. If there is no SSD disk, we need to mark the normal HDD disk as SSD. Parameters need to be modified.

2. Steps

The first step: Find the ID of the disk that needs to be modified to SSD: Red is the ID of the disk as follows

[Email protected]:~] ESXCLI Storage Core Device List

Mpx.vmhba1:C0:T1:L0

Display name:local VMware Disk (mpx.vmhba1:C0:T1:L0)

Has Settabledisplay Name:false

size:20480

Device type:direct-access

Multipathplugin:nmp

Devfs path:/vmfs/devices/disks/mpx.vmhba1:c0:t1:l0

Vendor:vmware

Model:virtual disk

revision:1.0

SCSI Level:2

Is Pseudo:false

Status:on

Is Rdmcapable:false

Is Local:true

Is Removable:false

ISSSD: false

Second step: Create a SATP rule with the--option parameter set to ENABLE_SSD, as follows:

[Email protected]:~] esxcli storage nmp SATP rule add--SATP vmw_satp_local--device MP

x.vmhba1:c0:t1:l0 --option "Enable_local ENABLE_SSD"

View SATP rule Configuration succeeded

[Email protected]:~] esxcli storage nmp SATP Rule list | grep ENABLE_SSD

Vmw_satp_local mpx.vmhba1:C0:T1:L0

enable_local ENABLE_SSD User step three: Reclaim re- The following:

[[Email protected]:~] ESXCLI Storage core claiming reclaim-d mpx.vmhba1:C0:T1:L0

Fourth Step: Verify the success of the modification, in Ssd:true, indicating that the modification was successful. Re-scan the disk to start the Vsan experiment.

[[Email protected]:~] ESXCLI Storage Core device list-d mpx.vmhba1:C0:T1:L0

Mpx.vmhba1:C0:T1:L0

Display name:local VMware Disk (mpx.vmhba1:C0:T1:L0)

Has settable Display Name:false

size:40960

Device type:direct-access

Multipath PLUGIN:NMP

DEVFS Path:/vmfs/devices/disks/mpx.vmhba1:c0:t1:l0

Vendor:vmware

Model:virtual disk

revision:1.0

SCSI Level:2

Is Pseudo:false

Status:on

is RDM Capable:false

Is Local:true

Is Removable:false

Is SSD: true

is VVOL Pe:false

Is Offline:false

is perennially reserved:false

Queue Full Sample size:0

Queue Full threshold:0

Thin Provisioning Status:unknown

Attached Filters:

VAAI status:unsupported

Note: Delete the SATP rule:

[email protected]:~] esxcli storage NMPSATP rule Remove--SATPvmw_satp_local--device= " Mpx.vmhba1:C0:T1:L0"


This article is from "Love_ Yao" blog, please be sure to keep this source http://20161215.blog.51cto.com/2276215/1846682

VSphere ESXi How to mark disks as SSD disks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.