{"id":203652,"date":"2013-11-26T00:05:03","date_gmt":"2013-11-25T20:05:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=203652"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=203652","title":{"rendered":"<span class=\"post_title\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 kernel raid autodetect \u0434\u043b\u044f \/ \u043d\u0430 \/dev\/md0 \u0438 superblock v1.2 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \/dev\/md, \u0438\u043b\u0438 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u0440\u043e\u043d\u0438\u0442\u044c (\u0438 \u043f\u043e\u0434\u043d\u044f\u0442\u044c) \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e\u0441\u043b\u0435 \u0435\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<habracut text=\"\u041a\u0430\u043a \u044f \u044d\u0442\u043e \u043f\u043e\u0431\u043e\u0440\u043e\u043b...\"\/>  <\/p>\n<h4>\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u042d\u0442\u043e \u0431\u044b\u043b \u0442\u0435\u0441\u0442.<\/h4>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u043a\u0430\u0442\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u044b\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u0439 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 Gentoo \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e reboot&#8217;a, \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u043e\u0442\u0432\u0430\u043b\u0438\u043b\u0441\u044f \/dev\/md1 \u0441\u043e \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u043c\u0443\u0434\u0440\u043e\u0433\u043e \u044f\u0434\u0440\u0430: sdc1 does not have a valid v0.90 superblock, not importing!<\/p>\n<p>  \u0428\u043e\u043a! \u041f\u0430\u043d\u0438\u043a\u0430! \u0445\u043e\u0440\u043e\u0448\u043e, \u0447\u0442\u043e \u043d\u0435 \u0432 \u044f\u0434\u0440\u0435\u2026<\/p>\n<h4>\u0410 \u0432 \u0447\u0451\u043c, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u0435\u043b\u043e?<\/h4>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043b\u0435\u0433\u0447\u0435 \u043f\u043e\u043d\u044f\u0442\u044c \u0441\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0435\u0451 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0418\u0442\u0430\u043a, \u044f\u0434\u0440\u043e 3.10.7 \u0441 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c RAID autodetect \u0438 \u0434\u0432\u0443\u043c\u044f RAID1 (\u0437\u0435\u0440\u043a\u0430\u043b\u043e) \u0434\u0438\u0441\u043a\u0430\u043c\u0438. <\/p>\n<p>  \u041d\u0430 \/dev\/md0 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f root, \u043d\u0430 \/dev\/md1 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 (Percona):  <\/p>\n<pre><code class=\"bash\">db13 ~ # cat \/etc\/fstab | grep md \/dev\/md0                \/               ext3            noatime         0 1 \/dev\/md1                \/mnt\/db         reiser4         noatime         0 0 <\/code><\/pre>\n<p>  \u0418 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \/boot\/grub\/grub.conf:  <\/p>\n<pre><code class=\"bash\">title Gentoo Linux 3.10.7 md0 root (hd0,0) kernel \/boot\/kernel-3.10.7 root=\/dev\/md0 <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0432\u043e\u0442, \u0434\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 md \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u044f\u0434\u0440\u043e\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0434\u0432\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f:  <\/p>\n<ol>\n<li>\u0422\u0438\u043f 0xFD \u0443 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f RAID<\/li>\n<li>\u0412\u0435\u0440\u0441\u0438\u044f <a href=\"https:\/\/raid.wiki.kernel.org\/index.php\/RAID_superblock_formats\">\u0444\u043e\u0440\u043c\u0430\u0442\u0430 superblock 0.90<\/a> \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \/dev\/md, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 mdadm<\/li>\n<\/ol>\n<p>  \u0415\u0441\u043b\u0438 \u0441 \u043f.1. \u0432 \u043c\u043e\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u043e, \u0442\u043e, \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0444\u043e\u0440\u043c\u0430\u0442 superblock \u0431\u044b\u043b 1.2 \u041f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u044e, \u0447\u0442\u043e \/dev\/md1 \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0440\u0438\u0448\u043b\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f mdadm, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442. \u041a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u044f\u0434\u0440\u043e \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438: <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dmesg | grep md<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>[    0.000000] Command line: root=\/dev\/md0 raid=\/dev\/md0 [    0.000000] Kernel command line: root=\/dev\/md0 raid=\/dev\/md0 [    1.063603] md: raid1 personality registered for level 1 [    1.266420] md: Waiting for all devices to be available before autodetect [    1.266494] md: If you don't use raid, use raid=noautodetect [    1.266781] md: Autodetecting RAID arrays. [    1.293670] md: invalid raid superblock magic on sdc1 <\/pre>\n<p><b><\/p>\n<pre>[    1.294210] md: sdc1 does not have a valid v0.90 superblock, not importing! [    1.312482] md: invalid raid superblock magic on sdd1 [    1.312556] md: sdd1 does not have a valid v0.90 superblock, not importing!<\/pre>\n<p><\/b><\/p>\n<pre> [    1.312579] md: Scanned 4 and added 2 devices. [    1.312595] md: autorun ... [    1.312610] md: considering sdb3 ... [    1.312626] md:  adding sdb3 ... [    1.312641] md:  adding sda3 ... [    1.312657] md: created md0 [    1.312665] md: bind&lt;sda3&gt; [    1.312754] md: bind&lt;sdb3&gt; [    1.312770] md: running: &lt;sdb3&gt;&lt;sda3&gt; [    1.313064] md\/raid1:md0: active with 2 out of 2 mirrors [    1.313166] md0: detected capacity change from 0 to 7984840704 [    1.313262] md: ... autorun DONE. [    1.320413]  md0: unknown partition table [    1.338528] EXT3-fs (md0): mounted filesystem with ordered data mode [    2.581420] systemd-udevd[861]: starting version 208 [    3.122748] md: bind&lt;sdc1&gt; [    4.896331] EXT3-fs (md0): using internal journal <\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h4>\u041a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 Google<\/h4>\n<p>  \u0412\u044b\u0431\u043e\u0440 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u2014 \u043b\u0438\u0431\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u0432 \u044f\u0434\u0440\u0435 (\u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432 grub.conf), \u043b\u0438\u0431\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0430 (\u043f\u043e\u043b\u043d\u044b\u0439 \u0431\u044d\u043a\u0430\u043f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e \u0437\u0435\u0440\u043a\u0430\u043b\u0430 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0435\u0433\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c). \u041e\u0431\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u00ab\u043d\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u00bb, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e \u0441\u0443\u0442\u0438 \u0441\u0432\u043e\u0435\u0439 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u044b \u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0434\u0430 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043d\u0435\u043c\u0430\u043b\u043e (\u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u0438\u0441\u043a\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f <a href=\"https:\/\/raid.wiki.kernel.org\/index.php\/Autodetect\">kernel autodetect is depricated feature<\/a>)<\/p>\n<p>  \u041a \u0441\u043b\u043e\u0432\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043f\u043e\u0441\u043b\u0435 \u0441\u0442\u0430\u0440\u0442\u0430 \u0441\u0435\u0432\u0440\u0435\u0440\u0430 \/dev\/md1 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <\/p>\n<pre>mdadm --manage \/dev\/md1 --run<\/pre>\n<p>. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 rc-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043d\u043e, \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0435\u0441\u044c, \u044d\u0442\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e.<\/p>\n<h4>\u042d\u0432\u0440\u0438\u043a\u0430!<\/h4>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0448\u043b\u043e \u043d\u0435 \u0441\u0440\u0430\u0437\u0443, \u0445\u043e\u0442\u044f \u043b\u0435\u0436\u0430\u043b\u043e \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438 \u2014 \u0432\u0441\u0451, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u044d\u0442\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u0442\u0438\u043f 0xFD (\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 0\u044583) \u0443 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 \/dev\/md1 \u0438 \u0442\u043e\u0433\u0434\u0430 \u044f\u0434\u0440\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0435\u0442 \u0431\u0435\u0437\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043c\u0430\u0441\u0441\u0438\u0432, \u043c\u0435\u0448\u0430\u044f \u043f\u0440 \u044d\u0442\u043e\u043c udevd \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443. \u0418 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f fdisk \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u0430 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439 \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u0437\u0435\u0440\u043a\u0430\u043b\u0430\u0445 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0432\u0441\u0435 \u0447\u0443\u0434\u0435\u0441\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dmesg | grep md<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> [    0.000000] Command line: root=\/dev\/md0 raid=\/dev\/md0 [    0.000000] Kernel command line: root=\/dev\/md0 raid=\/dev\/md0 [    1.063924] md: raid1 personality registered for level 1 [    1.248078] md: Waiting for all devices to be available before autodetect [    1.248201] md: If you don't use raid, use raid=noautodetect [    1.248504] md: Autodetecting RAID arrays. [    1.265058] md: Scanned 2 and added 2 devices. [    1.265243] md: autorun ... [    1.265258] md: considering sda3 ... [    1.265274] md:  adding sda3 ... [    1.265290] md:  adding sdb3 ... [    1.265305] md: created md0 [    1.265321] md: bind&lt;sdb3&gt; [    1.265331] md: bind&lt;sda3&gt; [    1.265428] md: running: &lt;sda3&gt;&lt;sdb3&gt; [    1.265865] md\/raid1:md0: active with 2 out of 2 mirrors [    1.265891] md0: detected capacity change from 0 to 7984840704 [    1.266068] md: ... autorun DONE. [    1.276627]  md0: unknown partition table [    1.294892] EXT3-fs (md0): mounted filesystem with ordered data mode <\/pre>\n<p><b><\/p>\n<pre>[    2.713383] systemd-udevd[860]: starting version 208 [    3.128295] md: bind&lt;sdc1&gt; [    3.159107] md: bind&lt;sdd1&gt; [    3.170320] md\/raid1:md1: active with 2 out of 2 mirrors [    3.170333] md1: detected capacity change from 0 to 17170300928 [    3.178113]  md1: unknown partition table [    4.911712] EXT3-fs (md0): using internal journal [    5.027077] reiser4: md1: found disk format 4.0.0. <\/pre>\n<p><\/b>  <\/div>\n<\/div>\n<p>  \u0411\u0443\u0434\u0443 \u0440\u0430\u0434, \u0435\u0441\u043b\u0438 Google, \u043d\u0430\u0439\u0434\u044f \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442, \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0435\u0433\u043e \u043c\u043e\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u043f\u043e \u0446\u0435\u0445\u0443, \u043f\u043e\u043f\u0430\u0432\u0448\u0438\u043c \u0432 \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/203652\/\"> http:\/\/habrahabr.ru\/post\/203652\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<habracut text=\"\u041a\u0430\u043a \u044f \u044d\u0442\u043e \u043f\u043e\u0431\u043e\u0440\u043e\u043b...\"\/>\u043e\u0440\u043e\u043b&#8230;&#187;\/>  <\/p>\n<h4>\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. \u042d\u0442\u043e \u0431\u044b\u043b \u0442\u0435\u0441\u0442.<\/h4>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u043a\u0430\u0442\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u044b\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u0439 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 Gentoo \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e reboot&#8217;a, \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u043e\u0442\u0432\u0430\u043b\u0438\u043b\u0441\u044f \/dev\/md1 \u0441\u043e \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u043c\u0443\u0434\u0440\u043e\u0433\u043e \u044f\u0434\u0440\u0430: sdc1 does not have a valid v0.90 superblock, not importing!<\/p>\n<p>  \u0428\u043e\u043a! \u041f\u0430\u043d\u0438\u043a\u0430! \u0445\u043e\u0440\u043e\u0448\u043e, \u0447\u0442\u043e \u043d\u0435 \u0432 \u044f\u0434\u0440\u0435\u2026<\/p>\n<h4>\u0410 \u0432 \u0447\u0451\u043c, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u0435\u043b\u043e?<\/h4>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043b\u0435\u0433\u0447\u0435 \u043f\u043e\u043d\u044f\u0442\u044c \u0441\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0435\u0451 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0418\u0442\u0430\u043a, \u044f\u0434\u0440\u043e 3.10.7 \u0441 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c RAID autodetect \u0438 \u0434\u0432\u0443\u043c\u044f RAID1 (\u0437\u0435\u0440\u043a\u0430\u043b\u043e) \u0434\u0438\u0441\u043a\u0430\u043c\u0438. <\/p>\n<p>  \u041d\u0430 \/dev\/md0 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f root, \u043d\u0430 \/dev\/md1 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 (Percona):  <\/p>\n<pre><code class=\"bash\">db13 ~ # cat \/etc\/fstab | grep md \/dev\/md0                \/               ext3            noatime         0 1 \/dev\/md1                \/mnt\/db         reiser4         noatime         0 0 <\/code><\/pre>\n<p>  \u0418 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \/boot\/grub\/grub.conf:  <\/p>\n<pre><code class=\"bash\">title Gentoo Linux 3.10.7 md0 root (hd0,0) kernel \/boot\/kernel-3.10.7 root=\/dev\/md0 <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0432\u043e\u0442, \u0434\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 md \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u044f\u0434\u0440\u043e\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e \u0434\u0432\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f:  <\/p>\n<ol>\n<li>\u0422\u0438\u043f 0xFD \u0443 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f RAID<\/li>\n<li>\u0412\u0435\u0440\u0441\u0438\u044f <a href=\"https:\/\/raid.wiki.kernel.org\/index.php\/RAID_superblock_formats\">\u0444\u043e\u0440\u043c\u0430\u0442\u0430 superblock 0.90<\/a> \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \/dev\/md, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 mdadm<\/li>\n<\/ol>\n<p>  \u0415\u0441\u043b\u0438 \u0441 \u043f.1. \u0432 \u043c\u043e\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0445\u043e\u0440\u043e\u0448\u043e, \u0442\u043e, \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0444\u043e\u0440\u043c\u0430\u0442 superblock \u0431\u044b\u043b 1.2 \u041f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u044e, \u0447\u0442\u043e \/dev\/md1 \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0440\u0438\u0448\u043b\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f mdadm, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442. \u041a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u044f\u0434\u0440\u043e \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438: <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dmesg | grep md<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>[    0.000000] Command line: root=\/dev\/md0 raid=\/dev\/md0 [    0.000000] Kernel command line: root=\/dev\/md0 raid=\/dev\/md0 [    1.063603] md: raid1 personality registered for level 1 [    1.266420] md: Waiting for all devices to be available before autodetect [    1.266494] md: If you don't use raid, use raid=noautodetect [    1.266781] md: Autodetecting RAID arrays. [    1.293670] md: invalid raid superblock magic on sdc1 <\/pre>\n<p><b><\/p>\n<pre>[    1.294210] md: sdc1 does not have a valid v0.90 superblock, not importing! [    1.312482] md: invalid raid superblock magic on sdd1 [    1.312556] md: sdd1 does not have a valid v0.90 superblock, not importing!<\/pre>\n<p><\/b><\/p>\n<pre> [    1.312579] md: Scanned 4 and added 2 devices. [    1.312595] md: autorun ... [    1.312610] md: considering sdb3 ... [    1.312626] md:  adding sdb3 ... [    1.312641] md:  adding sda3 ... [    1.312657] md: created md0 [    1.312665] md: bind&lt;sda3&gt; [    1.312754] md: bind&lt;sdb3&gt; [    1.312770] md: running: &lt;sdb3&gt;&lt;sda3&gt; [    1.313064] md\/raid1:md0: active with 2 out of 2 mirrors [    1.313166] md0: detected capacity change from 0 to 7984840704 [    1.313262] md: ... autorun DONE. [    1.320413]  md0: unknown partition table [    1.338528] EXT3-fs (md0): mounted filesystem with ordered data mode [    2.581420] systemd-udevd[861]: starting version 208 [    3.122748] md: bind&lt;sdc1&gt; [    4.896331] EXT3-fs (md0): using internal journal <\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h4>\u041a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 Google<\/h4>\n<p>  \u0412\u044b\u0431\u043e\u0440 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u2014 \u043b\u0438\u0431\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u0432 \u044f\u0434\u0440\u0435 (\u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432 grub.conf), \u043b\u0438\u0431\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442 \u0441\u0443\u043f\u0435\u0440\u0431\u043b\u043e\u043a\u0430 (\u043f\u043e\u043b\u043d\u044b\u0439 \u0431\u044d\u043a\u0430\u043f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e \u0437\u0435\u0440\u043a\u0430\u043b\u0430 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0435\u0433\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c). \u041e\u0431\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u00ab\u043d\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u00bb, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e \u0441\u0443\u0442\u0438 \u0441\u0432\u043e\u0435\u0439 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u044b \u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0434\u0430 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043d\u0435\u043c\u0430\u043b\u043e (\u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u0438\u0441\u043a\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f <a href=\"https:\/\/raid.wiki.kernel.org\/index.php\/Autodetect\">kernel autodetect is depricated feature<\/a>)<\/p>\n<p>  \u041a \u0441\u043b\u043e\u0432\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043f\u043e\u0441\u043b\u0435 \u0441\u0442\u0430\u0440\u0442\u0430 \u0441\u0435\u0432\u0440\u0435\u0440\u0430 \/dev\/md1 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <\/p>\n<pre>mdadm --manage \/dev\/md1 --run<\/pre>\n<p>. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 rc-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043d\u043e, \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0435\u0441\u044c, \u044d\u0442\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e.<\/p>\n<h4>\u042d\u0432\u0440\u0438\u043a\u0430!<\/h4>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0448\u043b\u043e \u043d\u0435 \u0441\u0440\u0430\u0437\u0443, \u0445\u043e\u0442\u044f \u043b\u0435\u0436\u0430\u043b\u043e \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438 \u2014 \u0432\u0441\u0451, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u044d\u0442\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u0442\u0438\u043f 0xFD (\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 0\u044583) \u0443 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 \/dev\/md1 \u0438 \u0442\u043e\u0433\u0434\u0430 \u044f\u0434\u0440\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0435\u0442 \u0431\u0435\u0437\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043c\u0430\u0441\u0441\u0438\u0432, \u043c\u0435\u0448\u0430\u044f \u043f\u0440 \u044d\u0442\u043e\u043c udevd \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443. \u0418 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f fdisk \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u0430 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439 \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u0437\u0435\u0440\u043a\u0430\u043b\u0430\u0445 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0432\u0441\u0435 \u0447\u0443\u0434\u0435\u0441\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dmesg | grep md<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> [    0.000000] Command line: root=\/dev\/md0 raid=\/dev\/md0 [    0.000000] Kernel command line: root=\/dev\/md0 raid=\/dev\/md0 [    1.063924] md: raid1 personality registered for level 1 [    1.248078] md: Waiting for all devices to be available before autodetect [    1.248201] md: If you don't use raid, use raid=noautodetect [    1.248504] md: Autodetecting RAID arrays. [    1.265058] md: Scanned 2 and added 2 devices. [    1.265243] md: autorun ... [    1.265258] md: considering sda3 ... [    1.265274] md:  adding sda3 ... [    1.265290] md:  adding sdb3 ... [    1.265305] md: created md0 [    1.265321] md: bind&lt;sdb3&gt; [    1.265331] md: bind&lt;sda3&gt; [    1.265428] md: running: &lt;sda3&gt;&lt;sdb3&gt; [    1.265865] md\/raid1:md0: active with 2 out of 2 mirrors [    1.265891] md0: detected capacity change from 0 to 7984840704 [    1.266068] md: ... autorun DONE. [    1.276627]  md0: unknown partition table [    1.294892] EXT3-fs (md0): mounted filesystem with ordered data mode <\/pre>\n<p><b><\/p>\n<pre>[    2.713383] systemd-udevd[860]: starting version 208 [    3.128295] md: bind&lt;sdc1&gt; [    3.159107] md: bind&lt;sdd1&gt; [    3.170320] md\/raid1:md1: active with 2 out of 2 mirrors [    3.170333] md1: detected capacity change from 0 to 17170300928 [    3.178113]  md1: unknown partition table [    4.911712] EXT3-fs (md0): using internal journal [    5.027077] reiser4: md1: found disk format 4.0.0. <\/pre>\n<p><\/b>  <\/div>\n<\/div>\n<p>  \u0411\u0443\u0434\u0443 \u0440\u0430\u0434, \u0435\u0441\u043b\u0438 Google, \u043d\u0430\u0439\u0434\u044f \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442, \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0435\u0433\u043e \u043c\u043e\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u043f\u043e \u0446\u0435\u0445\u0443, \u043f\u043e\u043f\u0430\u0432\u0448\u0438\u043c \u0432 \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/203652\/\"> http:\/\/habrahabr.ru\/post\/203652\/<\/a><br \/><\/br><\/br><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-203652","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/203652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203652"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/203652\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}