ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Выпал диск из RAID1
Date: Sat, 21 Apr 2012 08:20:46 +0400
Message-ID: <4F92359E.20701@mail.ru> (raw)
In-Reply-To: <20120420224148.GD7507@osdn.org.ua>

21.04.2012 2:41, Michael Shigorin написал:
> On Sat, Apr 21, 2012 at 12:58:02AM +0400, Vladimir Karpinsky wrote:
>> А что происходит с моим массивом совсем непонятно? Хотя бы на будущее...
>
> Посмотрите вывод mdadm --examine /dev/sdb1, что там с суперблоком
> и есть ли он ещё вообще.

# mdadm --examine /dev/sdb1
/dev/sdb1:
           Magic : a92b4efc
         Version : 0.90.00
            UUID : 2b0784e0:d2c8b336:33a55beb:3bd231fc
   Creation Time : Wed Jan 27 17:09:36 2010
      Raid Level : raid1
   Used Dev Size : 955712 (933.47 MiB 978.65 MB)
      Array Size : 955712 (933.47 MiB 978.65 MB)
    Raid Devices : 2
   Total Devices : 2
Preferred Minor : 0

     Update Time : Sat Jan 28 10:04:01 2012
           State : clean
  Active Devices : 2
Working Devices : 2
  Failed Devices : 0
   Spare Devices : 0
        Checksum : b1058815 - correct
          Events : 538


       Number   Major   Minor   RaidDevice State
this     1       8       17        1      active sync   /dev/sdb1

    0     0       8        1        0      active sync   /dev/sda1
    1     1       8       17        1      active sync   /dev/sdb1


>>>> # mdadm --re-add /dev/md0 /dev/sdb1
>>>> mdadm: --re-add for /dev/sdb1 to /dev/md0 is not possible
>
> --add аналогично?

Да.

# mdadm --add /dev/md0 /dev/sdb1
mdadm: /dev/sdb1 reports being an active member for /dev/md0, but a 
--re-add fails.
mdadm: not performing --add as that would convert /dev/sdb1 in to a spare.
mdadm: To make this a spare, use "mdadm --zero-superblock /dev/sdb1" first.

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


  reply	other threads:[~2012-04-21  4:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 10:42 Vladimir Karpinsky
2012-04-20 11:25 ` Michael Shigorin
2012-04-20 14:53   ` Vladimir Karpinsky
2012-04-20 20:32     ` Michael Shigorin
2012-04-20 20:58       ` Vladimir Karpinsky
2012-04-20 22:41         ` Michael Shigorin
2012-04-21  4:20           ` Vladimir Karpinsky [this message]
2012-04-21 12:39             ` Michael Shigorin
2012-04-21 18:02               ` Vladimir Karpinsky
2012-04-21 20:22                 ` Michael Shigorin
2012-04-22  4:18                   ` 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=4F92359E.20701@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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