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?
ASKER
[PS] C:\Windows\system32>get-ma ilboxdatab ase -identity Other | fl
Creating a new session for implicit remoting of "Get-MailboxDatabase" command...
RunspaceId : e9da0f17-2f3e-4b35-b608-11 3fa0eace7d
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)
RecoverableItemsWarningQuo ta : 20 GB (21,474,836,480 bytes)
IndexEnabled : True
IsExcludedFromProvisioning : False
IsSuspendedFromProvisionin g : False
DumpsterStatistics :
DumpsterServersNotAvailabl e :
ReplicationType : None
AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
AllowFileRestore : False
BackgroundDatabaseMaintena nce : True
ReplayBackgroundDatabaseMa intenance :
BackgroundDatabaseMaintena nceSeriali zation :
BackgroundDatabaseMaintena nceDelay :
ReplayBackgroundDatabaseMa intenanceD elay :
MimimumBackgroundDatabaseM aintenance Interval :
MaximumBackgroundDatabaseM aintenance Interval :
BackupInProgress :
DatabaseCreated : True
Description :
EdbFilePath : N:\Other\Other.edb
ExchangeLegacyDN : /o=x/ou=Exchange Administrative Group (FYDIBOHF23SP
DLT)/cn=Configuration/cn=S ervers/cn= mail.x.com /cn=Micros of
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 :
SnapshotLastIncrementalBac kup :
SnapshotLastDifferentialBa ckup :
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
RetainDeletedItemsUntilBac kup : False
Server : EXMBX02
MasterServerOrAvailability Group : DAG01
MasterType : DatabaseAvailabilityGroup
ServerName : EXMBX02
IssueWarningQuota : unlimited
EventHistoryRetentionPerio d : 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 :
DataMoveReplicationConstra int : SecondCopy
IsMailboxDatabase : True
IsPublicFolderDatabase : False
AdminDisplayName : Other
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=Other,CN=Databases,CN=E xchange Administrative Group (FYDIBOHF23SPDLT)
,CN=Administrative Groups,CN=Superior Uniform Group,CN=Microsoft Exchang
e,CN=Services,CN=Configura tion,DC=x, DC=com
Identity : Other
Guid : 0ba7385d-cb25-40c6-8ea5-86 ac99649eab
ObjectCategory : x.com/Configuration/Schema /ms-Exch-P rivate-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>
Creating a new session for implicit remoting of "Get-MailboxDatabase" command...
RunspaceId : e9da0f17-2f3e-4b35-b608-11
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)
RecoverableItemsWarningQuo
IndexEnabled : True
IsExcludedFromProvisioning
IsSuspendedFromProvisionin
DumpsterStatistics :
DumpsterServersNotAvailabl
ReplicationType : None
AdministrativeGroup : Exchange Administrative Group (FYDIBOHF23SPDLT)
AllowFileRestore : False
BackgroundDatabaseMaintena
ReplayBackgroundDatabaseMa
BackgroundDatabaseMaintena
BackgroundDatabaseMaintena
ReplayBackgroundDatabaseMa
MimimumBackgroundDatabaseM
MaximumBackgroundDatabaseM
BackupInProgress :
DatabaseCreated : True
Description :
EdbFilePath : N:\Other\Other.edb
ExchangeLegacyDN : /o=x/ou=Exchange Administrative Group (FYDIBOHF23SP
DLT)/cn=Configuration/cn=S
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 :
SnapshotLastIncrementalBac
SnapshotLastDifferentialBa
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
RetainDeletedItemsUntilBac
Server : EXMBX02
MasterServerOrAvailability
MasterType : DatabaseAvailabilityGroup
ServerName : EXMBX02
IssueWarningQuota : unlimited
EventHistoryRetentionPerio
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 :
DataMoveReplicationConstra
IsMailboxDatabase : True
IsPublicFolderDatabase : False
AdminDisplayName : Other
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=Other,CN=Databases,CN=E
,CN=Administrative Groups,CN=Superior Uniform Group,CN=Microsoft Exchang
e,CN=Services,CN=Configura
Identity : Other
Guid : 0ba7385d-cb25-40c6-8ea5-86
ObjectCategory : x.com/Configuration/Schema
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.
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.
ASKER
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.
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.
get-mailboxdatabase -identity dbname | fl