Guess the size of a RAID{5,6} device
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.
Thanks
Quoted 5 lines · On Fri, 11 Apr 2014 10:19:23 +0200 Francis Moreau <[email protected]>…
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
Quoted 6 lines
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello Neil,
Quoted 11 lines · NeilBrown
Quoted 5 lines · On Fri, 11 Apr 2014 10:19:23 +0200 Francis Moreau <[email protected]>…
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?
I just need an approximation in order to report to user some information about the (raided) partition my tool is about to create.
Quoted 1 line
If you subtract about 128Meg from the size of the partitions, round down the
Just to be sure the size of the partitions is equal to the min size of all partitions ?
Quoted 2 lines
a multiple of the chunk size then multiply by the number of data disks, you should come quite close.
Thanks, that should do the trick.
Quoted 15 lines · On Sat, 12 Apr 2014 10:12:00 +0200 Francis Moreau <[email protected]>…
Hello Neil,
Quoted 11 lines · NeilBrown
Quoted 5 lines · On Fri, 11 Apr 2014 10:19:23 +0200 Francis Moreau <[email protected]>…
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?
Quoted 7 lines
I just need an approximation in order to report to user some information about the (raided) partition my tool is about to create.
Quoted 1 line
If you subtract about 128Meg from the size of the partitions, round down the
Just to be sure the size of the partitions is equal to the min size of all partitions ?
Correct.
NeilBrown
Quoted 5 lines
Quoted 3 lines
a multiple of the chunk size then multiply by the number of data disks, you should come quite close.
Thanks, that should do the trick.