|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Storage Group Free SpaceIs 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 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... -- Show quoteHide quoteSusan 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 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 > > > 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 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 > > 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 >> >> 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 > >> > >> >
Other interesting topics
using range with webdav
Ex2003 PF Async Event Sink OnDelete fires OnSave doesn't Incremental email updates via webdav Delegated Admin View Only Intercepting emails as they are sent Query Exchange 2003 mailbox store (mailbox sizes etc) Outgoing emails: add automatically actual information and / or attachment Exchange 2007 Backup/Restore API problem OWA extension problem 500 Internal Server Error |
|||||||||||||||||||||||