Can't grow raid5 size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I had a three drive raid5 array of 750GB drives.  Added a
fourth drive and grew the array but the actual size didn't
change.  Now when I do a mdadm --grow --size max /dev/md0,
I get:
mdadm: Cannot set device size/shape for /dev/md0: Device or
resource busy

I tried doing the grow before assembling like:
mdadm --grow --scan --size max /dev/md0
mdadm:option --scan not valid in grow mode

The fourth drive is currently missing due to a failure but
the results were the same even with the drive present.

continuum:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 00.91.03
  Creation Time : Thu Mar 27 10:44:20 2008
     Raid Level : raid5
     Array Size : 1464838528 (1396.98 GiB 1499.99 GB)
  Used Dev Size : 732419264 (698.49 GiB 750.00 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Sun Mar 30 13:05:12 2008
          State : active, degraded
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

  Delta Devices : 1, (3->4)

           UUID : de2cfbb8:431374f2:873bb752:e60eb5cc
         Events : 0.197971

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

Is there anything I can do to get the array to 2tb or do I
need to recreate with a 1.x superblock format?

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux