夜影如歌

ESXi学习之路01: 硬盘直通
查看 磁盘表 ~ # vdq -q [ { "Name" : "t10.ATA____...
扫描右侧二维码阅读全文
01
2019/01

ESXi学习之路01: 硬盘直通

查看 磁盘表

~ # vdq -q

[
   {
      "Name"     : "t10.ATA_____HGST_HTS725050A7E630__________________________TF0501WJ29T35Z",
      "VSANUUID" : "",
      "State"    : "Ineligible for use by VSAN",
      "Reason"   : "Has partitions",
      "IsSSD"    : "0",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

   {
      "Name"     : "t10.ATA_____HP_SSD_S700_120GB_______________________HBSA17421201565_____",
      "VSANUUID" : "",
      "State"    : "Eligible for use by VSAN",
      "Reason"   : "None",
      "IsSSD"    : "1",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

   {
      "Name"     : "t10.ATA_____WDC_WD40EFRX2D68WT0N0_________________________WD2DWCC4EKHVV031",
      "VSANUUID" : "",
      "State"    : "Ineligible for use by VSAN",
      "Reason"   : "Has partitions",
      "IsSSD"    : "0",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

   {
      "Name"     : "t10.ATA_____SAMSUNG_HM121HI_________________________S11JJD0Q224466______",
      "VSANUUID" : "",
      "State"    : "Ineligible for use by VSAN",
      "Reason"   : "Has partitions",
      "IsSSD"    : "0",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

   {
      "Name"     : "t10.ATA_____WDC_WD5000LPLX2D00ZNTT0_______________________WD2DWX41A75KYV00",
      "VSANUUID" : "",
      "State"    : "Eligible for use by VSAN",
      "Reason"   : "None",
      "IsSSD"    : "0",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

   {
      "Name"     : "t10.ATA_____ShineDisk_M756_120G_____________________YC170901L09M3DM00073",
      "VSANUUID" : "",
      "State"    : "Eligible for use by VSAN",
      "Reason"   : "None",
      "IsSSD"    : "1",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

   {
      "Name"     : "t10.ATA_____HP_SSD_S700_120GB_______________________HBSA17421201737_____",
      "VSANUUID" : "",
      "State"    : "Ineligible for use by VSAN",
      "Reason"   : "Has partitions",
      "IsSSD"    : "1",
"IsCapacityFlash": "0",
      "IsPDL"    : "0",
   },

]

磁盘直通

commands for creating RDM vmdk:


~ # vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD40EFRX2D68WT0N0_________________________WD2DWCC4EKHVV031 /vmfs/volumes/Start/VMs/RDM/HDD/WDC_WD40EFRX2D68WT0N0_WD2DWCC4EKHVV031.vmdk

~ # vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD5000LPLX2D00ZNTT0_______________________WD2DWX41A75KYV00 /vmfs/volumes/Start/VMs/RDM/HDD/WDC_WD5000LPLX2D00ZNTT0_WD2DWX41A75KYV00.vmdk

~ # vmkfstools -z /vmfs/devices/disks/t10.ATA_____HGST_HTS725050A7E630__________________________TF0501WJ29T35Z /vmfs/volumes/Start/VMs/RDM/HDD/HGST_HTS725050A7E630_TF0501WJ29T35Z.vmdk

~ # vmkfstools -z /vmfs/devices/disks/t10.ATA_____ShineDisk_M756_120G_____________________YC170901L09M3DM00073 /vmfs/volumes/Start/VMs/RDM/SSD/ShineDisk_M756_120G_YC170901L09M3DM00073.vmdk

~ # vmkfstools -z /vmfs/devices/disks/t10.ATA_____HP_SSD_S700_120GB_______________________HBSA17421201737_____ /vmfs/volumes/Start/VMs/RDM/SSD/HP_SSD_S700_120GB_HBSA17421201737.vmdk

~ # vmkfstools -z /vmfs/devices/disks/t10.ATA_____HP_SSD_S700_120GB_______________________HBSA17421201565_____ /vmfs/volumes/Start/VMs/RDM/SSD/HP_SSD_S700_120GB_HBSA17421201565.vmdk
最后修改:2019 年 01 月 01 日 08 : 46 PM
如果觉得我的文章对你有用,请随意赞赏

发表评论