轉自http://aba.qzu.cn/archives/874.html
VMware vSphere Client上顯示:
在 ESXi“10.1.10.204”上調用對象 “storageSystem”的“HostStorageSystem.ComputeDiskPartitionInfo” 失敗。
與前面提到“ESXi5.1調用對象”ha-datastoresystem”出錯及處理”是一樣,硬盤(此硬盤原來安裝其他操作系統)沒有空間寫暫時文件。
使用ssh登錄到ESXi服務器,刪除分區,然後VMware客戶端登錄,添加存儲器,一切正常,不過過程已和上一篇不一樣了,vmware換了工具partedUtil。
下面是ssh登錄ESXi服務器操作過程:
1、查看磁盤情況
df -h
顯示
Filesystem Size Used Available Use% Mounted on vfat 249.7M 157.0M 92.7M 63% /vmfs/volumes/29c4e0e1-03947b68-ee9b-d8b9fcb5cfd5 vfat 249.7M 8.0K 249.7M 0% /vmfs/volumes/7adf65e5-16d6006a-5f4f-7c90aa1146d5 vfat 285.8M 191.3M 94.6M 67% /vmfs/volumes/530f0260-07cea110-13af-c81f66e0e373 ~ # fdisk -l *** *** The fdisk command is deprecated: fdisk does not handle GPT partitions. Please use partedUtil ***
提示使用partedUtil
2. 使用esxcfg-scsidevs查看設備
esxcfg-scsidevs -l
顯示
mpx.vmhba32:C0:T0:L0 Device Type: Direct-Access Size: 15384 MB Display Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L0) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0 Devfs Path: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0 Vendor: UFD 2.0 Model: Silicon-Power16G Revis: 1100 SCSI Level: 2 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: true Is Local: true Is SSD: false Other Names: vml.0000000000766d68626133323a303a30 VAAI Status: unsupported naa.6c81f660da37aa001a6b6c7c1a6ada06 Device Type: Direct-Access Size: 1887435 MB Display Name: Local DELL Disk (naa.6c81f660da37aa001a6b6c7c1a6ada06) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c7c1a6ada06 Devfs Path: /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c7c1a6ada06 Vendor: DELL Model: PERC H700 Revis: 2.10 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.02000000006c81f660da37aa001a6b6c7c1a6ada06504552432048 VAAI Status: unsupported naa.6c81f660da37aa001a6b6c881b208efd Device Type: Direct-Access Size: 1887435 MB Display Name: Local DELL Disk (naa.6c81f660da37aa001a6b6c881b208efd) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c881b208efd Devfs Path: /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c881b208efd Vendor: DELL Model: PERC H700 Revis: 2.10 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.02000000006c81f660da37aa001a6b6c881b208efd504552432048 VAAI Status: unsupported naa.6c81f660da37aa001a6b6c931bc932c2 Device Type: Direct-Access Size: 227560 MB Display Name: Local DELL Disk (naa.6c81f660da37aa001a6b6c931bc932c2) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c931bc932c2 Devfs Path: /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c931bc932c2 Vendor: DELL Model: PERC H700 Revis: 2.10 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.02000000006c81f660da37aa001a6b6c931bc932c2504552432048 VAAI Status: unsupported t10.DP______BACKPLANE000000 Device Type: Enclosure Svc Dev Size: 0 MB Display Name: Local DP Enclosure Svc Dev (t10.DP______BACKPLANE000000) Multipath Plugin: NMP Console Device: /vmfs/devices/genscsi/t10.DP______BACKPLANE000000 Devfs Path: /vmfs/devices/genscsi/t10.DP______BACKPLANE000000 Vendor: DP Model: BACKPLANE Revis: 1.09 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.000d000000766d686261303a33323a30 VAAI Status: unsupported
3. 刪除磁盤分區
注意上面磁盤mpx.vmhba32:C0:T0:L0是USB盤,ESXi系統是安裝在USB盤上的。
對/vmfs/devices/disks/naa.xxxxxxxxxx操作,刪除分區,注意本例是刪除所有原來分區,如要保留得小心辨認。
查看分區情況
partedUtil get /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c7c1a6ada06
顯示
240614 255 63 3865468544 1 36 65987 222 0 2 67584 4261887 11 128
刪除
partedUtil delete /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c7c1a6ada06 1 partedUtil delete /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c7c1a6ada06 2
其他兩個類似
partedUtil delete /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c881b208efd 1 partedUtil delete /vmfs/devices/disks/naa.6c81f660da37aa001a6b6c931bc932c2 1
4. 刪除後重啓系統,不再顯示出錯信息完成
查看分區情況如下:
esxcfg-scsidevs -l
顯示
mpx.vmhba32:C0:T0:L0 Device Type: Direct-Access Size: 15384 MB Display Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L0) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0 Devfs Path: /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0 Vendor: UFD 2.0 Model: Silicon-Power16G Revis: 1100 SCSI Level: 2 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: true Is Local: true Is SSD: false Other Names: vml.0000000000766d68626133323a303a30 VAAI Status: unsupported naa.6c81f660da379a001a6af66e16dd122d Device Type: Direct-Access Size: 1887435 MB Display Name: Local DELL Disk (naa.6c81f660da379a001a6af66e16dd122d) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/naa.6c81f660da379a001a6af66e16dd122d Devfs Path: /vmfs/devices/disks/naa.6c81f660da379a001a6af66e16dd122d Vendor: DELL Model: PERC H700 Revis: 2.10 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.02000000006c81f660da379a001a6af66e16dd122d504552432048 VAAI Status: unsupported naa.6c81f660da379a001a6af67a1792de5b Device Type: Direct-Access Size: 1887435 MB Display Name: Local DELL Disk (naa.6c81f660da379a001a6af67a1792de5b) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/naa.6c81f660da379a001a6af67a1792de5b Devfs Path: /vmfs/devices/disks/naa.6c81f660da379a001a6af67a1792de5b Vendor: DELL Model: PERC H700 Revis: 2.10 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.02000000006c81f660da379a001a6af67a1792de5b504552432048 VAAI Status: unsupported naa.6c81f660da379a001a6af68518395ae6 Device Type: Direct-Access Size: 227560 MB Display Name: Local DELL Disk (naa.6c81f660da379a001a6af68518395ae6) Multipath Plugin: NMP Console Device: /vmfs/devices/disks/naa.6c81f660da379a001a6af68518395ae6 Devfs Path: /vmfs/devices/disks/naa.6c81f660da379a001a6af68518395ae6 Vendor: DELL Model: PERC H700 Revis: 2.10 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.02000000006c81f660da379a001a6af68518395ae6504552432048 VAAI Status: unsupported t10.DP______BACKPLANE000000 Device Type: Enclosure Svc Dev Size: 0 MB Display Name: Local DP Enclosure Svc Dev (t10.DP______BACKPLANE000000) Multipath Plugin: NMP Console Device: /vmfs/devices/genscsi/t10.DP______BACKPLANE000000 Devfs Path: /vmfs/devices/genscsi/t10.DP______BACKPLANE000000 Vendor: DP Model: BACKPLANE Revis: 1.09 SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Removable: false Is Local: true Is SSD: false Other Names: vml.000d000000766d686261303a33323a30 VAAI Status: unsupported
df查看
df -h
顯示
Filesystem Size Used Available Use% Mounted on VMFS-5 1.8T 981.0M 1.8T 0% /vmfs/volumes/v0600 VMFS-5 1.8T 981.0M 1.8T 0% /vmfs/volumes/v0601 VMFS-5 222.0G 973.0M 221.0G 0% /vmfs/volumes/v0602 vfat 249.7M 157.0M 92.7M 63% /vmfs/volumes/03e68ded-e1a329d1-e711-fa3b07dc6118 vfat 249.7M 8.0K 249.7M 0% /vmfs/volumes/79a4e3ed-ffc3f852-8a61-60bb9b2a0b6d vfat 285.8M 191.3M 94.6M 67% /vmfs/volumes/530f21e4-59212e52-91b1-c81f66e0e7bd