Re: RAID 5 Grow

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

 



Forrest Taylor a écrit :
I am doing some RAID scenarios on a single disc (testing purposes) on
RHEL4.  I have some partitions as follows:

/dev/hda5  100M
/dev/hda6  200M
/dev/hda7  200M
/dev/hda8  200M
/dev/hda9  200M

I create a RAID 5 set with /dev/hda{5,6,7,8}.  I fail/remove /dev/hda5
and add /dev/hda9, at which point I can grow the RAID.  Running:

mdadm -G /dev/md0 -z max


Have you copied the data from hda5 to hda9 with dd? If i remember, growing a RAID 5 that way is done by creating the missing stripes at the end of each disks. If the array is already in degraded mode, I am not sure if mdadm is able to recover from that.

Simon
-
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