{"id":212443,"date":"2014-02-13T20:00:02","date_gmt":"2014-02-13T16:00:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=212443"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=212443","title":{"rendered":"<span class=\"post_title\">\u041c\u0438\u0433\u0440\u0438\u0440\u0443\u0435\u043c \u0441 raid1 \u043d\u0430 raid10 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 Debian<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0415\u0441\u0442\u044c raid1 \u0438\u0437 2 \u0434\u0438\u0441\u043a\u043e\u0432, \u0435\u0441\u0442\u044c 2 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u0430, \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0438 2 \u0434\u0438\u0441\u043a\u0430 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 raid10 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043c, \u0447\u0442\u043e boot \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043d\u0435 \u0432 raid, \u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0434\u0438\u0441\u043a\u043e\u0432, \u0438 \u0434\u043b\u044f \u0443\u0441\u0438\u043b\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 raid1.<\/p>\n<p>  \u0412\u0441\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0431\u043e\u0435\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0421\u0445\u0435\u043c\u0430 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f, \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u0422\u0430\u043a \u0436\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 raid10 \u043d\u0430 raid1.<\/p>\n<p>  \u0418\u043c\u0435\u0435\u043c:<br \/>  \u041d\u0430 \u0434\u0438\u0441\u043a\u0435 \/dev\/sdd1 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \/boot <br \/>  \u041d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \/dev\/md1 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \/<br \/>  \u041d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \/dev\/md2 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f swap<br \/>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u043c \u0432\u043e\u043f\u0440\u043e\u0441 \u0443\u0436\u0435 \u0440\u0435\u0448\u0435\u043d, \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0441\u0440\u0430\u0437\u0443 \u043a \u0440\u0430\u0437\u0434\u0435\u043b\u0443 \u0441 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0435\u0439.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a<\/h4>\n<p>  \u041d\u0430 \u0434\u0438\u0441\u043a\u0435 \/dev\/sdd \u0435\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0435\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u0430\u043b\u043e\u043d\u043e\u043c, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0438\u0441\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c\u0438. \u0414\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438, \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043d\u0430 raid10, \u0430 \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u043d\u0430 raid1 \u0438\u0437 2\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 (\u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0430 3\u0445 \u0438 \u043d\u0430 4\u0445), \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 sdb \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u043e\u0434\u0438\u043d \u0432 \u043e\u0434\u0438\u043d \u043a\u0430\u043a \u043d\u0430 sdd. \u041b\u0438\u0431\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e  <\/p>\n<pre><code class=\"bash\">fdisk \/dev\/sdb <\/code><\/pre>\n<p>  \u041b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u044b  <\/p>\n<pre><code class=\"bash\">sfdisk -d \/dev\/sdd --force | sfdisk \/dev\/sdb --force <\/code><\/pre>\n<p>  \u0421\u0430\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \/dev\/sdd1, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 raid1 \/dev\/md4 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c  <\/p>\n<pre><code class=\"bash\">mdadm --create \/dev\/md4 --level=1 --raid-disks=2 missing \/dev\/sdb1 mke2fs -j \/dev\/md4 <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0432\u0441\u0435\u0445 raid, \u0438\u043d\u0430\u0447\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0435 \u0440\u0430\u0437\u0432\u0430\u043b\u0438\u0442\u0441\u044f  <\/p>\n<pre><code class=\"bash\">mdadm --examine --scan &gt;&gt; \/etc\/mdadm\/mdadm.conf <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u0438 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u0432\u0438\u0434\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \/dev\/md127 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f, \u0438 \u043d\u0430\u0448 \/dev\/md4, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f, \u0442.\u043a. \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \/dev\/md127. \u0420\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u0438 2 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e \/dev\/md4  <\/p>\n<pre><code class=\"bash\">mdadm -S \/dev\/md127 mdadm -S \/dev\/md4 mdadm --examine --scan &gt;&gt; \/etc\/mdadm\/mdadm.conf mdadm --assemble \/dev\/md4 <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0442\u043e\u0438\u0442 \u0435\u0449\u0435 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043c \u043a \u0441\u0430\u043c\u043e\u0439 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438, \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a GRUB2 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0433\u0440\u0443\u0437\u0438\u043b \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c UUID \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u043c \/dev\/sdd1 \u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \/dev\/md4  <\/p>\n<pre><code class=\"bash\">root@server:~# ls -l \/dev\/disk\/by-uuid total 0 lrwxrwxrwx 1 root root 9 Nov  9 20:56 4d7faa7f-25b3-4a14-b644-682ffd52943b -&gt; ..\/..\/sdd1 lrwxrwxrwx 1 root root 9 Nov  9 20:56 29683c02-5bd7-4805-8608-5815ba578b6c -&gt; ..\/..\/md4 <\/code><\/pre>\n<p>  \u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \/boot\/grub\/grub.cfg. \u0412\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u0440\u044b\u0439 UUID \u2014 4d7faa7f-25b3-4a14-b644-682ffd52943b \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 UUID \u2014 29683c02-5bd7-4805-8608-5815ba578b6c, \u043f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 search. <br \/>  \u0412\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0435\u0441\u0442\u044c set root, \u0442\u043e\u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0443. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u044b\u043b\u043e \u0442\u0430\u043a<br \/>  <code>set root='(hd0)'<\/code><br \/>  \u0410 \u0431\u0443\u0434\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a<br \/>  <code>set root='(md\/4)'<\/code><\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0435\u0433\u043e\u0441\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0430  <\/p>\n<blockquote><p>insmod raid<br \/>  insmod mdraid<br \/>  insmod part_msdos<br \/>  insmod part_msdos<br \/>  insmod part_msdos<br \/>  insmod part_msdos<br \/>  insmod ext2<br \/>  set root='(md\/4)&#8217;<br \/>  search &#8212;no-floppy &#8212;fs-uuid &#8212;set 59f76eb9-00d2-479e-b94e-6eb54fc574d4<br \/>  set locale_dir=($root)\/grub\/locale<\/p>\n<p>  \u0410 \u0441\u0435\u043a\u0446\u0438\u044f ### BEGIN \/etc\/grub.d\/10_linux ### \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a<\/p>\n<p>  menuentry &#8216;Debian GNU\/Linux, with Linux 2.6.32-5-amd64&#8217; &#8212;class debian &#8212;class gnu-linux &#8212;class gnu &#8212;class os {<br \/>   insmod raid<br \/>   insmod mdraid<br \/>   insmod part_msdos<br \/>   insmod part_msdos<br \/>   insmod part_msdos<br \/>   insmod part_msdos<br \/>   insmod ext2<br \/>   set root='(md\/4)&#8217;<br \/>   search &#8212;no-floppy &#8212;fs-uuid &#8212;set 59f76eb9-00d2-479e-b94e-6eb54fc574d4<br \/>   echo &#8216;Loading Linux 2.6.32-5-amd64 &#8230;&#8217;<br \/>   linux \/vmlinuz-2.6.32-5-amd64 root=\/dev\/md1 ro quiet<br \/>   echo &#8216;Loading initial ramdisk &#8230;&#8217;<br \/>   initrd \/initrd.img-2.6.32-5-amd64<br \/>  }<br \/>  menuentry &#8216;Debian GNU\/Linux, with Linux 2.6.32-5-amd64 (recovery mode)&#8217; &#8212;class debian &#8212;class gnu-linux &#8212;class gnu &#8212;class os {<\/p><\/blockquote>\n<p>  \u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0438\u0441\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b, \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u0443\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0443\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \/dev\/md4, \u0430 \u0442\u0430\u043c \u043f\u043e\u043a\u0430 \u0435\u0449\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442. \u0427\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u043b\u0430\u0437\u0435\u0439\u043a\u0443, \u043d\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0441\u0435\u043a\u0446\u0438\u044e recovery mode, \u0442\u0430\u043a \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043f\u0440\u0430\u0432\u0434\u0430 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f \u0447\u0435\u0440\u0435\u0437 KVM-IP \u0438\u043b\u0438 \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0414\u0426 \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 recovery mode.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u043c ram-\u0434\u0438\u0441\u043a, \u0438\u043d\u0430\u0447\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f  <\/p>\n<pre><code class=\"bash\">update-initramfs -u <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0432\u043d\u0435\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a, \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \/boot \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \/dev\/md4  <\/p>\n<pre><code class=\"bash\">mkdir \/mnt\/md4 mount \/dev\/md4 \/mnt\/md4 rsync -avHxl --progress --inplace --exclude 'lost+found' \/boot\/ \/mnt\/md4\/ umount \/mnt\/md4\/ <\/code><\/pre>\n<p>  \u041c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a GRUB2 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0430 2\u0445 \u0436\u0435\u0441\u0442\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u0430\u0445 (\u0438\u043b\u0438 4\u0445, \u0441\u043c\u043e\u0442\u0440\u044f \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432), \u0430 \u0442\u0430\u043a \u0436\u0435 \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \/dev\/md4. \u0421\u0430\u043c\u044b\u0439 \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c  <\/p>\n<pre><code class=\"bash\">dpkg-reconfigure grub-pc <\/code><\/pre>\n<p>  \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0438\u0441\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a. <\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430, \u0438 \u0441\u0430\u043c\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u0442\u0435\u043f\u0435\u0440\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \/etc\/fstab \u0438 \/etc\/mtab. \u041d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0430, \u0433\u0434\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \/boot. UUID \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f, \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0433\u043e raid-\u043c\u0430\u0441\u0441\u0438\u0432\u0430.<br \/>  \u0412 \u0444\u0430\u0439\u043b\u0435 \/etc\/fstab  <\/p>\n<pre><code class=\"bash\">#UUID=7092eb46-9ee8-4a32-b9a7-5d759cc74af0 \/boot           ext3    defaults        0       2 \/dev\/md4 \/boot           ext3    defaults        0       2 <\/code><\/pre>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 \/etc\/mtab  <\/p>\n<pre><code class=\"bash\">#\/dev\/sdd1 \/boot ext3 rw 0 0 \/dev\/md4 \/boot ext3 rw 0 0 <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f, \u0438 \u0435\u0441\u043b\u0438 \u0432\u044b \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f \u0441 \/dev\/md4, \u0430 \/dev\/sdd1 \u0443\u0436\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043d\u0430\u0448 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432  <\/p>\n<pre><code class=\"bash\">mdadm \/dev\/md4 --add \/dev\/sdd1 <\/code><\/pre>\n<h4>\u041c\u0438\u0433\u0440\u0438\u0440\u0443\u0435\u043c \u0441 raid1 \u043d\u0430 raid10 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/h4>\n<p>  \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0432\u0441\u0435 \u0442\u0430 \u0436\u0435, \u0435\u0441\u0442\u044c raid1 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u0437 2\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438 2 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u0430, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u043e \u0432\u0441\u0435 \u0432 raid10 \u0438 \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u044b\u043b\u0438 \u0446\u0435\u043b\u044b.<br \/>  \u0414\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u0443\u044e \u0442\u0435\u043c, \u0447\u0442\u043e \u0443\u0436\u0435 \u0432 raid  <\/p>\n<pre><code class=\"bash\">sfdisk -d \/dev\/sdd --force | sfdisk \/dev\/sda --force sfdisk -d \/dev\/sdd --force | sfdisk \/dev\/sdb --force <\/code><\/pre>\n<p>  \u041d\u0430 \/dev\/md4 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \/boot<br \/>  \u041d\u0430 \/dev\/md1 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \/<br \/>  \u041d\u0430 \/dev\/md2 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f swap<\/p>\n<p>  \/boot \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0442\u0440\u043e\u0433\u0430\u0442\u044c, \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0435\u0433\u043e \u043a\u0430\u043a raid1, \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \/dev\/md1 (\u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \/dev\/sda6, \/dev\/sdb6, \/dev\/sdc6, \/dev\/sdd6).<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043c\u044b \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 raid10 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u0437 3 \u0434\u0438\u0441\u043a\u043e\u0432, \u0438 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043c \u0442\u0443\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 raid1, \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c raid1 \u0438 \u0434\u043e\u0434\u0435\u043b\u0430\u0435\u043c raid10.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0442\u0430\u0449\u0438\u043c 1 \u0434\u0438\u0441\u043a \u0438\u0437 raid1, \u0442.\u043a. \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c 3 \u0434\u0438\u0441\u043a\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f raid10  <\/p>\n<pre><code class=\"bash\">mdadm \/dev\/md1 --fail \/dev\/sdc6 --remove \/dev\/sdc6 <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 RAID10 \u043a\u0430\u043a \/dev\/md3 \u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0437\u0430\u043f\u0438\u0441\u044c \u043e \u043d\u043e\u0432\u043e\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043e\u043d \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f  <\/p>\n<pre><code class=\"bash\">mdadm --create \/dev\/md3 --level=10 --raid-devices=4 \/dev\/sda6 \/dev\/sdb6 \/dev\/sdc6 missing mke2fs -j \/dev\/md3 mdadm --examine --scan &gt;&gt; \/etc\/mdadm\/mdadm.conf <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u0445, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435  <\/p>\n<pre><code class=\"bash\">mdadm --examine --scan &gt;&gt; \/etc\/mdadm\/mdadm.conf mdadm --assemble \/dev\/md3 <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \/dev\/md1 \u043d\u0430 \/dev\/md3  <\/p>\n<pre><code class=\"bash\">mkdir \/mnt\/md3 mount -t ext3 \/dev\/md3 \/mnt\/md3 rsync -avHxl --progress --inplace --exclude 'lost+found' \/ \/mnt\/md3\/ umount \/mnt\/md3 <\/code><\/pre>\n<p>  \u0412\u0441\u0451, \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b \u043d\u0430 raid10 \u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u043f\u043e\u0447\u0442\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 \/dev\/md3, \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0430\u0440\u043e\u0433\u043e \/dev\/md1. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \/etc\/fstab \u0438 \/etc\/mtab. <br \/>  \u0412 \u0444\u0430\u0439\u043b\u0435 \/etc\/fstab \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0443 UUID \/dev\/md1 \u043d\u0430 UUID \/dev\/md3  <\/p>\n<pre><code class=\"bash\">ls -l \/dev\/disk\/by-uuid lrwxrwxrwx 1 root root 9 Nov  9 20:56 29683c02-5bd7-4805-8608-5815ba578b6c -&gt; ..\/..\/md3 <\/code><\/pre>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435  <\/p>\n<pre><code class=\"bash\">#UUID=4d7faa7f-25b3-4a14-b644-682ffd52943b \/               ext3    errors=remount-ro 0       1 UUID=29683c02-5bd7-4805-8608-5815ba578b6c \/               ext3    errors=remount-ro 0       1 <\/code><\/pre>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 \/etc\/mtab \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0435\u0437\u0434\u0435 \u0432\u043c\u0435\u0441\u0442\u043e \/dev\/md1 \u043d\u043e\u0432\u044b\u0439 \/dev\/md3  <\/p>\n<pre><code class=\"bash\">\/dev\/md3 \/ ext3 rw,errors=remount-ro 0 0 <\/code><\/pre>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043b\u044f \/boot \u0438\u043b\u0438 \/ \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \/boot\/grub\/grub.cfg \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c update-initramfs, \u0438\u043d\u0430\u0447\u0435 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 \/boot\/grub\/grub.cfg \u0432\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f 4d7faa7f-25b3-4a14-b644-682ffd52943b (\u0441\u0442\u0430\u0440\u044b\u0439 UUID \u0443 \/dev\/md1) \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 UUID \u2014 29683c02-5bd7-4805-8608-5815ba578b6c, \u043f\u043e \u0441\u0443\u0434\u0438 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0434\u043b\u044f \u0441\u0435\u043a\u0446\u0438\u0439 search.<br \/>  \u0410 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0435\u043a\u0446\u0438\u0438 <br \/>  <code>### BEGIN \/etc\/grub.d\/10_linux ###<\/code> <br \/>  \u0437\u0430\u043c\u0435\u043d\u0438\u043c root=\/dev\/md1 \u043d\u0430 root=\/dev\/md3<\/p>\n<p>  \u0418 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c  <\/p>\n<pre><code class=\"bash\">update-initramfs -u <\/code><\/pre>\n<p>  \u041d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0440\u0435\u043d\u044c \/ \u0441\u0442\u0430\u043b \u043d\u043e\u0432\u044b\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c \/dev\/md3 \u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a \u0441\u0442\u0430\u0440\u043e\u043c raid1 \u0443\u0436\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e. \u0417\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 raid10 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432 raid1 (\/dev\/sdd6). \u041d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0435\u0433\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b  <\/p>\n<pre><code class=\"bash\">mdadm -S \/dev\/md1 mdadm --zero-superblock \/dev\/sdd6 <\/code><\/pre>\n<p>  \u0418 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0438\u0441\u043a \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 raid10 \u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u0445  <\/p>\n<pre><code class=\"bash\">mdadm \/dev\/md3 --add \/dev\/sdd6 mdadm --examine --scan &gt;&gt; \/etc\/mdadm\/mdadm.conf <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u0441 raid1 \u043d\u0430 raid10 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430. <\/p>\n<p>  P.S. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 raid1, \u0442.\u043a. \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0441\u0430\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 raid1 \u043d\u0430 raid10 \u043d\u0435 \u0434\u0430\u043b \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432, \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u0441\u0435\u0431\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b raid1 \u0438\u0437 4\u0445 \u0434\u0438\u0441\u043a\u043e\u0432. \t\t\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\/212443\/\"> http:\/\/habrahabr.ru\/post\/212443\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0415\u0441\u0442\u044c raid1 \u0438\u0437 2 \u0434\u0438\u0441\u043a\u043e\u0432, \u0435\u0441\u0442\u044c 2 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u0430, \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0438 2 \u0434\u0438\u0441\u043a\u0430 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 raid10 \u0431\u0435\u0437 \u043f\u043e\u0442\u0435\u0440\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043c, \u0447\u0442\u043e boot \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043d\u0435 \u0432 raid, \u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0434\u0438\u0441\u043a\u043e\u0432, \u0438 \u0434\u043b\u044f \u0443\u0441\u0438\u043b\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 raid1.<\/p>\n<p>  \u0412\u0441\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0431\u043e\u0435\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0421\u0445\u0435\u043c\u0430 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f, \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u0422\u0430\u043a \u0436\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 raid10 \u043d\u0430 raid1.<\/p>\n<p>  \u0418\u043c\u0435\u0435\u043c:<br \/>  \u041d\u0430 \u0434\u0438\u0441\u043a\u0435 \/dev\/sdd1 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \/boot <br \/>  \u041d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \/dev\/md1 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \/<br \/>  \u041d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \/dev\/md2 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f swap<br \/>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u043c \u0432\u043e\u043f\u0440\u043e\u0441 \u0443\u0436\u0435 \u0440\u0435\u0448\u0435\u043d, \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0441\u0440\u0430\u0437\u0443 \u043a \u0440\u0430\u0437\u0434\u0435\u043b\u0443 \u0441 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0435\u0439.  <\/p>\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-212443","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/212443","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=212443"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/212443\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=212443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=212443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=212443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}