[linux-lvm] Does PE Size affect block size?

praveen.morab at storability.com praveen.morab at storability.com
Thu Apr 22 05:24:07 UTC 2004


Hi All,

I have a very simple query. Currently I have one volume group "Volume00" 
with PE Size of "4MB", the default one and one logical volume "LogVol00". 
So what will be the block size of LogVol00.


int main()
{

        int i = 1 << 20 ------- BytesInOneMB 
        i = i * 4 ------- PE Size

        printf("%d\n", i);

        return 0;
}
 i --- will be the block size. 

So my query is.....is the above code to get block size is right. Its just 
a prototype.

-Regards,

-------------------------------------------------------------------------
Praveen Morab
Storability Software Inc
Ph - 91 20 4014488 x 117 (O)
Ph - 91 20 2543 13 65 (R)
-------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040422/40e8b36b/attachment.htm>


More information about the linux-lvm mailing list