Urgent! Exchange C drive out of space!! Trying to move transaction logs

hi guys

Got exchange 2007. The C drive is basically completely full up now and we can't do anything.

I have also two other drives; one with 200GB free and another with 150gb free.
Our transaction logs is on the C drive.

I tried moving the database logs for our 'Third Storage' group to one of the bigger disks. But as it was doing so, the amount of space on our C drive was reducing drastically so I cancelled it.

This is the method I tried using: http://exchangeshare.wordpress.com/2008/05/22/move-committed-exchange-transaction-logs/

Please can someone help me to do this as I'm utterly stuck?!

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Which version of Windows are you running on?  

If it is Server 2008 you could use an NTFS symbolic link to point to the driectory on the other drive.
See: http://en.wikipedia.org/wiki/NTFS_symbolic_link

If you are using Server 2003 and the bigger disk is on the local machine you could achieve the same thing using an NTFS junction point.  
See: http://en.wikipedia.org/wiki/NTFS_junction_point

Either way, first stop all Exchange processed then just copy the existing folder across to the bigger disk, rename the old folder and make a link or junction point from the new drive to the old folder name on C:.  That way the same folder on C: will just point to the one on the other disk.

If you are on Windows 2003 and the other disk is not local you need to persuade Exchange to use a different folder, which is probably more tricky!

If you need to give yourself a bit of breathing space you could drop the page file size down on C: while you do the other work.  It will mean another reboot, but you could get away with 1/2GB of page file for a while while you get the rest of the disk sorted out.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
YashyAuthor Commented:
I'm on server 2008. Trying to work out how to do this NTFS symbolic link.

YashyAuthor Commented:
Martin, I'm a little confused and evidently a little rattled by this as getting frantic phonecalls:(.

So i have the C drive with the transaction logs. I have an E drive which is where I'd like the transaction logs to go to.

Would you be able to show me how to do this with a few steps? The makelink is not working as I'm probably doing it incorrectly.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Doing junctions or symlinks is totally nonstandard and asking for trouble down the road IMHO. If you can move the pagefile off the C drive to another drive and do the reboot I would do that. Medium term neither your Exchange log files nor databases should be on the C drive. You need to move them using the Exchange Manager. A regular backup will truncate your log files. If you temporarily switch to circular logging your log files will take less space, but you also won't be able to use them for recovery and is only a very temporary solution until you get things moved.
Some programs did have problems with Junctions, but simlinks should be closer to the Linux soft links in functionality and should be okay to use.

It is quite easy to make a link.

First start up a Command Prompt, but run as Administrator.
To do that, go to Start->All Programs->Accessories and right click on the "Command Prompt" icon and select "Run as Administrator"

In the command prompt, first make the directory that you want to link to with the command:
mkdir  e:\myfolder

Next make the link with the command
mklink  /D  c:\mylink  e:\myfolder

Now any file created in C:\mylink will actually be in e:\myfolder.
By the way, kevinhsieh is probably right that you would be better off doing it properly - it's just that a symbolic link would be a quick and dirty - but nonstandard - fix which could get you back up and running quickly.

You will need to stiop the Exchange services for a while whatever you decide to try though.  You won't be able to copy or move the log files if they are in use.
The log files should be moved by using the Exchange System Manager while all services are running. It will take care of taking the databases offline.

Instructions can be found by following this link
YashyAuthor Commented:
Guys, I ended up doing a Symantec Backup Exec FULL backup of the entire information store and the C drive (where the logs were). When it completed, freed up around 40GB of space so it took us through to the clear.
Now you can move your log files... :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.