Mr. Tim, I am having some serious problems while calculating the usable space in ASM diskgroups because if I calculate personally for a diskgroup space usage for a high or normal redundancy diskgroups, I have no idea where ASM is wasting the disk.
Currently I am testing it on VMWare with 11.1.0.7 running on Linux. Same issue is reproducible in any platform.
Question: If I have to store 2G data on a normal redundancy diskgroup, how much storage should I buy?
If I get 4 disks with 1G size each and create 2 failure groups by putting 2 disks in each failure group, theoretically I should be able to have 2G usable space, but see bellow the result
- Code: Select all
create diskgroup test normal redundancy
failgroup d1 disk '/dev/raw/raw3','/dev/raw/raw4'
failgroup d2 disk '/dev/raw/raw5','/dev/raw/raw6';
in ASM, check the actual usable space which I have
- Code: Select all
ASMCMD> lsdg test
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED NORMAL N 512 4096 1048576 4076 3970 1019 1475 0 TEST/
Why I am having 1475 only as usable. Oracle gives formula to calculate value in "Usable_file_MB" but this formula is only applicable after creating diskgroup. How can I calculate that how much storage should I buy to store "N" GB of data on a normal redundancy diskgroup.?
Salman