ESXiでdatastoreが作れない
2011年10月14日(金) 00:04 JST
閲覧数 16,268
ESXi 5.0、4.1共に同様のエラーが発生してdatastoreが作成できない現象に遭遇。
ESXiを起動しているディスクではなく、datastore用に追加でHDDを繋げたのですが、以下画面のエラーが出てdatastoreの作成が出来ない。
別端末に接続し、MBRパーティション形式に変更しても同様のエラーが発生。
ログを見る限り、やはりパーティションテーブルの問題の様で、パーティションテーブルをddで丸ごと強制的にzeroで上書きしないと認識してくれませんでした。
エラーが出ていた際のESXiのログは以下。
ESXiを起動しているディスクではなく、datastore用に追加でHDDを繋げたのですが、以下画面のエラーが出てdatastoreの作成が出来ない。
ESXi「192.168.xx.xx」で オブジェクト「ha-datastoresystem」の「HostDatastoreSystem.CreateVmfsDatastore」 の呼び出しが失敗しました。調べてみたら、GUIDパーティションテーブルを利用しているディスクだと失敗する模様。
別端末に接続し、MBRパーティション形式に変更しても同様のエラーが発生。
ログを見る限り、やはりパーティションテーブルの問題の様で、パーティションテーブルをddで丸ごと強制的にzeroで上書きしないと認識してくれませんでした。
エラーが出ていた際のESXiのログは以下。
Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.824 6E013B90 verbose 'Partitionsvc' opID=5FA6A2AC-000000E7] InvokePartedUtil /sbin/partedUtil "get" "/vmfs/devices/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D" Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.825 6E013B90 verbose 'SysCommandPosix' opID=5FA6A2AC-000000E7] ForkExec '/sbin/partedUtil', pid 11290, rc 0 Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.877 6E013B90 info 'Partitionsvc' opID=5FA6A2AC-000000E7] Error Stream from partedUtil while getting partitions for /vmfs/devices/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2 Oct 10 16:22:19 D: Warning: /dev/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corru Oct 10 16:22:19 pted -- possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Oct 10 16:22:19 Hostd: Warning: Not all of the space available to /dev/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D appears to be used, you can fix the GPT to use all of the space (an extra 4 blocks) or continue with Oct 10 16:22:19 the current setting? Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.877 6E013B90 verbose 'Partitionsvc' opID=5FA6A2AC-000000E7] Output Stream from partedUtil while getting partitions for /vmfs/devices/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAH Oct 10 16:22:19 DTE2D: Oct 10 16:22:19 Hostd: 48641 255 63 781422768 Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.877 6E013B90 verbose 'App' opID=5FA6A2AC-000000E7] Available primary : [1, 2, 3, 4, ] Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.877 6E013B90 verbose 'App' opID=5FA6A2AC-000000E7] Setting start sector to 128 for 64K alignment Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.929 FFDB1B90 info 'TaskManager' opID=5FA6A2AC-000000E8] Task Created : haTask-ha-host-vim.host.DatastoreSystem.createVmfsDatastore-92 Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.931 FFDB1B90 verbose 'FSVolumeProvider' opID=5FA6A2AC-000000E8] RescanVmfs called Oct 10 16:22:19 vmkernel: 0:00:28:43.142 cpu1:5117)Vol3: 1604: Could not open device 't10.ATA_____ST31000528AS________________________________________9VP4RVAS:8' for probing: Permission denied Oct 10 16:22:19 vmkernel: 0:00:28:43.143 cpu1:5117)Vol3: 644: Could not open device 't10.ATA_____ST31000528AS________________________________________9VP4RVAS:8' for volume open: Permission denied Oct 10 16:22:19 vmkernel: 0:00:28:43.148 cpu1:5117)Vol3: 1604: Could not open device 't10.ATA_____ST31000528AS________________________________________9VP4RVAS:5' for probing: Permission denied Oct 10 16:22:19 vmkernel: 0:00:28:43.149 cpu1:5117)Vol3: 644: Could not open device 't10.ATA_____ST31000528AS________________________________________9VP4RVAS:5' for volume open: Permission denied Oct 10 16:22:19 vmkernel: 0:00:28:43.152 cpu1:5117)Vol3: 1604: Could not open device 't10.ATA_____ST31000528AS________________________________________9VP4RVAS:6' for probing: Permission denied Oct 10 16:22:19 vmkernel: 0:00:28:43.153 cpu1:5117)Vol3: 644: Could not open device 't10.ATA_____ST31000528AS________________________________________9VP4RVAS:6' for volume open: Permission denied Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.984 6E013B90 verbose 'Hostsvc::DatastoreSystem'] VmfsUpdate: got VMFS message [N11HostdCommon18VmkernelUpdateVmfsE:0x6e30cff8] timestamp=1722165331 specific=0 name= label= Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.984 FFDB1B90 verbose 'Partitionsvc' opID=5FA6A2AC-000000E8] InvokePartedUtil /sbin/partedUtil "set" "/vmfs/devices/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D" "1 128 7814 Oct 10 16:22:19 17664 251 0" Oct 10 16:22:19 Hostd: [2011-10-10 16:22:19.985 FFDB1B90 verbose 'SysCommandPosix' opID=5FA6A2AC-000000E8] ForkExec '/sbin/partedUtil', pid 11291, rc 0 Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.029 FFDB1B90 info 'Partitionsvc' opID=5FA6A2AC-000000E8] Unable to set partition information for /vmfs/devices/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.029 FFDB1B90 info 'Partitionsvc' opID=5FA6A2AC-000000E8] Status : 255 Oct 10 16:22:20 Hostd: Output: 0 0 0 0 Oct 10 16:22:20 Hostd: 1 128 781417664 251 0 Oct 10 16:22:20 Hostd: Error : Unsupported partition table (gpt) on disk. Only msdos supported Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.029 FFDB1B90 verbose 'HostsvcPlugin' opID=5FA6A2AC-000000E8] Failed to update disk partitions for : /vmfs/devices/disks/t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.029 FFDB1B90 info 'App' opID=5FA6A2AC-000000E8] AdapterServer caught exception: ffe72028 Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.029 FFDB1B90 info 'TaskManager' opID=5FA6A2AC-000000E8] Task Completed : haTask-ha-host-vim.host.DatastoreSystem.createVmfsDatastore-92 Status error Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.030 FFDB1B90 info 'Vmomi' opID=5FA6A2AC-000000E8] Activation [N5Vmomi10ActivationE:0x6e34b1d0] : Invoke done [createVmfsDatastore] on [vim.host.DatastoreSystem:ha-datastoresystem] Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.030 FFDB1B90 verbose 'Vmomi' opID=5FA6A2AC-000000E8] Arg spec: Oct 10 16:22:20 Hostd: (vim.host.VmfsDatastoreCreateSpec) { Oct 10 16:22:20 Hostd: dynamicType =, Oct 10 16:22:20 Hostd: diskUuid = "01000000002020202020204b52465332365241484454453244484453373234", Oct 10 16:22:20 Hostd: partition = (vim.host.DiskPartitionInfo.Specification) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: partitionFormat = , Oct 10 16:22:20 Hostd: chs = (vim.host.DiskDimensions.Chs) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: cylinder = 48641, Oct 10 16:22:20 Hostd: head = 255, Oct 10 16:22:20 Hostd: sector = 63, Oct 10 16:22:20 Hostd: }, Oct 10 16:22:20 Hostd: totalSectors = 781422768, Oct 10 16:22:20 Hostd: partition = (vim.host.DiskPartitionInfo.Partition) [ Oct 10 16:22:20 Hostd: (vim.host.DiskPartitionInfo.Partition) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: partition = 1, Oct 10 16:22:20 Hostd: startSector = 128, Oct 10 16:22:20 Hostd: endSector = 781417664, Oct 10 16:22:20 Hostd: type = "0xfb", Oct 10 16:22:20 Hostd: guid = , Oct 10 16:22:20 Hostd: logical = false, Oct 10 16:22:20 Hostd: attributes = 0, Oct 10 16:22:20 Hostd: } Oct 10 16:22:20 Hostd: ], Oct 10 16:22:20 Hostd: }, Oct 10 16:22:20 Hostd: vmfs = (vim.host.VmfsVolume.Specification) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: extent = (vim.host.ScsiDisk.Partition) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: diskName = "t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D", Oct 10 16:22:20 Hostd: partition = 1, Oct 10 16:22:20 Hostd: }, Oct 10 16:22:20 Hostd: blockSizeMb = 1, Oct 10 16:22:20 Hostd: majorVersion = 3, Oct 10 16:22:20 Hostd: volumeName = "test", Oct 10 16:22:20 Hostd: }, Oct 10 16:22:20 Hostd: extent = (vim.host.ScsiDisk.Partition) [ Oct 10 16:22:20 Hostd: (vim.host.ScsiDisk.Partition) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: diskName = "t10.ATA_____HDS724040KLSA80_______________________________KRFS26RAHDTE2D", Oct 10 16:22:20 Hostd: partition = 1, Oct 10 16:22:20 Hostd: } Oct 10 16:22:20 Hostd: ], Oct 10 16:22:20 Hostd: } Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.031 FFDB1B90 info 'Vmomi' opID=5FA6A2AC-000000E8] Throw vim.fault.PlatformConfigFault Oct 10 16:22:20 Hostd: [2011-10-10 16:22:20.031 FFDB1B90 info 'Vmomi' opID=5FA6A2AC-000000E8] Result: Oct 10 16:22:20 Hostd: (vim.fault.PlatformConfigFault) { Oct 10 16:22:20 Hostd: dynamicType = , Oct 10 16:22:20 Hostd: faultCause = (vmodl.MethodFault) null, Oct 10 16:22:20 Hostd: text = "Failed to update disk partition information", Oct 10 16:22:20 Hostd: msg = "", Oct 10 16:22:20 Hostd: }