ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Andrew Zhukov <zhukov@tversu.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ошибка an error occurred during the raid startup
Date: Fri, 1 Jun 2012 17:00:35 +0400
Message-ID: <1036B29C-1FC6-4DAD-BC74-92EDD184AFB9@tversu.ru> (raw)
In-Reply-To: <dc55044e217e3822f4fca0e7f396e6bb@hadoop.ru>

cat /proc/mdstat
Personalities : [raid1] 
md1 : active raid1 sdb2[1] sda2[0]
      41941952 blocks [2/2] [UU]
      
md2 : active raid1 sdb3[1] sda3[0]
      438052800 blocks [2/2] [UU]
      
md0 : active raid1 sdb1[1] sda1[0]
      8387520 blocks [2/2] [UU]
      
unused devices: <none>
cat /etc/mdadm.conf | grep -v ^#

MAILADDR root
PROGRAM /sbin/mdadm-syslog-events
DEVICE partitions

ARRAY metadata=ddf UUID=c7db9b0a:50c1635f:54f0ccdf:cd8ad793
ARRAY container=c7db9b0a:50c1635f:54f0ccdf:cd8ad793 member=0 UUID=411fd0d7:3202f178:8eac802e:11928b7a
ARRAY /dev/md0 UUID=58e4b175:2cf10c4e:e2b22c29:1878b982
ARRAY /dev/md1 UUID=799138ad:69a20c28:907eae74:27fda9a2
ARRAY /dev/md2 UUID=16a9d6bb:7592230b:c807a927:8a171c3d

C absolute сглупил - пятница.
не срабатывает вот что mdadm --assemble --scan
по strace видно
open("/dev/md1", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/md2", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/md0", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/sdb3", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/sdb2", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/sdb1", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/sdb", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
open("/dev/sda3", O_RDONLY|O_EXCL|O_DIRECT) = -1 EBUSY (Device or resource busy)
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)

Возможно ли что скрипт пытается собрать при загрузке массивы которые уже собраны?

01.06.2012, в 16:54, Vitaly Kuznetsov написал(а):

> On Fri, 1 Jun 2012 16:04:06 +0400, Andrew Zhukov wrote:
>> Привет!
>> 
>> Есть 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.
>> 
> 
> Приведите вывод:
> 
> cat /proc/mdstat
> cat /etc/mdadm.conf | grep -v ^#
> 
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins


---
WBR, Andrew Zhukov
TvSU IC Dep



  reply	other threads:[~2012-06-01 13:00 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 [this message]
2012-06-02 13:15     ` Vitaly Kuznetsov
2012-06-01 18:45 ` Vladimir Karpinsky

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=1036B29C-1FC6-4DAD-BC74-92EDD184AFB9@tversu.ru \
    --to=zhukov@tversu.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