ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] ошибка an error occurred during the raid startup
Date: Fri, 01 Jun 2012 22:45:57 +0400
Message-ID: <4FC90DE5.8030500@mail.ru> (raw)
In-Reply-To: <1C57E66D-8947-4DFD-A347-F77E8AA96148@tversu.ru>

01.06.2012 16:04, Andrew Zhukov написал:
> Есть 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.

Я писал об этом несколько месяцев назад, но безответно. Проблема <у меня> 
ещё и в том, что, нажав ENTER, я получаю предложение ввести рутовый пароль, 
который не принимается системой, Ctrl-D тоже не отрабатывает, и дальнейшая 
загрузка возможна только с помощью кнопки Reset, приходится ждать минуту...

# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[1] sda2[0]
       2095040 blocks [2/2] [UU]

md2 : active raid1 sdb5[1] sda5[0]
       20478912 blocks [2/2] [UU]

md3 : active raid1 sdb6[1] sda6[0]
       945476480 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
       8707008 blocks [2/2] [UU]

unused devices: <none>

# cat /etc/mdadm.conf | grep -v ^#
ARRAY metadata=ddf UUID=69208afd:45b0e66b:7fb91e39:6ce4d311
ARRAY container=69208afd:45b0e66b:7fb91e39:6ce4d311 member=0 
UUID=848c0e9b:938a642d:2726b0fc:bb91b025
ARRAY /dev/md0 UUID=2f19752f:7736d123:268d4b32:c147a28f
ARRAY /dev/md1 UUID=ecb03b9e:1eeda9f0:1a5a1db4:2c86478e
ARRAY /dev/md2 UUID=b6bf39ee:5f9948d4:1f53003e:eb46c473
ARRAY /dev/md3 UUID=85217f79:98a48220:ae8f7b6a:c74b6401
    spares=1

strace даёт аналогичное:
...
open("/dev/sda2", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource 
busy)
open("/dev/sda1", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource 
busy)
open("/dev/sda", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
...

#  mdadm --assemble --scan /dev/md2; echo $?
2

-- 
	С уважением,
		Владимир.


      parent reply	other threads:[~2012-06-01 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-01 12:04 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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FC90DE5.8030500@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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