Linux RAID subsystem development
 help / color / mirror / Atom feed
* Reshape RAID10 -> RAID1
@ 2014-02-26  6:05 Charles Polisher
  2014-02-26  7:03 ` NeilBrown
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Polisher @ 2014-02-26  6:05 UTC (permalink / raw)
  To: linux-raid

Hi all,

I hope to reshape a RAID10 (near,2) with 2 failed and physically
removed members [_U_U] into a RAID1 hopefully [UU], for the
benefit of seeing a healthy status.

Is following proposed invocation correct?

   mdadm --grow /dev/md2 --level=1

Details:

root@mencius $ mdadm --query --verbose --detail /dev/md2
/dev/md2:
        Version : 1.1
  Creation Time : Fri Jul 15 22:56:53 2011
     Raid Level : raid10
     Array Size : 1944916992 (1854.82 GiB 1991.59 GB)
  Used Dev Size : 972458496 (927.41 GiB 995.80 GB)
   Raid Devices : 4
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Tue Feb 25 22:00:46 2014
          State : active, degraded 
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

         Layout : near=2
     Chunk Size : 512K

           Name : localhost.localdomain:2
           UUID : 971ee8b2:8d980355:0e5dfae9:c8bccd89
         Events : 5326341

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8       19        1      active sync   /dev/sdb3
       2       0        0        2      removed
       3       8        3        3      active sync   /dev/sda3
root@mencius $ uname -a
Linux mencius 2.6.32-358.18.1.el6.centos.plus.x86_64 #1 SMP Wed Aug 28 16:14:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
root@mencius $ mdadm --version
mdadm - v3.2.6 - 25th October 2012


Thanks,
-- 
Charles Polisher


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

end of thread, other threads:[~2014-02-26  7:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26  6:05 Reshape RAID10 -> RAID1 Charles Polisher
2014-02-26  7:03 ` NeilBrown
2014-02-26  7:20   ` Charles Polisher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox