Re: Guess the size of a RAID{5,6} device

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

 



On Fri, 11 Apr 2014 10:19:23 +0200 Francis Moreau <francis.moro@xxxxxxxxx>
wrote:

> Hello,
> 
> I'd like to know if it's possible to get the size of a RAID{5,6} which
> is not created yet but the size of the partitions which will make up the
> array are.

How precise does the "guess" need to be?

If you subtract about 128Meg from the size of the partitions, round down the
a multiple of the chunk size then multiply by the number of data disks, you
should come quite close.

If you want an exact number, then you really need to create the array.

NeilBrown


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

Attachment: signature.asc
Description: PGP signature


[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