Exchange Server - not able to get whitespace capacity even after defragmentation

Asked By shivaraj on 04-Jan-11 03:58 AM
I deleted nearly 200 mailboxes from one exchange store. After that I
dismounted the store and ran eseutil. But after this not getting how
to check amount of whitespace capacity i have in this store.
I ran a script to check this space but this is not returning any data
for whitespace. Can any one help me in knowing this whitespace
capacity? I could not locate 1221 even also.

script i used to fetch whitespace capacity :
----------------------------------------
Function Get-DatabaseStatistics {
$Databases = Get-MailboxDatabase -Status
foreach($Database in $Databases) {
$DBSize = $Database.DatabaseSize

New-Object PSObject -Property @{
Server = $Database.Server.Name
DatabaseName = $Database.Name
($Database.AvailableNewMailboxSpace.ToMB)
}
}
}
----------------------------------------
save this as whitespace.ps1
open powershell and source it [PS] C:\>. C:\whitespace.ps1
run it in powershell [PS] C:\>get-databasestatistics

and the result was :
Server                                              WhiteSpace
(MB)                                     DatabaseName
------
---------------                                     ------------
exchserver1
Mailbox Database
exchserver1
Mailbox Datastore2
exchserver1
Mailbox DataStore9
exchserver1
Mailbox Datastore5
exchserver2
Mailbox Database
exchserver2
Mailbox Datastore2
exchserver2
Mailbox Datastore3
exchserver2
Mailbox_Datastore4
exchserver2
TOI Crest
exchserver3
Mailbox Database

Regards,


iann replied to shivaraj on 04-Jan-11 10:02 AM
=A0 =A0 =A0 =A0 =A0 =A0 =A0WhiteSpace
=A0 DatabaseName
=A0 =A0 =A0 =A0 ------------

You can dismount the database and run a eseutil /ms. Take the Free
value and multiply it by 4 for exchange 2003, 8 for Exchange 2007 and
32 for exchange 2010. That will give you the KB amount of white space
available.
myrddinbach replied to iann on 24-Jan-11 03:33 AM
You can also open event viewer and do a filter for event id 1221 in
the application log. Info store checks and reports on white space
daily for each db.


=A0 =A0 =A0 =A0 =A0 =A0 =A0WhiteSpace
=A0 =A0 DatabaseName
=A0 =A0 =A0 =A0 ------------