linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "aziro.linux.adm" <aziro.linux.adm@gmail.com>
To: linux-raid@vger.kernel.org
Subject: [RAID5 with 8th SCSI with mdadm -- Is possible one 9th Spare Disk after?]
Date: Fri, 06 Jan 2006 18:27:10 +0200	[thread overview]
Message-ID: <43BE9A5E.2010707@gmail.com> (raw)

   Hi, Folk
I've bad experience with a two SCSI Seagate 73,4 10K.6 Ultra320 disks 
failed one by one in my software RAID5 from 8th SCSI Disks -- Hot Swapable.
 From /var/log/messages i see /dev/sdb1 failed first, and after 
/dev/sda1 failed second. RAID5 stop your functionality.
Then i reboot my Fedora Core 3 Linux

#uname -a
Linux server 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 i686 
i386 GNU/Linux

and in rescue mode begin with recover procedure.

#mdadm -V
mdadm - v1.6.0 - 4 June 2004

I success made mdadm -A /dev/md0 -f /dev/sd[acdefgh]1, and after 
assemble my RAID5 i add failed first /dev/sdb1, mdadm /dev/md0 -a /dev/sdb1.
When, with mdadm create my RAID5 i use all 8 SCSI Disks, but not define 
"--spare-devices=1" by --create options.
Is possible to add one more nine SCSI Seagate 73,4 10K.6 Ultra320 disk 
like spare one.

And if one from 8th SCSI Disks failed the mdadm will automatic use this 
spare for reconstruction.

How can do this if possible with mdadm or if add in /etc/mdadm.conf
something like follows: changes in [2]: spares=1    /dev/sdj1
[1]original /etc/mdadm.conf
# mdadm.conf written out by anaconda
DEVICE /dev/sd[abcdefgh]1
MAILADDR admin@domain.com
ARRAY /dev/md0 super-minor=0
ARRAY /dev/md0 level=raid5 num-devices=8 
UUID=656519ce:b6b59cb5:d5a5aaf2:25a61506
   
devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1,/dev/sdg1,/dev/sdh1
============================================================================
[2]after possible modification /etc/mdadm.conf
# mdadm.conf written out by anaconda
DEVICE /dev/sd[abcdefgh]1
MAILADDR admin@domain.com
ARRAY /dev/md0 super-minor=0
ARRAY /dev/md0 level=raid5 num-devices=9 spare=1 
UUID=656519ce:b6b59cb5:d5a5aaf2:25a61506
   
devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1,/dev/sdg1,/dev/sdh1,/dev/sdj1
============================================================================
Current mdadm -D /dev/md0 is follows:
/dev/md0:
        Version : 00.90.01
  Creation Time : Wed Aug  3 14:37:00 2005
     Raid Level : raid5
     Array Size : 501773440 (478.53 GiB 513.82 GB)
    Device Size : 71681920 (68.36 GiB 73.40 GB)
   Raid Devices : 8
  Total Devices : 8
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Jan  6 17:37:48 2006
          State : clean
 Active Devices : 8
Working Devices : 8
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

    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        3      active sync   /dev/sdd1
       4       8       65        4      active sync   /dev/sde1
       5       8       81        5      active sync   /dev/sdf1
       6       8       97        6      active sync   /dev/sdg1
       7       8      113        7      active sync   /dev/sdh1
           UUID : 656519ce:b6b59cb5:d5a5aaf2:25a61506
         Events : 0.2120052


Thanks for all answares!
***********************
*  Happy New 2k6 Year !   *
***********************

             reply	other threads:[~2006-01-06 16:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06 16:27 aziro.linux.adm [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-09 10:53 [RAID5 with 8th SCSI with mdadm -- Is possible one 9th Spare Disk after?] aziro.linux.adm

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=43BE9A5E.2010707@gmail.com \
    --to=aziro.linux.adm@gmail.com \
    --cc=linux-raid@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).