Link to home
Create AccountLog in
Avatar of TriCountyIT
TriCountyIT

asked on

How do I move mailboxes to a different mail store and defrag that mail store in exchange 2007?

We have 4 mail stores in our environment.  I need to defrag each one.  I have to move the mailboxes off the store before they can be defragged.  What is the command shell for doing that?  Obviously I dont want to do them one at a time.  Thanks
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

You don't need to defrag the stores in Exchange 2007.

You create a new mailbox store, move the mailboxes either by selecting them and right clicking then say Move Mailbox or use the Move-Mailbox command from the Exchange Management Shell.
Avatar of TriCountyIT
TriCountyIT

ASKER

There is a lot of space un accounted for.  Is there anything more than defragging the drive?
ASKER CERTIFIED SOLUTION
Avatar of johnnash1180
johnnash1180
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Can you please be more specific? What do you mean by a lot of space unaccounted for?
We have 150 gigs of total space on our exchange database drive.  I do a properties on everything and there is only 110 gigs accounted for.  There is a bunch of space that I have no idea where is.
You've looked with Hidden Files shown and unticked the option in "Folder Options" to "hide protected operating system files"?

I guess that you could have a page file, recycle bin or something else sat on the drive that is using space.  As for the space that you could retrieve from the mailbox database files, you need to look for Event 1221 in the Application log on your exchange server.  This will tell you how much space you could get back by doing an offline defrag.