{"id":3049,"date":"2012-11-07T17:36:11","date_gmt":"2012-11-07T15:36:11","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3049"},"modified":"2012-11-07T17:48:09","modified_gmt":"2012-11-07T15:48:09","slug":"fmadm-%d0%b8%d0%bb%d0%b8-%d1%83%d0%b7%d0%bd%d0%b0%d0%b5%d0%bc-%d0%be%d0%b1%d0%be-%d0%b2%d1%81%d0%b5%d1%85-%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0%d1%85-%d0%bd%d0%b0-%d1%81%d0%b5%d1%80%d0%b2","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3049","title":{"rendered":"fmadm \u0438\u043b\u0438 \u0443\u0437\u043d\u0430\u0435\u043c \u043e\u0431\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435"},"content":{"rendered":"<p>\u0412 <strong>Solaris<\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043e\u043a, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 <strong>fmadm<\/strong>. \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u0448\u043b\u043e \u0438\u0437 \u0441\u0442\u0440\u043e\u044f \u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c. \u042d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043b\u0443\u0436\u0431\u0430<strong> svc:\/system\/fmd:default<\/strong>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0432\u044b\u0432\u043e\u0434 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0433\u0434\u0435 \u0432\u044b\u0448\u0435\u043b \u0438\u0437 \u0441\u0442\u0440\u043e\u044f 1 \u0434\u0438\u0441\u043a \u0438\u0437 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0443\u043b\u0430<\/p>\n<p><!--more--><\/p>\n<pre># fmadm faulty\r\n--------------- ------------------------------------  -------------- ---------\r\nTIME            EVENT-ID                              MSG-ID         SEVERITY\r\n--------------- ------------------------------------  -------------- ---------\r\nNov 07 00:37:01 39cec0af-df0c-44ab-aba5-8c96589eab50  ZFS-8000-FD    Major     \r\n\r\nHost        : server-name.com\r\nPlatform    : PowerEdge-R815    Chassis_id  : DVMM65J\r\nProduct_sn  : \r\n\r\nFault class : fault.fs.zfs.vdev.io\r\nAffects     : zfs:\/\/pool=rpool\/vdev=e318ea6265e369f6\r\n                  faulted and taken out of service\r\nProblem in  : zfs:\/\/pool=rpool\/vdev=e318ea6265e369f6\r\n                  faulted and taken out of service\r\n\r\nDescription : The number of I\/O errors associated with a ZFS device exceeded\r\n                     acceptable levels.  Refer to http:\/\/sun.com\/msg\/ZFS-8000-FD\r\n              for more information.\r\n\r\nResponse    : The device has been offlined and marked as faulted.  An attempt\r\n                     will be made to activate a hot spare if available. \r\n\r\nImpact      : Fault tolerance of the pool may be compromised.\r\n\r\nAction      : Run 'zpool status -x' and replace the bad device.<\/pre>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c \u0438\u0437 <strong>man&#8217;a<\/strong>. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0434\u0440\u0443\u0433\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c &#8211; \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 email. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 <strong>fmadm<\/strong>:<\/p>\n<p><code>#pkg install service\/fault-management\/smtp-notify<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u043a\u0443\u0434\u0430 \u0441\u043b\u0430\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f (\u043d\u0430 <strong>root@domain.com<\/strong>)<\/p>\n<pre>#svccfg setnotify problem-diagnosed mailto:root@domain.com\r\n#svccfg listnotify problem-diagnosed\r\n    Event: problem-diagnosed (source: svc:\/system\/fm\/notify-params:default)\r\n        Notification Type: smtp\r\n            Active: true\r\n            reply-to: root@localhost\r\n            to: root@domain.com\r\n\r\n        Notification Type: snmp\r\n            Active: true\r\n\r\n        Notification Type: syslog\r\n            Active: true<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 Solaris \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043e\u043a, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 fmadm. \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u0448\u043b\u043e \u0438\u0437 \u0441\u0442\u0440\u043e\u044f \u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c. \u042d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043b\u0443\u0436\u0431\u0430 svc:\/system\/fmd:default. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0432\u044b\u0432\u043e\u0434 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0433\u0434\u0435 \u0432\u044b\u0448\u0435\u043b \u0438\u0437 \u0441\u0442\u0440\u043e\u044f 1 \u0434\u0438\u0441\u043a \u0438\u0437 \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0443\u043b\u0430<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-3049","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3049"}],"version-history":[{"count":2,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3049\/revisions"}],"predecessor-version":[{"id":3051,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3049\/revisions\/3051"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}