{"id":35734,"date":"2020-02-23T18:43:29","date_gmt":"2020-02-23T10:43:29","guid":{"rendered":"http:\/\/4563.org\/?p=35734"},"modified":"2020-02-23T18:43:29","modified_gmt":"2020-02-23T10:43:29","slug":"proxmox%e8%bf%90%e7%bb%b4-etc-pve%e6%97%a0%e6%b3%95%e8%ae%bf%e9%97%ae-cluster-filesystem%e5%90%af%e5%8a%a8%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=35734","title":{"rendered":"Proxmox\u8fd0\u7ef4 \/etc\/pve\u65e0\u6cd5\u8bbf\u95ee cluster filesystem\u542f\u52a8\u5931\u8d25"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>StudyOverseas<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>Proxmox\u8fd0\u7ef4 \/etc\/pve\u65e0\u6cd5\u8bbf\u95ee cluster filesystem\u542f\u52a8\u5931\u8d25<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 StudyOverseas \u4e8e 2020-2-23 18:36 \u7f16\u8f91 <\/p>\n<p> \u539f\u6587\uff1ahttps:\/\/www.liujason.com\/article\/565.html<br \/>  \u4eca\u5929\u4e0b\u5348\u4e00\u4e2apve\u96c6\u7fa4\u51fa\u4e86\u70b9\u95ee\u9898\uff0c\u6392\u67e5\u4fee\u590d\u4e86\u3002\u8fd8\u662f\u90a3\u53e5\u8bdd\uff0c\u5e0c\u671b\u5404\u4f4d\u4e0d\u8981\u78b0\u5230\uff0c\u78b0\u5230\u4e86\u770b\u770b\u80fd\u7701\u4e0d\u5c11\u65f6\u95f4\u3002<\/p>\n<p>  \u95ee\u9898\u63cf\u8ff0<br \/>  Proxmox\u96c6\u7fa4\u5355\u8282\u70b9\u4e22\u5931\uff0c\u80fd\u591fping\u901a\uff0c\u4f46\u662fssh\u901a\u8fc7key\u8fde\u63a5\u65f6\u5361\u4f4f\uff0c\u4f7f\u7528\u5bc6\u7801\u6b63\u5e38\u3002<br \/>  \u4f7f\u7528ssh -vvv\u67e5\u770b\u53d1\u73b0\u5728\u9a8c\u8bc1key\u7684\u65f6\u5019\u65e0\u4efb\u4f55\u53cd\u9988\uff0c\u8868\u660e\u6545\u969c\u8282\u70b9\u5b58public key\u7684\u5730\u65b9\u51fa\u73b0\u4e86\u95ee\u9898\u3002<\/p>\n<p>  \u6392\u67e5<br \/>  Proxmox\u5b58\u50a8\u96c6\u7fa4public key\u7684\u5730\u65b9\u5728\/etc\/pve\uff0c\u5c1d\u8bd5cd\u8fdb\u5165\u5931\u8d25\u3002<br \/>  \/etc\/pve\u8def\u5f84\u4f7f\u7528\u7684\u662fcorosync\u8fdb\u884c\u540c\u6b65\uff0c\u67e5\u770b\u72b6\u6001\u65e0\u5f02\u5e38\uff0c\u80fd\u770b\u52305\u4e2apve\u8282\u70b9\uff1a<\/p>\n<p>  root@PVE-EU-2 ~ # systemctl status corosync<br \/>  \u25cf corosync.service &#8211; Corosync Cluster Engine<br \/>  &nbsp; &nbsp;Loaded: loaded (\/lib\/systemd\/system\/corosync.service; enabled; vendor preset: enabled<br \/>  &nbsp; &nbsp;Active: active (running) since Sun 2020-02-23 11:06:37 CET; 2min 55s ago<br \/>  &nbsp; &nbsp;Docs: man:corosync<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;man:corosync.conf<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;man:corosync_overview<br \/>   Main PID: 23596 (corosync)<br \/>  &nbsp; &nbsp; Tasks: 9 (limit: 4915)<br \/>  &nbsp; &nbsp;Memory: 128.8M<br \/>  &nbsp; &nbsp;CGroup: \/system.slice\/corosync.service<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;\u2514\u250023596 \/usr\/sbin\/corosync -f<\/p>\n<p>  \u67e5\u770bpve-cluster\u4fe1\u606f\uff0c\u53d1\u73b0cluster\u670d\u52a1\u9519\u8bef\uff0c\u96c6\u7fa4\u4e22\u5931\uff1a<\/p>\n<p>  root@PVE-EU-2 ~ # systemctl status pve-cluster<br \/>  \u25cf pve-cluster.service &#8211; The Proxmox VE cluster filesystem<br \/>  &nbsp; &nbsp;Loaded: loaded (\/lib\/systemd\/system\/pve-cluster.service; enabled; vendor preset: enab<br \/>  &nbsp; &nbsp;Active: failed (Result: exit-code) since Sun 2020-02-23 11:09:52 CET; 4s ago<br \/>  Process: 3799 ExecStart=\/usr\/bin\/pmxcfs (code=exited, status=255\/EXCEPTION)<\/p>\n<p>  Feb 23 11:09:51 PVE-EU-2 systemd: pve-cluster.service: Control process exited, code=e<br \/>  Feb 23 11:09:51 PVE-EU-2 systemd: pve-cluster.service: Failed with result &#8216;exit-code&#8217;<br \/>  Feb 23 11:09:51 PVE-EU-2 systemd: Failed to start The Proxmox VE cluster filesystem.<br \/>  Feb 23 11:09:52 PVE-EU-2 systemd: pve-cluster.service: Service RestartSec=100ms expir<br \/>  Feb 23 11:09:52 PVE-EU-2 systemd: pve-cluster.service: Scheduled restart job, restart<br \/>  Feb 23 11:09:52 PVE-EU-2 systemd: Stopped The Proxmox VE cluster filesystem.<br \/>  Feb 23 11:09:52 PVE-EU-2 systemd: pve-cluster.service: Start request repeated too qui<br \/>  Feb 23 11:09:52 PVE-EU-2 systemd: pve-cluster.service: Failed with result &#8216;exit-code&#8217;<br \/>  Feb 23 11:09:52 PVE-EU-2 systemd: Failed to start The Proxmox VE cluster filesystem.<br \/>  \u53d1\u73b0\u95ee\u9898\uff1a\u96c6\u7fa4\u6587\u4ef6\u670d\u52a1\u51fa\u9519\uff0c\u4e5f\u5c31\u662fcorosync\u8fd8\u662f\u6709\u95ee\u9898<\/p>\n<p>  \u89e3\u51b3\u65b9\u6848<br \/>  \u9996\u5148\u91cd\u542fcorosync\uff0c\u518d\u91cd\u542fpve-cluster\uff0c\u8282\u70b9\u6062\u590d<\/p>\n<p>  systemctl restart corosync<br \/>  systemctl restart pve-cluster  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e00\u4f4d\u4e0d\u77e5\u540d\u7f51\u53cb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u4e22\uff0c\u6211\u770b\u4e0d\u61c2\uff0c\u4f60\u4eec\u5462\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>StudyOverseas<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e00\u4f4d\u4e0d\u77e5\u540d\u7f51\u53cb \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-2-23 18:27<br \/>  \u6211\u4e22\uff0c\u6211\u770b\u4e0d\u61c2\uff0c\u4f60\u4eec\u5462\uff1f<\/p>\n<p> \u5927\u4f6c\u554a\uff0c\u600e\u4e48\u54ea\u91cc\u90fd\u80fd\u770b\u5230\u4f60&#8230;.\u4f60\u8fd9\u662f\u811a\u672c\u5417&#8230;\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>xiaozhenghi<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e00\u4f4d\u4e0d\u77e5\u540d\u7f51\u53cb \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-2-23 18:27<br \/>  \u6211\u4e22\uff0c\u6211\u770b\u4e0d\u61c2\uff0c\u4f60\u4eec\u5462\uff1f<\/p>\n<p> Proxmox\u662f\u4e00\u79cd\u9ad8\u7ea7\u7684\uff0c\u725b\u903c\u7684\u865a\u62df\u5316\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>microlz<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ed1\u5b9a\uff0c\u652f\u6301\u697c\u4e3byc010t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>why?<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5927\u4f6c\u6280\u672f\u725b\u903c\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>StudyOverseas \u5927\u4f6c\u6709&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/35734"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35734"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/35734\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35734"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}