I have a E2007 SP1 server which doesn't flush logs, eventually filling the drive. how can i manually flush or delete them(i did it once and can't remember how again).
doing a full backup doesn't works, it doesn't has replication anymore either.
Posts: 6812
Joined: 9.Jun.2004
From: Philadelphia PA
Status: offline
Doing a full backup DOES work so there's something else wrong with the system somewhere. I notice you say replication isn't enabled any more. I'd guess that you think it isn't and the Exchange thinks it is. What type of replication do you think isn't there any more?
i know that it should, but it doesn't and i need this logsfiles cleared. there was SCR(i think it was SCR, the new replication mehtod introduced in SP1) with two mailbox server. it isn't enabled anymore(i run get-storagegroupcopystatus and get no listings) since the server suffered a hardware breakdown and everything went to hell.
now every... 2 months i need to manually delete all logfiles.I'm also getting a ton of 440 and 477 logfiles checksum errors.
i can take my time to investigate why it isn't fluishing afterwards, the problem now is the server going out of space and 34GB of february-old logfiles
Posts: 6812
Joined: 9.Jun.2004
From: Philadelphia PA
Status: offline
So do a backup, delete all the old log files and do another backup. Then get investigating what's going on......
Create a new SG and a store. Then add a mailbox to it and make sure that the mailbox gets traffic (journal your own mailbox to it perhaps) and do backups of it. If that store purges out the logs you'll know what the problem is.
If the results are something other than NotConfigured then it means exchange still thinks that replication is enabled - which in this case you will need to utilise the Disable-StorageGroupCopy commands
Name SummaryCopySt CopyQueueLeng ReplayQueueL LastInspecte atus th ength dLogTime ---- ------------- ------------- ------------ ------------ First Storage Group Failed 0 0 Second Storage Group NotConfigured 0 0
but when i ran: [PS] C:\Documents and Settings\Administrator\Desktop>Disable-StorageGroupCopy -i dentity "DS01\First Storage Group" -StandbyMachine DS02
Confirm Are you sure you want to perform this action? Disabling Storage Group Copy "DS01\First Storage Group". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):y WARNING: An unexpected error has occurred and debug information is being generated: The network path was not found. Disable-StorageGroupCopy : The network path was not found. At line:1 char:25 + Disable-StorageGroupCopy <<<< -identity "DS01\First Storage Group" -StandbyM achine DS02
and if i do: [PS] C:\Documents and Settings\Administrator\Desktop>Disable-StorageGroupCopy -i dentity "DS01\First Storage Group" -StandbyMachine "DS02\First Storage Group"
Confirm Are you sure you want to perform this action? Disabling Storage Group Copy "DS01\First Storage Group". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):y Disable-StorageGroupCopy : Storage group 'DS01\First Storage Group' does not ha ve standby continuous replication enabled. At line:1 char:25 + Disable-StorageGroupCopy <<<< -identity "DS01\First Storage Group" -StandbyM achine "DS02\First Storage Group"
Mark, what i want to know is what logs are safe to delete. do i leave the e00.chk and .log? there's also 3 .res files
You can use ESEUTIL to do a header check and see what log files are required of a dismounted database (you have to dismount it first). There's a blog post that covers this here:
Note that if your backups aren't flushing your logs then there's a chance they aren't working. Normally, after manually flushing logs and re-mounting the store you should do a full backup immediately as your last backup is no good now (logs it would need to replay are no longer there), but if your backups aren't working then you'd still be in a position where you could lose all your data.
Have you thought about adding a much bigger disk to the server and moving the logs over to that through the EMC until you can work out your backup issues?