Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Change the hard disk drive type from HDD to SSD in vmware esxi6.5

2024-12-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Environment: host in vmware web client6.5, host IP is 10.1.1.47

Purpose: in order to configure VSAN, you need to change one of the three hard disk types created into a SSD type as a buffer.

Step 1: open the SSH of the host so that xshell can connect, configure-> Security profile-> Edit

Open ESXI Shell and SSH manually

Disable lock mode, configure-> Security profile-> lock mode

Connect using xshell

Enter your password to log in

Step 2: change the hard drive type

Esxcli storage core device list

Find the target hard drive

You can see that Is SSD is marked as False at this time

Create a SATP rule and set the optional parameter to enable_ssd

Esxcli storage nmp satp rule add-satp VMW_SATP_LOCAL-device mpx.vmhba0:C0:T1:L0-option "enable_local enable_ssd"

Note the corresponding disk number

Check out the SATP rule you just created

Esxcli storage nmp satp rule list | grep enable_ssd

Then restate the disk

Esxcli storage core claiming reclaim-d mpx.vmhba0:C0:T1:L0

Verification

Esxcli storage core device list-d mpx.vmhba0:C0:T1:L0

You can see that the modification has been successful.

If you want to restore SSD to HDD, execute

Esxcli storage nmp satp rule remove-satp VMW_SATP_LOCAL-device= "mpx.vmhba0:C0:T1:L0" esxcli storage core claiming reclaim-d mpx.vmhba0:C0:T1:L0 esxcli storage core device list-d mpx.vmhba0:C0:T1:L0

You can see that Is SSD becomes False.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report