Link to home
Start Free TrialLog in
Avatar of segrave
segraveFlag for United States of America

asked on

Moving Catalogdata Folder

I have a folder on my Exchange 2007 server. This folder has not been modified since the creation of the server and is taking up 6 gigs of space. I would like to reclaim that space but am not sure how to move it to another drive.

Here is the folder name:

catalogdata-0abef180-7785-40ae-bc41-1f70f00b54ef-cc64dd2d-2428-4f12-bba2-79d6d34c4d27

This folder sits on the same drive as the log files for the Exchange server. Is there a way for me to move this folder and the server not go bunk on me?

Avatar of aissim
aissim
Flag of United States of America image

The contents of the folder you referenced is the index from the Exchange Search feature....from what I can tell that folder has to reside in the same location as the database files for which it's indexing, and cannot be moved.

This article explains how to reset the database if you want to reclaim the space (althought it will undoubtedly grow again):
http://technet.microsoft.com/en-us/library/aa995966(EXCHG.80).aspx

And here's how to disable it if need be:
http://technet.microsoft.com/en-us/library/aa996416(EXCHG.80).aspx
Avatar of segrave

ASKER

Well that is the thing it is on drive with the log files, different drive from the DB all together, I wasn't the one who set this up so I am unsure as to how the folder got ont eh other drive in the first place. But I would like to move it to the drive with the DB.
Hmmmm....let's check two things:

Verify that indexing is turned on for the database using the shell:

get-mailboxdatabase | select name, indexenabled

(this will list all databases and use true/false to show whether indexing is enabled)


Assuming indexing is enabled, let's check the DB to see what it thinks it's index/catalog folder is. This is done with one of the default powershell scripts that comes with exchange (usually c:\program files\microsoft\exchange server\scripts) and is named getsearchindexfordatabase.ps1:

GetSearchIndexForDatabase <database name>


Also, the catalog directory in question, is it in the same folder as those log files or just on the same drive?
Avatar of segrave

ASKER

After running those test I came up with the following:

Database Name  : Mailbox Database
Index Directory: D:\Exchange\Mailbox\First Storage Group\CatalogData-0abef180-77
85-40ae-bc41-1f70f00b54ef-cc64dd2d-2428-4f12-bba2-79d6d34c4d27

For the folder structure, this is as follows:

Drive E:
|
|
_catalogdata-0abef180-7785-40ae-bc41-1f70f00b54ef-cc64dd2d-2428-4f12-bba2-79d6d34c4d27
_ExchangeLogs

The DB sits on the D drive with  a catalog file matching the above. I have noticed that both catalog files are the same name. The one with the DB has a modified date current with the DB. The one with the Log files has a date from when the server was installed.
ASKER CERTIFIED SOLUTION
Avatar of aissim
aissim
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of segrave

ASKER

After looking more at the Catalog file that was on the other drive, I have noticed it never grows but the other one changes every minute or so. I have now deleted the other folder and everything seems to be fine. I have awarded you the points.
Avatar of Albert Widjaja
ok, so how's this possible to migrate the Indexing directory into separate drive then the database?