• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

Exchange mystery

I have an mdbdata folder that is 106gigs. The Prv1.edb is 28.3 giga and Prv1.stm is 14gigs and the rest is log files totaling 13,000. How do i shrink 106 gigs. I only have 10gigs free on the server. Tried a offline defrag with 2gig of free space but nothing happened after 14hours. Help
0
meteorman
Asked:
meteorman
  • 3
  • 3
  • 2
  • +1
1 Solution
 
Alan HardistyCo-OwnerCommented:
Backup!

If you don't backup Exchange the logs won't get purged.  If you do backup using an Exchange aware backup program, then the logs will get purged and the folder size will decrease.

Running an offline defrag won't clear the logs - it may shrink the database size by the amount of space identified in Application Event Log ID 1221, but that's all it will do.
0
 
Dan ArseneauCommented:
For a quick fix, put the database in Circular Logging, dismount, remount.  This will purge unneeded log files and clear space.  Switch it back to not having Circular logging, dismount, remount and GET BACKUPS. ;-)
0
 
Neil RussellTechnical Development LeadCommented:
Noooooooooooooooooooooooooooo!!!!

DO NOT USE CIRCULAR LOGGING!
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Alan HardistyCo-OwnerCommented:
You were too quick for me Neil - Couldn't agree more.
0
 
Dan ArseneauCommented:
It's a great quick fix but it requires the DB to be dismounted which causes downtime.  I had to use it multiple times...just remember to set it back to disabled.
0
 
Neil RussellTechnical Development LeadCommented:
You currently have no stable exchange backup
Circular logging is a last resort when ALL else fails

First find out what you have, can you back up? Can you snapshot?

If you enable circular logging you are putting your system into a very "Dangerous" state.

0
 
meteormanAuthor Commented:
I noticed that Symantec Backup Exec is off line so I started it up and am running a backup to another devise. Will the log files be deleted?
0
 
Alan HardistyCo-OwnerCommented:
Yes - they should be as long as you are backing up the Exchange database within the backup.
0
 
Neil RussellTechnical Development LeadCommented:
So long as you have a version of backup exec that handles the exchange backup yes should be fine.

I imagine your backups have been offline for a long while from the size of your logs!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now