{"id":493,"date":"2024-10-06T03:11:47","date_gmt":"2024-10-05T19:11:47","guid":{"rendered":"https:\/\/www.lisq.net\/?p=493"},"modified":"2024-10-13T00:48:54","modified_gmt":"2024-10-12T16:48:54","slug":"esxi-raid-cachecade","status":"publish","type":"post","link":"https:\/\/www.lisq.net\/?p=493","title":{"rendered":"Esxi + raid cachecade"},"content":{"rendered":"\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u64cd\u4f5c\u524d\uff0c\u5377\u5fc5\u987b\u5378\u8f7d<\/mark><\/strong>,<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u64cd\u4f5c\u524d\uff0c\u5377\u5fc5\u987b\u5378\u8f7d<\/mark><\/strong>,<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u64cd\u4f5c\u524d\uff0c\u5377\u5fc5\u987b\u5378\u8f7d<\/mark><\/strong>\uff0c\u5426\u5219\u8fd9\u4e2a\u5377\u4e0a\u9762\u6b63\u5728\u8dd1\u7684\u865a\u62df\u673a\u4f1ahang\uff0c\u5e76\u4e14\u4ea7\u751f\u9501\u6587\u4ef6\uff0c\u5904\u7406\u5f88\u9ebb\u70e6<\/p>\n\n\n\n<p>update 20241013:<\/p>\n\n\n\n<p>cachecade <strong>vd\u8981\u505a\u6210raid1 \uff0c<\/strong>\u5982\u679ccacvd\u53d1\u751f\u6545\u969c\uff0c\u6ca1\u6709\u53ca\u65f6\u540c\u6b65\u5230\u6570\u636evd\uff0cvmfs\u4e2d\u5143\u6570\u636e\u5c06\u53d7\u635f\uff0c\u865a\u62df\u673a\u65e0\u6cd5\u542f\u52a8\u3001\u65e0\u6cd5\u5220\u9664\u3002\u3002\u3002\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@test1:\/vmfs\/volumes] esxcli storage filesystem list\nMount Point                                        Volume Name                                 UUID                                 Mounted  Type             Size           Free\n-------------------------------------------------  ------------------------------------------  -----------------------------------  -------  ------  -------------  -------------\n\/vmfs\/volumes\/661bc1a8-170447ef-5b31-ac1f6b3ce296  datastore3_sas2                             661bc1a8-170447ef-5b31-ac1f6b3ce296     true  VMFS-6  7999913459712  3113259892736\n\/vmfs\/volumes\/63164839-a3e1f330-98c0-089e019aa6b8  datastore1                                  63164839-a3e1f330-98c0-089e019aa6b8     true  VMFS-6   102542344192    68565336064\n\/vmfs\/volumes\/663830df-33db0de5-f147-ac1f6b3ce296  temp1                                       663830df-33db0de5-f147-ac1f6b3ce296     true  VMFS-6  2397933928448  2344846622720\n\/vmfs\/volumes\/63164839-7af2ecf9-8c8a-089e019aa6b8  OSDATA-63164839-7af2ecf9-8c8a-089e019aa6b8  63164839-7af2ecf9-8c8a-089e019aa6b8     true  VMFSOS   128580583424   118231138304\n\/vmfs\/volumes\/e39dadc6-f8464eb9-4483-3ec1ce9e1221  BOOTBANK1                                   e39dadc6-f8464eb9-4483-3ec1ce9e1221     true  vfat       4293591040     4013228032\n\/vmfs\/volumes\/c4e06c10-7841de80-3290-4c334c4e1893  BOOTBANK2     \n  \n&#91;root@test1:\/vmfs\/volumes] esxcli storage filesystem unmount  --volume-uuid=661bc1a8-170447ef-5b31-ac1f6b3ce296<\/code><\/pre>\n\n\n\n<p>\u521b\u5efacachecade<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/storcli64 \/c0 add VD cachecade  Type = raid0 drives =16:18-19  WB<\/code><\/pre>\n\n\n\n<p>\u5bf9vd\u8bbe\u7f6ecac<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/storcli64  \/c0\/v2 set ssdcaching=on|off<\/code><\/pre>\n\n\n\n<p>\u9a8c\u8bc1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@test1:\/opt\/storcli\/bin]  .\/storcli64  \/c0\/dall show cachecade\n&lt;?xml version=\"1.0\"?&gt;&lt;output xmlns:esxcli=\"storcli\"&gt;\n&lt;list type=\"string\"&gt;\n&lt;string&gt;\nCLI Version = 007.2612.0000.0000 June 13, 2023\nOperating system = VMkernel 8.0.1\nController = 0\nStatus = Success\nDescription = Show Drive Group Succeeded\n\n\nCache Cade Virtual Drives :\n=========================\n\n-----------------------------------------------------------------------------\nDG Arr Row EID:Slot DID Type  State BT       Size PDC  PI SED DS3  FSpace TR \n-----------------------------------------------------------------------------\n 2 -   -   -        -   Cac0  Optl  N  237.468 GB dflt N  N   none N      N  \n 2 0   -   -        -   RAID0 Optl  N  237.468 GB dflt N  N   none N      N  \n 2 0   0   16:18    24  DRIVE Onln  N  237.486 GB dflt N  N   none -      N  \n-----------------------------------------------------------------------------\n\nTotal Cache Cade Virtual Drives = 1\n\nCached Virtual Drives :\n=====================\n\n---------------------------------------------------------------\nDG\/VD TYPE  State Access Consist Cache Cac sCC     Size Name   \n---------------------------------------------------------------\n0\/1   RAID6 Optl  RW     No      RWBD  RW  ON  7.275 TB data02 \n1\/2   RAID5 Optl  RW     No      RWBD  RW  ON  2.180 TB tmp1   \n---------------------------------------------------------------\n\nTotal Cached Drives = 2\n\u6302\u8f7d\u5377<\/code><\/pre>\n\n\n\n<p>\u6302\u8f7d\u5377<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@test1:\/vmfs\/volumes] esxcli storage filesystem mount  --volume-uuid=661bc1a8-170447ef-5b31-ac1f6b3ce296\n&#91;root@test1:\/vmfs\/volumes] esxcli storage filesystem list\nMount Point                                        Volume Name                                 UUID                                 Mounted  Type             Size           Free\n-------------------------------------------------  ------------------------------------------  -----------------------------------  -------  ------  -------------  -------------\n\/vmfs\/volumes\/63164839-a3e1f330-98c0-089e019aa6b8  datastore1                                  63164839-a3e1f330-98c0-089e019aa6b8     true  VMFS-6   102542344192    68565336064\n\/vmfs\/volumes\/663830df-33db0de5-f147-ac1f6b3ce296  temp1                                       663830df-33db0de5-f147-ac1f6b3ce296     true  VMFS-6  2397933928448  2344846622720\n\/vmfs\/volumes\/661bc1a8-170447ef-5b31-ac1f6b3ce296  datastore3_sas2                             661bc1a8-170447ef-5b31-ac1f6b3ce296     true  VMFS-6  7999913459712  2957003194368\n\/vmfs\/volumes\/63164839-7af2ecf9-8c8a-089e019aa6b8  OSDATA-63164839-7af2ecf9-8c8a-089e019aa6b8  63164839-7af2ecf9-8c8a-089e019aa6b8     true  VMFSOS   128580583424   118231138304\n\/vmfs\/volumes\/e39dadc6-f8464eb9-4483-3ec1ce9e1221  BOOTBANK1                                   e39dadc6-f8464eb9-4483-3ec1ce9e1221     true  vfat       4293591040     4013228032\n\/vmfs\/volumes\/c4e06c10-7841de80-3290-4c334c4e1893  BOOTBANK2                                   c4e06c10-7841de80-3290-4c334c4e1893     true  vfat       4293591040     4012572672<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u64cd\u4f5c\u524d\uff0c\u5377\u5fc5\u987b\u5378\u8f7d,\u64cd\u4f5c\u524d\uff0c\u5377\u5fc5\u987b\u5378\u8f7d,\u64cd\u4f5c\u524d\uff0c\u5377\u5fc5\u987b\u5378\u8f7d\uff0c &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[11,7],"tags":[18,17],"class_list":["post-493","post","type-post","status-publish","format-standard","hentry","category-linux","category-7","tag-18","tag-17"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7zRbQ-7X","_links":{"self":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493"}],"version-history":[{"count":6,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/493\/revisions"}],"predecessor-version":[{"id":502,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/493\/revisions\/502"}],"wp:attachment":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}