linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How To Grow Using 'mdadm' Utility
@ 2010-01-27 18:56 Carlos Williams
  2010-01-27 23:29 ` Michał Sawicz
  0 siblings, 1 reply; 10+ messages in thread
From: Carlos Williams @ 2010-01-27 18:56 UTC (permalink / raw)
  To: linux-raid

I would like to know what is the proper syntax for creating / growing
my RAID5 array with 3 disks and 0 spare to 4 disks and 0 spare? Right
now my RAID5 array on my system appears as follows:

/dev/md0:
        Version : 0.90
  Creation Time : Wed Jan 27 08:15:03 2010
     Raid Level : raid5
     Array Size : 480391552 (458.14 GiB 491.92 GB)
  Used Dev Size : 240195776 (229.07 GiB 245.96 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Wed Jan 27 13:47:49 2010
          State : clean, degraded, recovering
 Active Devices : 2
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

 Rebuild Status : 10% complete

           UUID : e3c1e8b3:5a1b141f:af88d4a5:584f0b5f
         Events : 0.347

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
       3       8       34        2      spare rebuilding   /dev/sdc2

I have an identical drive and want to make /dev/sdd2 a active member
of the RAID5 array which should expand my disk storage capacity.

I checked out the 'man' page for 'mdadm' utility and I think I am
wanting to use the 'mdadm --grow' command but I don't really know what
I am doing here and the man page is a nice reference but I am looking
for more guidance. Can anyone please tell me what is the proper way to
get my desired result?

*PS*
I understand right now my RAID5 is syncing and should probably wait
until all three drives are synced.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-01-28 16:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 18:56 How To Grow Using 'mdadm' Utility Carlos Williams
2010-01-27 23:29 ` Michał Sawicz
2010-01-28 14:58   ` Carlos Williams
2010-01-28 15:08     ` Michał Sawicz
2010-01-28 15:13       ` Carlos Williams
2010-01-28 15:23         ` Michał Sawicz
2010-01-28 15:50           ` Carlos Williams
2010-01-28 15:59             ` Michał Sawicz
2010-01-28 16:05               ` Carlos Williams
2010-01-28 16:18                 ` Robin Hill

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).