All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomka Gergely <tomka@avaxio.net>
To: Neil Brown <neilb@suse.de>
Cc: "Linux, Raid lista" <linux-raid@vger.kernel.org>
Subject: Re: spare group
Date: Tue, 12 Jun 2007 09:57:58 +0200	[thread overview]
Message-ID: <466E5206.20200@avaxio.net> (raw)
In-Reply-To: <18030.17507.290572.911043@notabene.brown>

Neil Brown írta:
> (reads code).
> 
> Ahhh. You are using version-1 superblocks aren't you?  That code only
> works for version-0.90 superblocks.  That was careless of me.  It
> shouldn't be hard to make it work more generally, but it looks like it
> will be slightly more than trivial.  I'll try to get you a patch in
> the next day or so (feel free to remind me if I seem to have
> forgotten).
> 
> Thanks for testing and reporting this problem.
> 
> NeilBrown

# mdadm26 --detail /dev/md0
/dev/md0:
         Version : 00.90.03
   Creation Time : Tue Jun 12 10:31:08 2007
      Raid Level : raid5
      Array Size : 19534848 (18.63 GiB 20.00 GB)
   Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
    Raid Devices : 3
   Total Devices : 4
Preferred Minor : 0
     Persistence : Superblock is persistent

     Update Time : Tue Jun 12 10:33:35 2007
           State : clean
  Active Devices : 3
Working Devices : 4
  Failed Devices : 0
   Spare Devices : 1

          Layout : left-symmetric
      Chunk Size : 64K

            UUID : 5fd83926:01739a55:36458d87:119f8994 (local to host 
ursula)
          Events : 0.4

     Number   Major   Minor   RaidDevice State
        0       8        1        0      active sync   /dev/sda1
        1       8       17        1      active sync   /dev/sdb1
        2       8       33        2      active sync   /dev/sdc1

        3       8       49        -      spare   /dev/sdd1

/dev/md1:
         Version : 00.90.03
   Creation Time : Tue Jun 12 10:31:29 2007
      Raid Level : raid5
      Array Size : 19534848 (18.63 GiB 20.00 GB)
   Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
    Raid Devices : 3
   Total Devices : 3
Preferred Minor : 1
     Persistence : Superblock is persistent

     Update Time : Tue Jun 12 10:36:18 2007
           State : clean, degraded
  Active Devices : 2
Working Devices : 2
  Failed Devices : 1
   Spare Devices : 0

          Layout : left-symmetric
      Chunk Size : 64K

            UUID : 815d6fc4:a55c2602:36458d87:119f8994 (local to host 
ursula)
          Events : 0.6

     Number   Major   Minor   RaidDevice State
        0       8       65        0      active sync   /dev/sde1
        1       8       81        1      active sync   /dev/sdf1
        2       0        0        2      removed

        3       8       97        -      faulty spare   /dev/sdg1

ARRAY /dev/md1 level=raid5 num-devices=3 spare-group=ubul 
UUID=815d6fc4:a55c2602:36458d87:119f8994
ARRAY /dev/md0 level=raid5 num-devices=3 spares=1 spare-group=ubul 
UUID=5fd83926:01739a55:36458d87:119f8994

I am very sorry, but it wont works with .9 superblocks also :( We 
missing something small, but important here. Before you start to code. 
mdadm was running in monitor mode, and reported a Fail. mdadm is the 
latest version, 2.6.2.

tg
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2007-06-12  7:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11 13:45 spare group Tomka Gergely
2007-06-11 23:47 ` Neil Brown
2007-06-12  6:34   ` Tomka Gergely
2007-06-12  6:59     ` Neil Brown
2007-06-12  7:57       ` Tomka Gergely [this message]
2007-06-12  9:54         ` Neil Brown
2007-06-13  7:25           ` Tomka Gergely

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=466E5206.20200@avaxio.net \
    --to=tomka@avaxio.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.