{"id":651,"date":"2012-09-07T14:56:21","date_gmt":"2012-09-07T06:56:21","guid":{"rendered":"http:\/\/blog.infinity.idv.tw\/index.php\/2012\/09\/07\/vm-esxi-%e6%96%b0%e5%a2%9e%e7%a1%ac%e7%a2%9f%e5%87%ba%e7%8f%be-call-hostdatastoresystem-queryvmfsdatastorecreateoptions-for-object-ha-datastoresystem-on-esxi-x-x-x-xquot-2\/"},"modified":"2012-09-07T15:31:07","modified_gmt":"2012-09-07T07:31:07","slug":"vm-esxi-%e6%96%b0%e5%a2%9e%e7%a1%ac%e7%a2%9f%e5%87%ba%e7%8f%be-call-hostdatastoresystem-queryvmfsdatastorecreateoptions-for-object-ha-datastoresystem-on-esxi-x-x-x-xquot-2","status":"publish","type":"post","link":"http:\/\/blog.infinity.idv.tw\/?p=651","title":{"rendered":"VM ESXi \u65b0\u589e\u786c\u789f\u51fa\u73fe Call &quot;HostDatastoreSystem.QueryVmfsDatastoreCreateOptions&quot; for object &quot;ha-datastoresystem&quot; on ESXi &quot;x.x.x.x&quot; failed. \u8a0a\u606f"},"content":{"rendered":"<p>\u89e3\u6c7a\u65b9\u5f0f    <br \/>\u4ee5 SSH \u9023\u7dda\u767b\u5165 ESXi Server\uff0c\u6b64\u6642\u53ef\u5c07 iSCSI \u78c1\u789f\u8996\u70ba\u300c\u5b89\u88dd\u300d\u597d\u7684\u672c\u6a5f\u78c1\u789f\uff0c\u67e5\u8a62 iSCSI \u78c1\u789f\u7684\u88dd\u7f6e\u540d\u7a31\u8207\u78c1\u5340\u72c0\u614b\uff0c\u7528\u7684\u7576\u7136\u662f Linux \u7684 fdisk \u6307\u4ee4\u2026<\/p>\n<p>================================   <br \/>\u67e5\u5c0b\u78c1\u789f\u6a5f\u540d\u7a31    <br \/>~ # fdisk -l <\/p>\n<p>Disk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M: 1000.2 GB, 1000204886016 bytes   <br \/>255 heads, 63 sectors\/track, 121601 cylinders    <br \/>Units = cylinders of 16065 * 512 = 8225280 bytes <\/p>\n<p>\u8a2d\u5b9a\u8a72\u78c1\u789f\u6a5f\u5206\u5272\u5340   <br \/>~#fdisk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M <\/p>\n<p>The number of cylinders for this disk is set to 121601.   <br \/>There is nothing wrong with that, but this is larger than 1024,    <br \/>and could in certain setups cause problems with:    <br \/>1) software that runs at boot time (e.g., old versions of LILO)    <br \/>2) booting and partitioning software from other OSs    <br \/>&#160;&#160; (e.g., DOS FDISK, OS\/2 FDISK) <\/p>\n<p>\u65b0\u5efa\u5206\u6b4c\u5340(\u82e5\u5df2\u6709\u5206\u5272\u5340\u8acb\u6309d\u522a\u9664\u5f8c\u91cd\u5efa)   <br \/>Command (m for help): n    <br \/>Command action    <br \/>&#160;&#160; e&#160;&#160; extended    <br \/>&#160;&#160; p&#160;&#160; primary partition (1-4)    <\/p>\n<p>\u8a2d\u5b9a\u70ba\u4e3b\u8981\u5206\u5272\u53401    <br \/>p    <br \/>Partition number (1-4): 1    <br \/>First cylinder (1-121601, default 1): Using default value 1    <br \/>Last cylinder or +size or +sizeM or +sizeK (1-121601, default 121601): Using default value 121601 <\/p>\n<p>\u5217\u51fa\u5206\u5272\u5340\u72c0\u6cc1   <br \/>Command (m for help): p <\/p>\n<p>Disk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M: 1000.2 GB, 1000204886016 bytes   <br \/>255 heads, 63 sectors\/track, 121601 cylinders    <br \/>Units = cylinders of 16065 * 512 = 8225280 bytes <\/p>\n<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Device Boot&#160;&#160;&#160;&#160;&#160; Start&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; End&#160;&#160;&#160;&#160;&#160; Blocks&#160; Id System   <br \/>\/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1Mp1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1&#160;&#160;&#160; 121601 976760001&#160;&#160; 83&#160; Linux <\/p>\n<p>\u5beb\u5165\u72c0\u614b\u5f8c\u96e2\u958b   <br \/>Command (m for help): w    <br \/>The partition table has been altered! <\/p>\n<p>Calling ioctl() to re-read partition table   <\/p>\n<p>\u6700\u5f8c\u57f7\u884c\u9019\u6bb5\u5b98\u65b9\u6307\u4ee4   <br \/>~ # dd if=\/dev\/zero of=&quot;\/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M&quot; bs=512 count=34 conv=notrunc    <br \/>34+0 records in    <br \/>34+0 records out<\/p>\n<p>================================<\/p>\n<p>\u53c3\u8003\u4f86\u6e90    <br \/><a href=\"http:\/\/blogs.yyes.chc.edu.tw\/post\/2\/3401\">http:\/\/blogs.yyes.chc.edu.tw\/post\/2\/3401<\/a>    <br \/><a href=\"http:\/\/kb.vmware.com\/selfservice\/documentLinkInt.do?micrositeID=&amp;popup=true&amp;languageId=&amp;externalID=1008886\">http:\/\/kb.vmware.com\/selfservice\/documentLinkInt.do?micrositeID=&amp;popup=true&amp;languageId=&amp;externalID=1008886<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a\u65b9\u5f0f    \u4ee5 SSH \u9023\u7dda\u767b\u5165 ESXi Server\uff0c\u6b64\u6642\u53ef\u5c07 iSCSI \u78c1\u789f\u8996\u70ba\u300c\u5b89\u88dd\u300d\u597d\u7684\u672c\u6a5f\u78c1\u789f\uff0c\u67e5\u8a62 iSCSI \u78c1\u789f\u7684\u88dd\u7f6e\u540d\u7a31\u8207\u78c1\u5340\u72c0\u614b\uff0c\u7528\u7684\u7576\u7136\u662f Linux \u7684 fdisk \u6307\u4ee4\u2026<\/p>\n<p>================================   \u67e5\u5c0b\u78c1\u789f\u6a5f\u540d\u7a31    ~ # fdisk -l <\/p>\n<p>Disk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M: 1000.2 GB, 1000204886016 bytes   255 heads, 63 sectors\/track, 121601 cylinders    Units = cylinders of 16065 * 512 = 8225280 bytes <\/p>\n<p>\u8a2d\u5b9a\u8a72\u78c1\u789f\u6a5f\u5206\u5272\u5340 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[46],"tags":[421],"_links":{"self":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/651"}],"collection":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=651"}],"version-history":[{"count":1,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/651\/revisions"}],"predecessor-version":[{"id":652,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/651\/revisions\/652"}],"wp:attachment":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=651"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}