Re: Enlarging device of linear array

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

 



On Sun, 09 Jun 2013 03:31:44 -0500
Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx> wrote:

> On 6/8/2013 1:18 PM, Ramon Hofer wrote:
<snip>
> > If in some years one of the oldest 1.5 TB disks of md2 or any other
> > fails, I could replace it with a bigger one and at the same time the
> > other disks of the same device as well and get additional space?
> 
> You can use the extra capacity, but not in the way you're considering.
> This is due to the characteristics of a linear array.
> 
> You have been using raw disks, not partitions.  So when you replace a
> dead drive you will need to create a partition on the replacement that
> is the same size or a few sectors larger than the disk being replaced.
> You will then use this partition as the replacement device in the
> array rebuild.  After you have replaced all 4 drives in this manner,
> you will create a 2nd partition in the free space on each.  You will
> then create another RAID5 array from these 4 partitions and add it
> just as you did the other RAID5s.

Ha, I didn't think about that.
That's easy :-)


Thanks alot
Ramon
--
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