Home All Groups Group Topic Archive Search About

Storage Group Free Space

Author
5 Feb 2009 2:58 PM
J Ford
Is there a way scripting/csharp to determine free space of an exchange
storage group? I have seen many examples of getting the size, but not free
space.

Thanks
-Jeremy

Author
5 Feb 2009 3:28 PM
Susan
if you mean white space, that's per store, not per storage group...event
1221 in your application log will give you that information, per store...

--
Susan Conkey [MVP]



Show quoteHide quote
"J Ford" <JF***@discussions.microsoft.com> wrote in message
news:BE5DBB50-8AFF-47EB-826D-6EE870986891@microsoft.com...
> Is there a way scripting/csharp to determine free space of an exchange
> storage group? I have seen many examples of getting the size, but not free
> space.
>
> Thanks
> -Jeremy
Are all your drivers up to date? click for free checkup

Author
5 Feb 2009 4:12 PM
J Ford
Yes I meant per store.  So no way to access it directly, only to view it
through event logs?


Show quoteHide quote
"Susan" wrote:

> if you mean white space, that's per store, not per storage group...event
> 1221 in your application log will give you that information, per store...
>
> --
> Susan Conkey [MVP]
>
>
>
> "J Ford" <JF***@discussions.microsoft.com> wrote in message
> news:BE5DBB50-8AFF-47EB-826D-6EE870986891@microsoft.com...
> > Is there a way scripting/csharp to determine free space of an exchange
> > storage group? I have seen many examples of getting the size, but not free
> > space.
> >
> > Thanks
> > -Jeremy
>
>
>
Author
5 Feb 2009 4:14 PM
Martin Blackstone [MVP]
EventID 1221 will tell you the amount of free space in any given store.
No need to script.

Show quoteHide quote
"J Ford" <JF***@discussions.microsoft.com> wrote in message
news:BE5DBB50-8AFF-47EB-826D-6EE870986891@microsoft.com...
> Is there a way scripting/csharp to determine free space of an exchange
> storage group? I have seen many examples of getting the size, but not free
> space.
>
> Thanks
> -Jeremy
Author
6 Feb 2009 4:55 PM
J Ford
So help me understand...
My eventlog shows: "The database "SG1\[server].SG1.MB1" has 1969 megabytes
of free space after online defragmentation has terminated. "

However in disk managemt for that store it shows: [server].SG1.MB1 =
"Capacity - 80 GB; Free Space - 45.70 GB; % Free - 57%"

Aside from knowledge what am I lacking because cleary 1,969 MB free does not
equate to 45.70 GB??

Thanks

Show quoteHide quote
"Martin Blackstone [MVP]" wrote:

>
> EventID 1221 will tell you the amount of free space in any given store.
> No need to script.
>
> "J Ford" <JF***@discussions.microsoft.com> wrote in message
> news:BE5DBB50-8AFF-47EB-826D-6EE870986891@microsoft.com...
> > Is there a way scripting/csharp to determine free space of an exchange
> > storage group? I have seen many examples of getting the size, but not free
> > space.
> >
> > Thanks
> > -Jeremy
>
>
Author
6 Feb 2009 5:26 PM
Martin Blackstone [MVP]
Free space in the store has nothing to do with free space on the disk.
That is the white space available inside the .EDB file. In other words if
your store (.edb) is 10 GB in size, 8031 MB of it is mail and the other 1969
is free space inside there for more mail.

Show quoteHide quote
"J Ford" <jf***@discussions.microsoft.com> wrote in message
news:7A59C53E-97D8-4A6B-A9CF-7E0BE2FFF611@microsoft.com...
> So help me understand...
> My eventlog shows: "The database "SG1\[server].SG1.MB1" has 1969 megabytes
> of free space after online defragmentation has terminated. "
>
> However in disk managemt for that store it shows: [server].SG1.MB1 =
> "Capacity - 80 GB; Free Space - 45.70 GB; % Free - 57%"
>
> Aside from knowledge what am I lacking because cleary 1,969 MB free does
> not
> equate to 45.70 GB??
>
> Thanks
>
> "Martin Blackstone [MVP]" wrote:
>
>>
>> EventID 1221 will tell you the amount of free space in any given store.
>> No need to script.
>>
>> "J Ford" <JF***@discussions.microsoft.com> wrote in message
>> news:BE5DBB50-8AFF-47EB-826D-6EE870986891@microsoft.com...
>> > Is there a way scripting/csharp to determine free space of an exchange
>> > storage group? I have seen many examples of getting the size, but not
>> > free
>> > space.
>> >
>> > Thanks
>> > -Jeremy
>>
>>
Author
18 Feb 2009 1:13 PM
jford
The problem that I have in our environment is we do not have any size
regulations on mailboxes so administration is a nightmare.  With that being
said often the combined size of the STM and EDB file equate to available free
space on the disk or lack there of. So basically I wanted to get "Disk
Capacity", "Disk Free", "Database Size (combined EDB & STM)", "White Space".
Which I eventually figured out how to do and wrote an application for it
using primarily WMI (Win32_Volume, Win32_NTLogEvent, CIM_DataFile) and
DirectoryServices in CSharp.

Thank you for giving me the eventlog info though.

-J

Show quoteHide quote
"Martin Blackstone [MVP]" wrote:

>
> Free space in the store has nothing to do with free space on the disk.
> That is the white space available inside the .EDB file. In other words if
> your store (.edb) is 10 GB in size, 8031 MB of it is mail and the other 1969
> is free space inside there for more mail.
>
> "J Ford" <jf***@discussions.microsoft.com> wrote in message
> news:7A59C53E-97D8-4A6B-A9CF-7E0BE2FFF611@microsoft.com...
> > So help me understand...
> > My eventlog shows: "The database "SG1\[server].SG1.MB1" has 1969 megabytes
> > of free space after online defragmentation has terminated. "
> >
> > However in disk managemt for that store it shows: [server].SG1.MB1 =
> > "Capacity - 80 GB; Free Space - 45.70 GB; % Free - 57%"
> >
> > Aside from knowledge what am I lacking because cleary 1,969 MB free does
> > not
> > equate to 45.70 GB??
> >
> > Thanks
> >
> > "Martin Blackstone [MVP]" wrote:
> >
> >>
> >> EventID 1221 will tell you the amount of free space in any given store.
> >> No need to script.
> >>
> >> "J Ford" <JF***@discussions.microsoft.com> wrote in message
> >> news:BE5DBB50-8AFF-47EB-826D-6EE870986891@microsoft.com...
> >> > Is there a way scripting/csharp to determine free space of an exchange
> >> > storage group? I have seen many examples of getting the size, but not
> >> > free
> >> > space.
> >> >
> >> > Thanks
> >> > -Jeremy
> >>
> >>
>
Author
17 Mar 2009 3:43 PM
dpower
jford,

can you post code for us to use?

thks.

dp

Bookmark and Share