VMWARE磁碟異常&無法部署ovf套件

  • Category: 電腦相關
  • Last Updated: Monday, 20 October 2014 16:32
  • Published: Monday, 13 October 2014 16:24
  • Written by sam

新裝了vmware esxi 5.5

使用vsphere 5.5操作

在分割了主機第一磁區後,要作第二個磁區的存取

卻出現了異常

HostStorageSystem.ComputeDiskPartitionnInfo

 photo 2014-10-03_093823_zps933fd348.png

要解決之前要先打開esxi的ssh服務

 photo 2014-10-03_093845_zps822458c6.png

 photo 2014-10-03_093944_zpsd9a7e352.png

 photo 2014-10-03_094157_zps2eea4b05.png

啟動就行了

~ # df -h
Filesystem   Size   Used Available Use% Mounted on
VMFS-5       1.8T 101.5G      1.7T   6% /vmfs/volumes/datastore1
vfat         4.0G   5.6M      4.0G   0% /vmfs/volumes/542d8845-bc890e9a-cfde-b82a72de1d03
vfat       249.7M 157.3M     92.4M  63% /vmfs/volumes/56eef079-712f52dc-bfaf-1a8e47f4d9d7
vfat       249.7M   8.0K    249.7M   0% /vmfs/volumes/5fd7df71-d8fe8c9c-0dab-7b2e4d7f2832
vfat       285.8M 193.4M     92.4M  68% /vmfs/volumes/542d883e-5b0a8526-a1a8-b82a72de1d03
~ # esxcfg-scsidevs -l
mpx.vmhba35:C0:T0:L0
   Device Type: CD-ROM
   Size: 0 MB
   Display Name: Local HL-DT-ST CD-ROM (mpx.vmhba35:C0:T0:L0)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/cdrom/mpx.vmhba35:C0:T0:L0
   Devfs Path: /vmfs/devices/cdrom/mpx.vmhba35:C0:T0:L0
   Vendor: HL-DT-ST  Model: DVD-ROM DU90N     Revis: D300
   SCSI Level: 5  Is Pseudo: false Status: on
   Is RDM Capable: false Is Removable: true
   Is Local: true  Is SSD: false
   Other Names:
      vml.0005000000766d68626133353a303a30
   VAAI Status: unsupported
naa.6b083fe0c460e9001ba5b30c155d6157
   Device Type: Direct-Access
   Size: 1887435 MB
   Display Name: Local DELL Disk (naa.6b083fe0c460e9001ba5b30c155d6157)
   Multipath Plugin: NMP

   Console Device: /vmfs/devices/disks/naa.6b083fe0c460e9001ba5b30c155d6157
   Devfs Path: /vmfs/devices/disks/naa.6b083fe0c460e9001ba5b30c155d6157
   Vendor: DELL      Model: PERC H710         Revis: 3.13
   SCSI Level: 5  Is Pseudo: false Status: on
   Is RDM Capable: false Is Removable: false
   Is Local: true  Is SSD: false
   Other Names:
      vml.02000000006b083fe0c460e9001ba5b30c155d6157504552432048
   VAAI Status: unsupported
naa.6b083fe0c460e9001ba5b30f158887c2
   Device Type: Direct-Access
   Size: 972596 MB
   Display Name: Local DELL Disk (naa.6b083fe0c460e9001ba5b30f158887c2)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/disks/naa.6b083fe0c460e9001ba5b30f158887c2
   Devfs Path: /vmfs/devices/disks/naa.6b083fe0c460e9001ba5b30f158887c2
   Vendor: DELL      Model: PERC H710         Revis: 3.13
   SCSI Level: 5  Is Pseudo: false Status: on
   Is RDM Capable: false Is Removable: false
   Is Local: true  Is SSD: false
   Other Names:
      vml.02000000006b083fe0c460e9001ba5b30f158887c2504552432048
   VAAI Status: unsupported
~ # partedUtil get /vmfs/devices/disks/naa.6b083fe0c460e9001ba5b30f158887c2
123988 255 63 1991876736
1 2048 1991874559 7 0
這個就是吃掉的空間,請確認後使用下面的指令刪除
~ # partedUtil delete /vmfs/devices/disks/naa.6b083fe0c460e9001ba5b30f158887c2 1

剩下未分配的空間就能順利取用了

 photo 2014-10-03_143018_zps222b78e2.png

再來是建立完標準機

通常都是要作ovf也就是作範本

這樣可以在之後的怖署新機時,直接上傳即可

但在要匯入時,點擊時會出現無法部署ovf套件的錯誤

 photo 2014-10-14_213622_zps3225026e.png

這個只要在作ovf前,先將光碟機指到本機就行