<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Программный RAID-массив исчезает после перезагрузки]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18570&amp;type=atom" />
	<updated>2011-12-04T07:20:28Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=18570</id>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230891#p230891" />
			<content type="html"><![CDATA[<p>Сразу после перезагрузки:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# dmesg | grep md<br />ata3: SATA max UDMA/133 cmd 0xf130 ctl 0xf120 bmdma 0xf0f0 irq 20<br />ata4: SATA max UDMA/133 cmd 0xf110 ctl 0xf100 bmdma 0xf0f8 irq 20<br />ata5: SATA max UDMA/133 cmd 0xf0d0 ctl 0xf0c0 bmdma 0xf090 irq 20<br />ata6: SATA max UDMA/133 cmd 0xf0b0 ctl 0xf0a0 bmdma 0xf098 irq 20<br />systemd[1]: systemd 29 running in system mode. (+PAM +LIBWRAP +AUDIT -SELINUX +SYSVINIT +LIBCRYPTSETUP; mandriva)<br />systemd[1]: Set hostname to &lt;awl.myhost&gt;.<br />systemd[1]: /etc/mtab is not a symlink or not pointing to /proc/self/mounts. This is not supported anymore. Please make sure to replace this file by a symlink to avoid incorrect or misleading mount(8) output.<br />systemd-cryptsetup-generator[397]: Failed to open /etc/crypttab: Bad file descriptor<br />systemd[1]: /lib/systemd/system-generators/systemd-cryptsetup-generator exited with exit status 1.<br />systemd[1]: [/etc/rc.d/init.d/iptables:18] Failed to add LSB Provides name firewall.service, ignoring: File exists<br />systemd[1]: Path /sys/kernel/security is already a mount point, refusing start for sys-kernel-security.automount<br />systemd-fsck[1415]: boot: clean, 69/57600 files, 53974/230320 blocks<br />systemd-fsck[1334]: /dev/sdb1: clean, 328543/30531584 files, 67309159/122096000 blocks<br />systemd-fsck[1420]: homefiles: clean, 63119/27402240 files, 77110790/109578538 blocks<br />systemd-tmpfiles[1821]: [/usr/lib/tmpfiles.d/legacy.conf:22] Unknown group &#039;lock&#039;.<br />systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1<br />systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.</div></p></div></div><p>Как видно, нет ничего, заслуживающего внимания.</p><p>Кусок вывода <em>dmesg</em> после манипуляций, изложенных в первом посте:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# dmesg | grep md<br />md: bind&lt;sdc1&gt;<br />md: bind&lt;sdd1&gt;<br />md: raid0 personality registered for level 0<br />md/raid0:md0: looking at sdd1<br />md/raid0:md0:&nbsp; &nbsp;comparing sdd1(145221632) with sdd1(145221632)<br />md/raid0:md0:&nbsp; &nbsp;END<br />md/raid0:md0:&nbsp; &nbsp;==&gt; UNIQUE<br />md/raid0:md0: 1 zones<br />md/raid0:md0: looking at sdc1<br />md/raid0:md0:&nbsp; &nbsp;comparing sdc1(145221632) with sdd1(145221632)<br />md/raid0:md0:&nbsp; &nbsp;EQUAL<br />md/raid0:md0: FINAL 1 zones<br />md/raid0:md0: done.<br />md/raid0:md0: md_size is 290443264 sectors.<br />******* md0 configuration *********<br />md0: detected capacity change from 0 to 148706951168<br /> md0: unknown partition table<br />EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)</div></p></div></div>]]></content>
			<author>
				<name><![CDATA[awl]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17618</uri>
			</author>
			<updated>2011-12-04T07:20:28Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230891#p230891</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230808#p230808" />
			<content type="html"><![CDATA[<p>Ok. Я понял. Что показывает <strong>dmesg |grep md</strong>?</p>]]></content>
			<author>
				<name><![CDATA[Remedy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13291</uri>
			</author>
			<updated>2011-12-04T00:16:49Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230808#p230808</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230805#p230805" />
			<content type="html"><![CDATA[<p>Оч. хорошая статья с подробными разъяснениями на темы RAID здесь: <a href="http://www.bog.pp.ru/hard/raid.html">http://www.bog.pp.ru/hard/raid.html</a></p>]]></content>
			<author>
				<name><![CDATA[awl]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17618</uri>
			</author>
			<updated>2011-12-03T22:31:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230805#p230805</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230803#p230803" />
			<content type="html"><![CDATA[<p>Это не <strong>программный</strong> RAID-массив, а ошибочно перехваченный dmraid-драйвером контроллера<strong> псевдоаппаратный</strong>-RAID, обеспечиваемый с помощью <strong>device-mapper</strong>. Мне он <span class="bbu">не нужен</span>, и, как я уже говорил, в BIOS контроллер установлен в [IDE Mode], а не в [RAID Mode].</p>]]></content>
			<author>
				<name><![CDATA[awl]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17618</uri>
			</author>
			<updated>2011-12-03T22:25:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230803#p230803</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230800#p230800" />
			<content type="html"><![CDATA[<p>Но как же? Вот ведь Ваш RAID-массив </p><div class="quotebox"><blockquote><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Disk /dev/mapper/pdc_hggbibgha: 148.7 GB, 148710883328 bytes<br />64 heads, 24 sectors/track, 189095 cylinders, всего 290450944 секторов<br />Units = секторы of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 65536 bytes / 131072 bytes<br />Disk identifier: 0x53a60967</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Устр-во Загр&nbsp; &nbsp; &nbsp;Начало&nbsp; &nbsp; &nbsp; &nbsp;Конец&nbsp; &nbsp; &nbsp; &nbsp;Блоки&nbsp; &nbsp;Id&nbsp; Система<br />/dev/mapper/pdc_hggbibgha1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2048&nbsp; &nbsp;145226111&nbsp; &nbsp; 72612032&nbsp; &nbsp;fd&nbsp; Автоопределение Linux raid</p><p>Disk /dev/mapper/pdc_hggbibghap1: 74.4 GB, 74354720768 bytes<br />255 heads, 63 sectors/track, 9039 cylinders, всего 145224064 секторов<br />Units = секторы of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 65536 bytes / 131072 bytes<br />Disk identifier: 0x70bc2240</p><p>На диске /dev/mapper/pdc_hggbibghap1 отсутствует верная таблица разделов</div></p></blockquote></div><p>Соотв-но попробуйте в <em>fstab</em> поменять девайс <em>/dev/md0</em> на <em>/dev/mapper/pdc_hggbibgha</em></p>]]></content>
			<author>
				<name><![CDATA[Remedy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13291</uri>
			</author>
			<updated>2011-12-03T21:41:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230800#p230800</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230796#p230796" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>remedy пишет:</cite><blockquote><p>В чём это выражается? Приведённые Вами выводы команд показывают корректную работу RAID.</p></blockquote></div><p>1) после первого сбоя мне не удалось нормально загрузится и пришлось закомментировать строчку автомонтирования RAID-массива в файле <em>/etc/fstab</em>.<br />2) проверил состояние массива следующим образом:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# cat /proc/mdstat<br />Personalities : <br />unused devices: &lt;none&gt;<br />[root@awl awl]# mdadm --examine<br />mdadm: No devices to examine</div><br />и<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# mdadm --detail --scan --verbose</div><br />вывод <span class="bbu"><strong>пустой</strong></span>.<br />3) кроме того, при нормально функционирующем <span class="bbu">программном</span> массиве в выводе <em>fdisk -l</em> появляется информация о диске <strong>/dev/md0</strong>:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Disk /dev/md0: 148.7 GB, 148706951168 bytes<br />2 heads, 4 sectors/track, 36305408 cylinders, всего 290443264 секторов<br />Units = секторы of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 524288 bytes / 1048576 bytes<br />Disk identifier: 0x00000000</p><p>На диске /dev/md0 отсутствует верная таблица разделов</div></p></div></div><p>В описываемом случае эта информация отсутствовала и выводилось то, что я уже показал в первом посте, т.е. данные об устройствах <span class="bbu">/dev/mapper/pdc_hggbibghap1</span> и <span class="bbu">/dev/mapper/pdc_hggbibgha</span><br />Полагаю, что моё предположение о перехвате управления dmraid-драйвером контроллера (псевдоаппаратный-RAID) находит подтверждение и в выводе следующих команд:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# dmsetup table<br />pdc_hggbibghap1: 0 145224064 linear 252:0 2048<br />pdc_hggbibgha: 0 290450944 striped 2 128 8:48 0 8:32 0<br />[root@awl awl]# ls -1 /dev/mapper/<br />control<br />pdc_hggbibgha<br />pdc_hggbibghap1</div></p></div></div><p>Только не понятно почему это происходит и как с этим бороться?&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[awl]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17618</uri>
			</author>
			<updated>2011-12-03T21:32:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230796#p230796</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230756#p230756" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>После перезагрузки RAID-массив исчез.</p></blockquote></div><p>В чём это выражается? Приведённые Вами выводы команд показывают корректную работу RAID.</p>]]></content>
			<author>
				<name><![CDATA[Remedy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13291</uri>
			</author>
			<updated>2011-12-03T18:51:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230756#p230756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Программный RAID-массив исчезает после перезагрузки]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230682#p230682" />
			<content type="html"><![CDATA[<p>Здравствуйте.<br />Установлена ROSA 2011, обновлялась последовательно с RC1.<br />В данный момент:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[awl@awl ~]$ uname -a<br />Linux awl.myhost 3.1.4-desktop-nrj.69mib #1 SMP PREEMPT Thu Dec 1 04:15:58 CET 2011 x86_64 x86_64 x86_64 GNU/Linux</div></p></div></div><p>Программный RAID0, собранный из двух стареньких дисков (WD74GD Raptor) использую для скачивания и раздачи торрентов, здесь же у меня находятся каталоги Downloads, music_rip и т.п. Диски (sdc, sdd) подключены в режиме <span class="bbu">[IDE Mode]</span> к интегрированному на материнской плате RAID-контроллеру (Intel Cougar Point SATA IDE).&nbsp; &nbsp; <br />Всё работало прекрасно (ок. 3 месяцев) до момента, когда я поменял тему plymouth (стояло ядро 3.0.7-desktop-69mib). После перезагрузки RAID-массив исчез. Смотрю вывод <em>fdisk -l</em><br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Disk /dev/sdc: 74.4 GB, 74355769344 bytes<br />64 heads, 24 sectors/track, 94548 cylinders, всего 145226112 секторов<br />Units = секторы of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 512 bytes / 512 bytes<br />Disk identifier: 0x6d535f3c</p><p>Устр-во Загр&nbsp; &nbsp; &nbsp;Начало&nbsp; &nbsp; &nbsp; &nbsp;Конец&nbsp; &nbsp; &nbsp; &nbsp;Блоки&nbsp; &nbsp;Id&nbsp; Система<br />/dev/sdc1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2048&nbsp; &nbsp;145226111&nbsp; &nbsp; 72612032&nbsp; &nbsp;fd&nbsp; Автоопределение Linux raid</p><p>Disk /dev/sdd: 74.4 GB, 74355769344 bytes<br />64 heads, 24 sectors/track, 94548 cylinders, всего 145226112 секторов<br />Units = секторы of 1 * 512 = 512 bytes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Sector size (logical/physical): 512 bytes / 512 bytes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />I/O size (minimum/optimal): 512 bytes / 512 bytes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />Disk identifier: 0x53a60967&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Устр-во Загр&nbsp; &nbsp; &nbsp;Начало&nbsp; &nbsp; &nbsp; &nbsp;Конец&nbsp; &nbsp; &nbsp; &nbsp;Блоки&nbsp; &nbsp;Id&nbsp; Система<br />/dev/sdd1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2048&nbsp; &nbsp;145226111&nbsp; &nbsp; 72612032&nbsp; &nbsp;fd&nbsp; Автоопределение Linux raid</p><p>Disk /dev/mapper/pdc_hggbibgha: 148.7 GB, 148710883328 bytes<br />64 heads, 24 sectors/track, 189095 cylinders, всего 290450944 секторов<br />Units = секторы of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 65536 bytes / 131072 bytes<br />Disk identifier: 0x53a60967</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Устр-во Загр&nbsp; &nbsp; &nbsp;Начало&nbsp; &nbsp; &nbsp; &nbsp;Конец&nbsp; &nbsp; &nbsp; &nbsp;Блоки&nbsp; &nbsp;Id&nbsp; Система<br />/dev/mapper/pdc_hggbibgha1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2048&nbsp; &nbsp;145226111&nbsp; &nbsp; 72612032&nbsp; &nbsp;fd&nbsp; Автоопределение Linux raid</p><p>Disk /dev/mapper/pdc_hggbibghap1: 74.4 GB, 74354720768 bytes<br />255 heads, 63 sectors/track, 9039 cylinders, всего 145224064 секторов<br />Units = секторы of 1 * 512 = 512 bytes<br />Sector size (logical/physical): 512 bytes / 512 bytes<br />I/O size (minimum/optimal): 65536 bytes / 131072 bytes<br />Disk identifier: 0x70bc2240</p><p>На диске /dev/mapper/pdc_hggbibghap1 отсутствует верная таблица разделов</div></p></div></div><p><em>dmesg</em> выдал следующее:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">service_harddrake[5213]: running: dmraid -s -c -c<br />service_harddrake[5213]: got: pdc_hggbibgha:290450944:128:stripe:ok:0:2:0<br />service_harddrake[5213]: _raid_devices_raw<br />service_harddrake[5213]: running: dmraid -d -s -c -c<br />service_harddrake[5213]: got: DEBUG: _find_set: searching pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: not found pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: searching pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: not found pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: searching pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: found pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: searching pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: _find_set: found pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: checking pdc device &quot;/dev/sdd&quot;<br />service_harddrake[5213]: got: DEBUG: checking pdc device &quot;/dev/sdc&quot;<br />service_harddrake[5213]: got: DEBUG: set status of set &quot;pdc_hggbibgha&quot; to 16<br />service_harddrake[5213]: got: DEBUG: checking pdc device &quot;/dev/sdd&quot;<br />service_harddrake[5213]: got: DEBUG: checking pdc device &quot;/dev/sdc&quot;<br />service_harddrake[5213]: got: DEBUG: set status of set &quot;pdc_hggbibgha&quot; to 16<br />service_harddrake[5213]: got: pdc_hggbibgha:290450944:128:stripe:ok:0:2:0<br />service_harddrake[5213]: got: DEBUG: freeing devices of RAID set &quot;pdc_hggbibgha&quot;<br />service_harddrake[5213]: got: DEBUG: freeing device &quot;pdc_hggbibgha&quot;, path &quot;/dev/sdd&quot;<br />service_harddrake[5213]: /dev/sdd =&gt; pdc_hggbibgha<br />service_harddrake[5213]: got: DEBUG: freeing device &quot;pdc_hggbibgha&quot;, path &quot;/dev/sdc&quot;<br />service_harddrake[5213]: /dev/sdc =&gt; pdc_hggbibgha<br />service_harddrake[5213]: running: dmraid -r -c -c<br />service_harddrake[5213]: got: /dev/sdd:pdc:pdc_hggbibgha:stripe:ok:145225472:0<br />service_harddrake[5213]: got: /dev/sdc:pdc:pdc_hggbibgha:stripe:ok:145225472:0<br />service_harddrake[5213]: dmraid: mapper/pdc_hggbibgha [/dev/sdd /dev/sdc]<br />service_harddrake[5213]: using dmraid on mapper/pdc_hggbibgha<br />service_harddrake[5213]: HDIO_GETGEO on /dev/sda succeeded: heads=255 sectors=63 cylinders=60801 start=0<br />service_harddrake[5213]: HDIO_GETGEO on /dev/sdb succeeded: heads=255 sectors=63 cylinders=60801 start=0<br />service_harddrake[5213]: Fake geometry on /dev/mapper/pdc_hggbibgha: heads=255 sectors=63 cylinders=18079 start=1</div></p></div></div><p>Кстати, при создании RAID в первый раз картина была аналогичной. Как я понял, dmraid-драйвер контроллера взял на себя управление над устройствами, которые будут использоваться в программном RAID. Кроме того, при просмотре вывода <em>blkid</em> видно, что дискам не присвоен UUID.<br />После выполнения следующих действий:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# dmsetup remove /dev/mapper/pdc_hggbibghap1<br />Node /dev/mapper/pdc_hggbibghap1 was not removed by udev. Falling back to direct node removal.<br />[root@awl awl]# dmsetup remove /dev/mapper/pdc_hggbibgha<br />Node /dev/mapper/pdc_hggbibgha was not removed by udev. Falling back to direct node removal.</div></p></div></div><p>и<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# fdisk /dev/sdc</p><p>Команда (m для справки): v<br />Remaining 2047 unallocated 512-byte sectors</p><p>Команда (m для справки): w<br />Таблица разделов была изменена!</p><p>Вызывается ioctl() для перечитывания таблицы разделов.<br />Синхронизируются диски.<br />[root@awl awl]# fdisk /dev/sdd</p><p>Команда (m для справки): v<br />Remaining 2047 unallocated 512-byte sectors</p><p>Команда (m для справки): w<br />Таблица разделов была изменена!</p><p>Вызывается ioctl() для перечитывания таблицы разделов.<br />Синхронизируются диски.</div></p></div></div><p>RAID0 собрался автоматом.<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# cat /proc/mdstat<br />Personalities : [raid0] <br />md0 : active raid0 sdd1[1] sdc1[0]<br />&nbsp; &nbsp; &nbsp; 145221632 blocks super 1.2 512k chunks<br />&nbsp; &nbsp; &nbsp; <br />unused devices: &lt;none&gt;<br />[root@awl awl]# mdadm --detail --scan --verbose<br />ARRAY /dev/md0 level=raid0 num-devices=2 metadata=1.2 name=awl.myhost:0 UUID=e32dd477:4cecc383:c50d036d:82c85821<br />&nbsp; &nbsp;devices=/dev/sdc1,/dev/sdd1</div></p></div></div><p>Обновляю <em>/etc/blkid.tab</em> и <em>/etc/mdadm.conf</em><br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@awl awl]# blkid -c /dev/null</p><p>root@awl awl]# echo &quot;DEVICE partitions&quot; &gt; /etc/mdadm.conf<br />[root@awl awl]# mdadm --detail --scan --verbose | awk &#039;/ARRAY/ {print}&#039; &gt;&gt; /etc/mdadm.conf</div></p></div></div><p>после чего монтирую RAID-массив md0 в нужное место. Это прекрасно работает до следующей перезагрузки.<br />После первого сбоя я подумал, что на дисках появились bad-блоки, которые и являются причиной проблемы. Но после двойной проверки поверхности с помощью <em>badblocks</em> и <em>mhdd</em> эту причину исключил. Bad-блоки не были обнаружены.<br />Пытался я также перегенерировать <strong>initrd</strong> c дополнительной опцией <em>--omit-raid-modules</em>, но это не помогло.<br />Думаю, что изменение темы plymouth не является причиной возникшей ситуации.<br />Прошу помочь в решении моей проблемы.</p><p>Если вопрос не по профилю раздела, то прошу модераторов переместить тему в нужный раздел</p>]]></content>
			<author>
				<name><![CDATA[awl]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17618</uri>
			</author>
			<updated>2011-12-03T13:09:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230682#p230682</id>
		</entry>
</feed>
