Jryals8900
asked on
Exchnage 2007 SP2 Need help shrinking Database
I tried to use this command and I get a Syntax error
The command I am using is
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d c:\program files\excha
nge server\mailbox\First Storage Group\Mailbox Database.edb . This is the default that I used to install.
There error I get when I try to run which I dismounted both Database .
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d c:\program files\
nge server\mailbox\First Storage Group\Mailbox Database.edb
Usage Error: Invalid argument 'files\exchange'. Options must be preceded by
or '/'.
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.02
Copyright (C) Microsoft Corporation. All Rights Reserved.
DESCRIPTION: Database utilities for the Extensible Storage Engine for Micr
(R) Exchange Server.
MODES OF OPERATION:
Defragmentation: ESEUTIL /d <database name> [options]
Recovery: ESEUTIL /r <logfile base name> [options]
Integrity: ESEUTIL /g <database name> [options]
Checksum: ESEUTIL /k <file name> [options]
Repair: ESEUTIL /p <database name> [options]
File Dump: ESEUTIL /m[mode-modifier] <filename>
Copy File: ESEUTIL /y <source file> [options]
Restore: ESEUTIL /c[mode-modifier] <path name> [options]
<<<<< Press a key for more help >>>>>
D=Defragmentation, R=Recovery, G=inteGrity, K=checKsum,
P=rePair, M=file duMp, Y=copY file, C=restore
=>
The command I am using is
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d c:\program files\excha
nge server\mailbox\First Storage Group\Mailbox Database.edb . This is the default that I used to install.
There error I get when I try to run which I dismounted both Database .
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d c:\program files\
nge server\mailbox\First Storage Group\Mailbox Database.edb
Usage Error: Invalid argument 'files\exchange'. Options must be preceded by
or '/'.
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.02
Copyright (C) Microsoft Corporation. All Rights Reserved.
DESCRIPTION: Database utilities for the Extensible Storage Engine for Micr
(R) Exchange Server.
MODES OF OPERATION:
Defragmentation: ESEUTIL /d <database name> [options]
Recovery: ESEUTIL /r <logfile base name> [options]
Integrity: ESEUTIL /g <database name> [options]
Checksum: ESEUTIL /k <file name> [options]
Repair: ESEUTIL /p <database name> [options]
File Dump: ESEUTIL /m[mode-modifier] <filename>
Copy File: ESEUTIL /y <source file> [options]
Restore: ESEUTIL /c[mode-modifier] <path name> [options]
<<<<< Press a key for more help >>>>>
D=Defragmentation, R=Recovery, G=inteGrity, K=checKsum,
P=rePair, M=file duMp, Y=copY file, C=restore
=>
ASKER
I am really trying to free Upspace. The DB says My Storage group is 21 gigs. Maybe I aksed the question wrong. I want to reduce the Size of this.
If there is no whitespace in the database there is nothing you can do to reduce space. You will need to delete/archive email from mailboxes. This will create whitespace.
Then if you have whitespace simply create a new mailbox store and move the mailboxes to this store then delete the old one.
With exchange 2007/2010 there is no need to run an offline defrag. Have a read of my article.
Then if you have whitespace simply create a new mailbox store and move the mailboxes to this store then delete the old one.
With exchange 2007/2010 there is no need to run an offline defrag. Have a read of my article.
ASKER
What is whitespace .. SOrry ?
Thanks. I feel my users are just not deleting. I did read your article event id is 689 megs. Any way to Archice Email from the server side vs users exporting to Archive folders. We are planning to install Exchange 2010 after I decommsssion a good ol 2000 DC LOl
ANy articles you send my way of havving Policies on 14 days your Trash will be deleted?
Whitespace is "free" space in the database.
Funny you should mention articles, you might want to checkout another of mine here: https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_3538-Deleting-mail-of-a-certain-age-from-Exchange-mailboxes.html
Don't forget if you find my articles useful please vote for them :)
Funny you should mention articles, you might want to checkout another of mine here: https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_3538-Deleting-mail-of-a-certain-age-from-Exchange-mailboxes.html
Don't forget if you find my articles useful please vote for them :)
If the white space is only 689 MB, you are not gaining anything by an offline defr.
Also, if you make all the users archive, still the DB size wont come down if you are not doing an offline defrag. So better approach is to add one more DB in the Drive where you have space and create a new DB there. Move users to the new DB and delete the old DB.
Good Luck !
Shaba
Also, if you make all the users archive, still the DB size wont come down if you are not doing an offline defrag. So better approach is to add one more DB in the Drive where you have space and create a new DB there. Move users to the new DB and delete the old DB.
Good Luck !
Shaba
And why you are getting the error while trying eseutil?
its just because the path for exchange DB should be with in quotes.
eseutil /d "c:\program files\exchange server\mailbox\First Storage Group\Mailbox Database.edb"
FYI - You should have 110% free space for trying an offline defragmentation.
Cheers !
-Shaba-
its just because the path for exchange DB should be with in quotes.
eseutil /d "c:\program files\exchange server\mailbox\First Storage Group\Mailbox Database.edb"
FYI - You should have 110% free space for trying an offline defragmentation.
Cheers !
-Shaba-
ASKER
When I run the utility
it gives me this and both databases are dismounted
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d "c:\program files\exch
ange server\mailbox\First Storage Group\Mailbox Database.edb"
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.02
Copyright (C) Microsoft Corporation. All Rights Reserved.
Error: Access to source database 'c:\program files\exchange server\mailbox\First
Storage Group\Mailbox Database.edb' failed with Jet error -1811.
Operation terminated with error -1811 (JET_errFileNotFound, File not found) afte
r 0.0 seconds.
it gives me this and both databases are dismounted
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d "c:\program files\exch
ange server\mailbox\First Storage Group\Mailbox Database.edb"
Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.02
Copyright (C) Microsoft Corporation. All Rights Reserved.
Error: Access to source database 'c:\program files\exchange server\mailbox\First
Storage Group\Mailbox Database.edb' failed with Jet error -1811.
Operation terminated with error -1811 (JET_errFileNotFound, File not found) afte
r 0.0 seconds.
ASKER
oopes... I has the PAth wrong !!!! Sorry I will run anway to see hwat happens
There is no need to run it! It's a complete waste if time and potential for data loss!
Have you ready article???
Have you ready article???
ASKER
Ok.. I strarted the Defrag ... Now I have 50 megs of Free space. Where are the Temp files stored during this process?
Its a Virtual Server so I guess I can create another drive or send to a network share? Where do I tell the app on where it sends to? Before I started I had 9 gigs free? HELP
Its a Virtual Server so I guess I can create another drive or send to a network share? Where do I tell the app on where it sends to? Before I started I had 9 gigs free? HELP
ASKER
Or how do I undo this defrag?
Is there a switch that puts the Database to get it back to 9 gigs free on the drive? Then I am rebuilding another virtual server to Exchange 2010 .. Just trying to buys ome time :-)
Is there a switch that puts the Database to get it back to 9 gigs free on the drive? Then I am rebuilding another virtual server to Exchange 2010 .. Just trying to buys ome time :-)
Why did you run a defrag?
Did you not read my article or posts?
It's a complete waste of time on anything other than standard edition if exchange 2003.
Exactly the same results can be achieved by creating another data store and moving the mailboxes.
I am not going to participate in this question any further.
Did you not read my article or posts?
It's a complete waste of time on anything other than standard edition if exchange 2003.
Exactly the same results can be achieved by creating another data store and moving the mailboxes.
I am not going to participate in this question any further.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Would you mind explaining what you did and why?
The information I provided was correct.
The information I provided was correct.
Just create a new store and move the mailboxes to it.
No downtime, a completely defrauded and error free store and no chance of data loss.
Read my article here: https://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2730-Exchange-Offline-Defrag.html