{"id":649,"date":"2012-09-07T14:34:58","date_gmt":"2012-09-07T06:34:58","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\/"},"modified":"2012-09-07T14:55:59","modified_gmt":"2012-09-07T06:55:59","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","status":"publish","type":"post","link":"http:\/\/blog.infinity.idv.tw\/?p=649","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\uff0c\u300cfdisk -l\u300d\u986f\u793a\u9019\u500b\u786c\u789f\u5df2\u88ab\u5207\u5272\u70ba\u4e09\u500b\u78c1\u5340\uff0c\u96e3\u602a ESXi \u7121\u6cd5\u683c\u5f0f\u5316\uff0c\u9010\u4e00\u522a\u9664\u78c1\u5340\u5f8c\uff0c\u56de\u5230 VMware vSphere Client \u91cd\u8907 Add Storage \u6b65\u9a5f\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>================================<\/p>\n<p><font color=\"#ff0000\">~ # fdisk -l <\/font><\/p>\n<p>Disk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M: 1000.2 GB, 10002048860&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 16 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; En&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; d&#160;&#160;&#160;&#160;&#160; Blocks&#160; Id System <\/p>\n<p>Disk \/dev\/disks\/mpx.vmhba32:C0:T0:L0: 4005 MB, 4005560320 bytes   <br \/>64 heads, 32 sectors\/track, 3820 cylinders    <br \/>Units = cylinders of 2048 * 512 = 1048576 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; 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\/mpx.vmhba32:C0:T0:L0p1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 5&#160;&#160;&#160;&#160;&#160;&#160; 900&#160;&#160;&#160; 917504&#160;&#160;&#160; 5&#160; Extended    <br \/>\/dev\/disks\/mpx.vmhba32:C0:T0:L0p4&#160;&#160; *&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160; 4080&#160;&#160;&#160; 4&#160; FAT16 &lt;32M    <br \/>\/dev\/disks\/mpx.vmhba32:C0:T0:L0p5&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 5&#160;&#160;&#160;&#160;&#160;&#160; 254&#160;&#160;&#160; 255984&#160;&#160;&#160; 6&#160; FAT16    <br \/>\/dev\/disks\/mpx.vmhba32:C0:T0:L0p6&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 255&#160;&#160;&#160;&#160;&#160;&#160; 504&#160;&#160;&#160; 255984&#160;&#160;&#160; 6&#160; FAT16    <br \/>\/dev\/disks\/mpx.vmhba32:C0:T0:L0p7&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 505&#160;&#160;&#160;&#160;&#160;&#160; 614&#160;&#160;&#160; 112624&#160;&#160; fc&#160; VMKcore    <br \/>\/dev\/disks\/mpx.vmhba32:C0:T0:L0p8&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 615&#160;&#160;&#160;&#160;&#160;&#160; 900&#160;&#160;&#160; 292848&#160;&#160;&#160; 6&#160; FAT16<\/p>\n<p>&#160;<\/p>\n<p><font color=\"#ff0000\">~ # fdisk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M<\/font><\/p>\n<p>Command (m for help): m   <br \/>Command Action    <br \/>a&#160;&#160;&#160;&#160;&#160;&#160; toggle a bootable flag    <br \/>b&#160;&#160;&#160;&#160;&#160;&#160; edit bsd disklabel    <br \/>c&#160;&#160;&#160;&#160;&#160;&#160; toggle the dos compatibility flag    <br \/>d&#160;&#160;&#160;&#160;&#160;&#160; delete a partition    <br \/>l&#160;&#160;&#160;&#160;&#160;&#160; list known partition types    <br \/>n&#160;&#160;&#160;&#160;&#160;&#160; add a new partition    <br \/>o&#160;&#160;&#160;&#160;&#160;&#160; create a new empty DOS partition table    <br \/>p&#160;&#160;&#160;&#160;&#160;&#160; print the partition table    <br \/>q&#160;&#160;&#160;&#160;&#160;&#160; quit without saving changes    <br \/>s&#160;&#160;&#160;&#160;&#160;&#160; create a new empty Sun disklabel    <br \/>t&#160;&#160;&#160;&#160;&#160;&#160; change a partition&#8217;s system id    <br \/>u&#160;&#160;&#160;&#160;&#160;&#160; change display\/entry units    <br \/>v&#160;&#160;&#160;&#160;&#160;&#160; verify the partition table    <br \/>w&#160;&#160;&#160;&#160;&#160;&#160; write table to disk and exit    <br \/>x&#160;&#160;&#160;&#160;&#160;&#160; extra functionality (experts only)<\/p>\n<p>&#160;<\/p>\n<p>Command (m for help): d   <br \/>Selected partition 1<\/p>\n<p>&#160;<\/p>\n<p>Command (m for help): w   <br \/>The partition table has been altered!<\/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><\/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\uff0c\u300cfdisk -l\u300d\u986f\u793a\u9019\u500b\u786c\u789f\u5df2\u88ab\u5207\u5272\u70ba\u4e09\u500b\u78c1\u5340\uff0c\u96e3\u602a ESXi \u7121\u6cd5\u683c\u5f0f\u5316\uff0c\u9010\u4e00\u522a\u9664\u78c1\u5340\u5f8c\uff0c\u56de\u5230 VMware vSphere Client \u91cd\u8907 Add Storage \u6b65\u9a5f\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>================================<\/p>\n<p>~ # fdisk -l <\/p>\n<p>Disk \/dev\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP6921HD1PJY1M: 1000.2 GB, 10002048860&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 16 bytes   255 heads, 63 sectors\/track, 121601 cylinders    Units = cylinders of 16065 * 512 [&#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\/649"}],"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=649"}],"version-history":[{"count":1,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/649\/revisions"}],"predecessor-version":[{"id":650,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/649\/revisions\/650"}],"wp:attachment":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=649"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}