{"id":145,"date":"2008-10-31T12:17:32","date_gmt":"2008-10-31T08:17:32","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=145"},"modified":"2008-11-07T13:03:20","modified_gmt":"2008-11-07T09:03:20","slug":"solaris-disk-array-failed","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=145","title":{"rendered":"Solaris. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u0442\u0432\u0430\u043b\u0438\u043b\u0441\u044f \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432?"},"content":{"rendered":"<p><span style=\"color: #008000;\"><span style=\"color: #99cc00;\"><strong>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/strong><\/span> <\/span>Solaris, vxvm, \u0421\u0423\u0411\u0414 Oracle.<br \/>\n<span style=\"color: #99cc00;\"><strong><span>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e:<\/span><\/strong> <\/span>\u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u043f\u0430\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u043c\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0443.<br \/>\n<span style=\"color: #99cc00;\"><strong><span>\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f:<\/span><\/strong><\/span><\/p>\n<p><strong>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432<\/strong>.<br \/>\n<strong>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f.<\/strong><br \/>\n<strong>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c SAN. <\/strong><br \/>\n\u0417\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0432\u0438\u0442\u0447\u0438  (telnet, ssh, http \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 &#8212; \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0435\u043d\u0434\u043e\u0440\u0430). \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0437\u043e\u043d, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u043e\u0440\u0442\u043e\u0432.<\/p>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432\u0430. <\/strong><br \/>\n\u0417\u0430\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 (telnet, ssh, http \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 &#8212; \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0435\u043d\u0434\u043e\u0440\u0430). \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u043e\u0432, LUN-\u043e\u0432, \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432.<\/p>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c  \u043b\u043e\u0433\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435. <\/strong><br \/>\n<code>tail -100 \/var\/adm\/messages<\/code><\/p>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0433\u0440\u0443\u043f\u043f.<\/strong><br \/>\n<code>vxdg list<br \/>\nvxdisk list<br \/>\nvxdmpadm   listctlr all<br \/>\nvxdmpadm   getsubpaths ctlr=c5<\/code><br \/>\n<!--more--><br \/>\n<strong>\u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443.<\/strong><br \/>\n<code>cfgadm -al<br \/>\ncfgadm -c configure c5:500502020294023<br \/>\ndevfsadm<br \/>\nvxdctrl enable<br \/>\nvxdisk -o alldgs list<br \/>\nvxdg list<br \/>\nvxdisk list<br \/>\nvxdmpadm   listctlr all<br \/>\nvxdmpadm   getsubpaths ctlr=c5<\/code><\/p>\n<p><strong><a href=\"https:\/\/www.unixpin.com\/2008\/07\/14\/howto-umount-filesystem-in-solris\/\" target=\"_blank\">\u041e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/a> \u0441\u043e \u0441\u0431\u043e\u0439\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438  \u0438 \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u043e\u0432\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443.<\/strong><br \/>\n<code>umount \/home\/GROUPNAME<br \/>\nvxdg deport GROUPNAME<br \/>\nvxdg import GROUPNAME<\/code><\/p>\n<p><strong>\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043c\u0430 \u0438 \u043f\u043e\u0434\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/strong><br \/>\n<code>vxvol -g GROUPNAME startall<br \/>\nvxrecover -sb -g GROUPNAME<br \/>\nmount  \/home\/GROUPNAME<\/code><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <code>vxreattach<\/code><\/p>\n<p><strong>\u041f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438.<\/strong><br \/>\n\u0414\u043b\u044f Oracle \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c<br \/>\n\u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b<br \/>\n<code>bash-2.05# ipcs  -mb<br \/>\nIPC status from  as of Thu Aug 25 14:41:27 MSD 2007<br \/>\nT         ID      KEY        MODE        OWNER    GROUP      SEGSZ<br \/>\nShared Memory:<br \/>\nm        100   0x6b262f28 --rw-r-----    ora92      dba  541065216<br \/>\nm          1   0xc0d205f0 --rw-r-----   ora817      dba  761110528<br \/>\nm       9302   0xe0410    --rw-rw-rw-  telecom    devel        408<br \/>\nm       9303   0xe040b    --rw-rw-rw-  telecom    devel       5656<br \/>\nm       9304   0xe020b    --rw-rw-rw-  telecom    devel       2040<br \/>\nm       9305   0xe040c    --rw-rw-rw-  telecom    devel      74400<\/code><\/p>\n<p>\u041f\u043e ID \u043d\u043e\u043c\u0435\u0440\u0443 \u043e\u0447\u0438\u0449\u0430\u0435\u043c  \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u044b \u043f\u0430\u043c\u044f\u0442\u0438<br \/>\n<code>ipcrm -m 9302<br \/>\n<\/code><\/p>\n<p><strong>\u0421\u0442\u0430\u0440\u0442\u0443\u0435\u043c \u0421\u0423\u0411\u0414.<\/strong><br \/>\n<code># su - ora817<br \/>\n$ sqlplus \"\/as sysdba\"<br \/>\nSQL&gt; startup<br \/>\nSQL&gt; quit<br \/>\n$ lsnctl start<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435: Solaris, vxvm, \u0421\u0423\u0411\u0414 Oracle. \u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e: \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u043f\u0430\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u043c\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0443. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f: \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432. \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c SAN. \u0417\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0432\u0438\u0442\u0447\u0438 (telnet, ssh, http \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 &#8212; \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0435\u043d\u0434\u043e\u0440\u0430). \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0437\u043e\u043d, \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u043e\u0440\u0442\u043e\u0432. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u0417\u0430\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u043c\u0430\u0441\u0441\u0438\u0432\u0430 (telnet, ssh, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,39],"tags":[1015,89,113,1016,86,1022,153,140,141],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-sun","category-solaris","category-vxvm","tag-sun","tag-oracle","tag-storage-foundation","tag-solaris","tag-veritas","tag-vxvm","tag-volume-manager","tag-vxdg","tag-vxdisk"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=145"}],"version-history":[{"count":11,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/145\/revisions\/166"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}