You are not logged in.

#1 2013-04-06 08:52:58

Ashex
Member
Registered: 2008-12-05
Posts: 16

So my mdadm array ate my spare...

I have a 8TB lvm+mdadm raid 5 array consisting of 5 2TB disks . A few months ago I purchased another disk for it, rather then grow the raid with it I decided to leave it as a spare.
I'm not sure how, but the spare disk became part of the array at some point. Instead of showing up as a spare it's marked as active and the Array size has increased to 10TB.
I haven't grown the lvm volume on it and there's some material out that that suggests I can shrink the array to the original 8TB size then remove the disk from it. The information isn't complete though so I'm very hesitant to try the process. Can anyone with experience on this offer any insight on the proper procedure for recovering my spare disk?
Once I've recovered the spare disk I plan to convert it to raid6 with the spare.

/dev/md1:
        Version : 1.2
  Creation Time : Sat Jul 23 12:35:05 2011
     Raid Level : raid5
     Array Size : 9767564800 (9315.08 GiB 10001.99 GB)
  Used Dev Size : 1953512960 (1863.02 GiB 2000.40 GB)
   Raid Devices : 6
  Total Devices : 6
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Sat Apr  6 01:53:48 2013
          State : active
 Active Devices : 6
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

           Name : gaia:1  (local to host gaia)
           UUID : 54d0e1f7:5a04dbf1:a52e6be4:6a33ea28
         Events : 110173

    Number   Major   Minor   RaidDevice State
       6       8       64        0      active sync   /dev/sde
       1       8       17        1      active sync   /dev/sdb1
       3       8       33        2      active sync   /dev/sdc1
       5       8       80        3      active sync   /dev/sdf
       4       8       96        4      active sync   /dev/sdg
       7       8        0        5      active sync   /dev/sda
  --- Logical volume ---
  LV Path                /dev/store/media
  LV Name                media
  VG Name                store
  LV UUID                9KwWxv-1Oki-fIAN-JhtW-zlx7-qOkK-xwlSb4
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                7.28 TiB
  Current LE             1907727
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     8192
  Block device           254:0

Last edited by Ashex (2013-04-06 08:56:55)

Offline

Board footer

Powered by FluxBB