RE: Question on RAID-5 growing

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

 



Thanks for the response Drew. I am testing the stability of MD driver with new ADMA driver using AMCC PowerPC cores.  When I tried to grow during recovery the following error is showed up.

----
-bash-3.2#  mdadm -G /dev/md0 -n 4
mdadm: Need to backup 384K of critical section..
md: couldn't update array info. -16
mdadm: Cannot set device size/shape for /dev/md0: Device or resource busy



-bash-3.2# cat /proc/mdstat 
Personalities : [raid0] [raid6] [raid5] [raid4] 
md0 : active raid5 sdd[3](S) sdc[2] sdb[1] sda[0]
      60000000 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      [=>...................]  resync =  6.9% (2094848/30000000) finish=11.1min speed=41674K/sec
      
unused devices: <none>
-bash-3.2#
---

Regards,
Marri

-----Original Message-----
From: linux-raid-owner@xxxxxxxxxxxxxxx [mailto:linux-raid-owner@xxxxxxxxxxxxxxx] On Behalf Of Drew
Sent: Friday, July 24, 2009 6:03 AM
To: linux-raid@xxxxxxxxxxxxxxx
Subject: Re: Question on RAID-5 growing

> Is it legal to grow while RAID-5 recovery Is happening ?
>
>
> 1. mdadm -C /dev/md0 -z 1000000 -l 5 -n 3 /dev/sd[a-c]
> 2. mdadm -a /dev/md0 /dev/sdd
> 3. mdadm -G /dev/md- -n 4

Hi Marri,

One, If this is a live system I'm thinking it's safer to let the
recovery complete and then add the extra disk (after backing up the
data of course). Two, if this array isn't live yet (no data, lvm,
filesystem, etc yet) it'd probably be easier to halt the existing
RAID-5, and create the new array from scratch.

That said I'm sure Neil will chime in and correct me. :-)


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
--
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
��.n��������+%������w��{.n�����{����w��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f


[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