ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ошибка an error occurred during the raid startup
@ 2012-06-01 12:04 Andrew Zhukov
  2012-06-01 12:50 ` Andrew Zhukov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrew Zhukov @ 2012-06-01 12:04 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

Привет!

Есть AltLinux p6, который установлен на mdadm RAID.
Во время загрузки появляется ошибка 
*** An error occurred during the RAID startup.
*** - Press ENTER for dropping you to a shell;
***   the system will reboot when you leave the shell.
*** - Or wait 1 minute to continue normal startup.

Если немного подождать, то системы загружается и все нормально работает.

Нашел, что эта ошибка выводится при работе /etc/rc.sysinit, который, в свою очередь, вызывает /etc/rc.d/scripts/raidstart
В нем есть следующий код:
   	local f

	f="$(absolute mdadm 2>/dev/null)"
	if [ -x "$f" ]; then
		echo -n "(using mdadm) "
		"$f" --assemble --scan
		return $?
	fi

	f="$(absolute mdassemble 2>/dev/null)"
	if [ -x "$f" ]; then
		echo -n "(using mdassemble) "
		"$f"
		return $?
	fi
	
	return 1

Вся проблема, в том, что в систем нет команды absolute и, как следствие, "$(absolute mdadm 2>/dev/null)" не отрабатывает как задумано.
Может кто нибудь сказать в чем сакральный смысл этой команды и где этот absolute вообще брать?)

---
WBR, Andrew Zhukov
TvSU IC Dep



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-02 13:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-01 12:04 [Sysadmins] ошибка an error occurred during the raid startup Andrew Zhukov
2012-06-01 12:50 ` Andrew Zhukov
2012-06-01 12:54 ` Vitaly Kuznetsov
2012-06-01 13:00   ` Andrew Zhukov
2012-06-02 13:15     ` Vitaly Kuznetsov
2012-06-01 18:45 ` Vladimir Karpinsky

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git