Event Code: 1221 (Full Version)

All Forums >> [Microsoft Exchange 2000] >> Information Stores



Message


tharg -> Event Code: 1221 (2.May2006 1:29:01 PM)

In Exchange 2000 Standard: what does the following indicate?

Event Code: 1221
Message: The database "First Storage Group\Mailbox Store (NATHANSDC2)" has 2644 megabytes of free space after online defragmentation has terminated.

Does this mean I have ~2.6GB free? I seem to be getting a lot of conflicting info on this. Any pointers welcome.




alankar -> RE: Event Code: 1221 (2.May2006 2:03:56 PM)

Dear Thrag,

These Events are informative Event, and it tells you the amount of free space that is available in a database after an online defragmentation of the database is performed. Note that the online defragmentation is performed automatically during normal information store maintenance. In addition, note that the event is logged in the event log even if the associated logging level is set to None

Events that are similar to the following events are logged in the event log :

Event: 1221
Source: MSExchangeIS Private
Type: Information
Category: General
Description: The database has nnn megabytes of free space after online defragmentation has terminated.  Event: 1221
Source: MSExchangeIS Public
Type: Information
Category: General
Description: The database has nnn megabytes of free space after online defragmentation has terminated. where nnn is the amount of free space that is available in megabytes.

NOTE: In Exchange 2000, the event ID 1221 message description contains the following text
The database "storage_group\mailbox_store (server_name)" has nnn megabytes of free space after online defragmentation has terminated. where storage_group is the name of the storage group, mailbox_store is the name of the mailbox store, server_name is the name of the Exchange 2000 Server computer, and nnn is the amount of free space that is available in megabytes.

i hope that the above information helped you solving your issue.

please let me know if you need more information or help.

Regards

Alaa Al-Ankar
Blog: http://ExchGuru.Blogspot.com





Exchange_Admin -> RE: Event Code: 1221 (4.May2006 11:52:59 PM)

The description in Event ID 1221 is confusing. I can't tell you how many times I explained this to customers when I was working at MS.

The value listed in the description is the "whitespace" in the database.

Whitespace is the space freed up in the database after an online maintenance (defrag) happens.
If you ran an OFFLINE defrag (ESEUTIL /D) against this database, then this is the amount of physical diskspace that you would recover.

Exchange will reuse this whitespace.




tharg -> RE: Event Code: 1221 (9.May2006 12:35:42 PM)

Many thanks for the replies, yet I am none the wiser. What i am interested in is calcluating how much free space is left for the Exchage server.

How can this be done? Ideally I could script what the free amount of space is and have it emailed to me...




Exchange_Admin -> RE: Event Code: 1221 (9.May2006 4:43:00 PM)

What do you mean by "calcluating how much free space is left for the Exchage server."?
1. How much free space left on the hard drive?

2. How much space is left before the Exchange databases reach the maximum size and the information store service stops?

I will assume that you are thinking about #2. To figure this I guess you could use the following formula:
Space left before shutdown=MAXDBSIZE-(PRIV1.EDB+PRIV1.STM)+FSDB

Where:
MAXDBSIZE is 16 GB for Exchange standard version
PRIV1.EDB is the physical size of the database file
PRIV1.STM is the physical size of the database file
FSDB is the value listed in the Event ID 1221 for the Private Information Store




tharg -> RE: Event Code: 1221 (10.May2006 2:13:58 PM)

Yes its #2 and many thanks - that's exactly what I was looking for. In fact what I want ideally is a script that will perform this calculation. Getting the freespace out of the Event Log looks the tricky bit.

quote:

ORIGINAL: Exchange_Admin

What do you mean by "calcluating how much free space is left for the Exchage server."?
1. How much free space left on the hard drive?

2. How much space is left before the Exchange databases reach the maximum size and the information store service stops?

I will assume that you are thinking about #2. To figure this I guess you could use the following formula:
Space left before shutdown=MAXDBSIZE-(PRIV1.EDB+PRIV1.STM)+FSDB

Where:
MAXDBSIZE is 16 GB for Exchange standard version
PRIV1.EDB is the physical size of the database file
PRIV1.STM is the physical size of the database file
FSDB is the value listed in the Event ID 1221 for the Private Information Store




Page: [1]