Link to home
Start Free TrialLog in
Avatar of sugadmin
sugadmin

asked on

Exchange 2010, Catalogdata folder stayed behind during a Database path move and appears to still be in use -growing in size

I've recently moved a database to a new location.  Removed the copy, took it offline, and used the GUI to move our biggest Database to a newly assigned (SAN Storage) drive,  I then mounted the database and all is well.  I noticed that the folder the DB used to be in is still there in the former location/drive and I can't delete it because it's in use, the CatalogData folder is still inside that folder and it is still being used and growing.   The DB size as it sits in the new location is 265GB, The log file (in the Logs drive) is  8.77GB, the old CatalogData file is 16.5GB, and the new CatalogData folder is 36.5.   I'm lost as to how there are two CatalogData files that appears to be in use.   Can I delete the old one?
Avatar of Amit
Amit
Flag of India image

Can you run and post the result for below command:

get-mailboxdatabase -identity dbname | fl
Avatar of sugadmin
sugadmin

ASKER

[PS] C:\Windows\system32>get-mailboxdatabase -identity Other | fl
Creating a new session for implicit remoting of "Get-MailboxDatabase" command...


RunspaceId                                   : e9da0f17-2f3e-4b35-b608-113fa0eace7d
JournalRecipient                             :
MailboxRetention                             : 14.00:00:00
OfflineAddressBook                           : \Default Offline Address Book
OriginalDatabase                             :
PublicFolderDatabase                         : Public Folders 01
ProhibitSendReceiveQuota                     : unlimited
ProhibitSendQuota                            : unlimited
RecoverableItemsQuota                        : 30 GB (32,212,254,720 bytes)
RecoverableItemsWarningQuota                 : 20 GB (21,474,836,480 bytes)
IndexEnabled                                 : True
IsExcludedFromProvisioning                   : False
IsSuspendedFromProvisioning                  : False
DumpsterStatistics                           :
DumpsterServersNotAvailable                  :
ReplicationType                              : None
AdministrativeGroup                          : Exchange Administrative Group (FYDIBOHF23SPDLT)
AllowFileRestore                             : False
BackgroundDatabaseMaintenance                : True
ReplayBackgroundDatabaseMaintenance          :
BackgroundDatabaseMaintenanceSerialization   :
BackgroundDatabaseMaintenanceDelay           :
ReplayBackgroundDatabaseMaintenanceDelay     :
MimimumBackgroundDatabaseMaintenanceInterval :
MaximumBackgroundDatabaseMaintenanceInterval :
BackupInProgress                             :
DatabaseCreated                              : True
Description                                  :
EdbFilePath                                  : N:\Other\Other.edb
ExchangeLegacyDN                             : /o=x/ou=Exchange Administrative Group (FYDIBOHF23SP
                                               DLT)/cn=Configuration/cn=Servers/cn=mail.x.com/cn=Microsof
                                               t Private MDB
DatabaseCopies                               : {Other\EXMBX02}
Servers                                      : {EXMBX02}
ActivationPreference                         : {[EXMBX02, 1]}
ReplayLagTimes                               : {[EXMBX02, 00:00:00]}
TruncationLagTimes                           : {[EXMBX02, 00:00:00]}
RpcClientAccessServer                        : mail.x.com
MountedOnServer                              :
DeletedItemRetention                         : 14.00:00:00
SnapshotLastFullBackup                       :
SnapshotLastIncrementalBackup                :
SnapshotLastDifferentialBackup               :
SnapshotLastCopyBackup                       :
LastFullBackup                               :
LastIncrementalBackup                        :
LastDifferentialBackup                       :
LastCopyBackup                               :
DatabaseSize                                 :
AvailableNewMailboxSpace                     :
MaintenanceSchedule                          : {Sun.1:00 AM-Sun.5:00 AM, Mon.1:00 AM-Mon.5:00 AM, Tue.1:00 AM-Tue.5:00
                                               AM, Wed.1:00 AM-Wed.5:00 AM, Thu.1:00 AM-Thu.5:00 AM, Fri.1:00 AM-Fri.5:
                                               00 AM, Sat.1:00 AM-Sat.5:00 AM}
MountAtStartup                               : True
Mounted                                      :
Organization                                 : x
QuotaNotificationSchedule                    : {Sun.1:00 AM-Sun.1:15 AM, Mon.1:00 AM-Mon.1:15 AM, Mon.8:00 AM-Mon.9:00
                                               AM, Mon.12:00 PM-Mon.1:00 PM, Mon.4:00 PM-Mon.5:00 PM, Tue.1:00 AM-Tue.1
                                               :15 AM, Tue.8:00 AM-Tue.9:00 AM, Tue.12:00 PM-Tue.1:00 PM, Tue.4:00 PM-T
                                               ue.5:00 PM, Wed.1:00 AM-Wed.1:15 AM, Wed.8:00 AM-Wed.9:00 AM, Wed.12:00
                                               PM-Wed.1:00 PM, Wed.4:00 PM-Wed.5:00 PM, Thu.1:00 AM-Thu.1:15 AM, Thu.8:
                                               00 AM-Thu.9:00 AM, Thu.12:00 PM-Thu.1:00 PM...}
Recovery                                     : False
RetainDeletedItemsUntilBackup                : False
Server                                       : EXMBX02
MasterServerOrAvailabilityGroup              : DAG01
MasterType                                   : DatabaseAvailabilityGroup
ServerName                                   : EXMBX02
IssueWarningQuota                            : unlimited
EventHistoryRetentionPeriod                  : 7.00:00:00
Name                                         : Other
LogFolderPath                                : L:\Other
TemporaryDataFolderPath                      :
CircularLoggingEnabled                       : False
LogFilePrefix                                : E00
LogFileSize                                  : 1024
LogBuffers                                   :
MaximumOpenTables                            :
MaximumTemporaryTables                       :
MaximumCursors                               :
MaximumSessions                              :
MaximumVersionStorePages                     :
PreferredVersionStorePages                   :
DatabaseExtensionSize                        :
LogCheckpointDepth                           :
ReplayCheckpointDepth                        :
CachedClosedTables                           :
CachePriority                                :
ReplayCachePriority                          :
MaximumPreReadPages                          :
MaximumReplayPreReadPages                    :
DataMoveReplicationConstraint                : SecondCopy
IsMailboxDatabase                            : True
IsPublicFolderDatabase                       : False
AdminDisplayName                             : Other
ExchangeVersion                              : 0.10 (14.0.100.0)
DistinguishedName                            : CN=Other,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
                                               ,CN=Administrative Groups,CN=Superior Uniform Group,CN=Microsoft Exchang
                                               e,CN=Services,CN=Configuration,DC=x,DC=com
Identity                                     : Other
Guid                                         : 0ba7385d-cb25-40c6-8ea5-86ac99649eab
ObjectCategory                               : x.com/Configuration/Schema/ms-Exch-Private-MDB
ObjectClass                                  : {top, msExchMDB, msExchPrivateMDB}
WhenChanged                                  : 6/28/2015 5:44:22 PM
WhenCreated                                  : 11/11/2013 11:50:49 AM
WhenChangedUTC                               : 6/28/2015 9:44:22 PM
WhenCreatedUTC                               : 11/11/2013 4:50:49 PM
OrganizationId                               :
OriginatingServer                            : DC1101.xm.com
IsValid                                      : True



[PS] C:\Windows\system32>
I see log folder path is set to:

LogFolderPath                                : L:\Other

Where as EDB path is showing:
EdbFilePath                                  : N:\Other\Other.edb

That's why it is growing. You need to change it to and move it to N drive. It seems you only change db path. You also need to set the log path. You can use EMC or EMS to do it.
Correct, So the logs need to be in the same drive as the MDB?    I have 7 other databases that are setup the same exact way but they are not growing as was this database for a very long time.  From what I recall Microsoft recommends you have 3 separate sets of physical disks for your operating system, Exchange databases and transaction logs
You need to change log file path also. It won't change automatically, until you set it.
Hmm, I'm not sure I'm following.   When I moved the Database path I did not change the Transaction Log path only the Database, they have always been one a separate drives prior to the database move.  The issues I am having is with the CatalogData folder that resides in the same directory at the .edb file (or in this case where the .edb used to reside).  That folder (and the files in side) are growing in the location where the database used to be.
ASKER CERTIFIED SOLUTION
Avatar of Amit
Amit
Flag of India 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
Amit, Thanks did the Trick!  

Open the Exchange Management Shell and run the following command:
     Set-MailboxDatabase -Identity databasename -IndexEnabled $false
-Before moving / cleaning the catalog files, stop the service Microsoft Exchange Search Indexer
- Move the catalog files to the new database location or clean them up. ( I moved them to a folder named OLD).
- Start the service Microsoft Exchange Search Indexer
- Open the Exchange Management Shell and run the following command:
Set-MailboxDatabase -Identity databasename -IndexEnabled $true
Exchange started using the CatalogData folder in the new location where the database currently resides.