ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Vitaly Kuznetsov <vitty@altlinux.ru>
To: <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ошибка an error occurred during the raid startup
Date: Sat, 02 Jun 2012 17:15:20 +0400
Message-ID: <199dcabbf82de55b7f3b0e33717fdb6e@hadoop.ru> (raw)
In-Reply-To: <1036B29C-1FC6-4DAD-BC74-92EDD184AFB9@tversu.ru>

On Fri, 1 Jun 2012 17:00:35 +0400, Andrew Zhukov wrote:
> 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)
>
> Возможно ли что скрипт пытается собрать при загрузке массивы которые
> уже собраны?
>
Не должен. Попробуйте оставить в /etc/mdadm.conf только последние три 
массива, а первые два (c container= , metadata= ) закомментировать.



  reply	other threads:[~2012-06-02 13:15 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 [this message]
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=199dcabbf82de55b7f3b0e33717fdb6e@hadoop.ru \
    --to=vitty@altlinux.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