Link to home
Start Free TrialLog in
Avatar of IP4IT Staff
IP4IT StaffFlag for Ireland

asked on

offline defrag of exchange

Hi lads

I have an exchange server with a database of 50GB
I have 3 drives C:\ with 35GB free space and  E:\ with 40GB of free space and F:\ with 600GB free space  

C:\ is the system drive
E:\ is the drive with the exchange database
F:\ is an ISCSI drive from a NAS Server

I am trying to do an offline defrag of  exchange  
I am running the following command
E:\"program files"\exchsrvr\bin\eseutil.exe /d E:\progra~1\exchsrvr\mdbdata\priv1.edb

this command runs ok but there is not enough space on C:\ to hold the temp database

is there a way to run this command that will write the Temp database to F:\ and allow the defrag to finish ok


thanks for any help
Avatar of MegaNuk3
MegaNuk3
Flag of United Kingdom of Great Britain and Northern Ireland image

Have a look at /T to change the temporary location
Avatar of IP4IT Staff

ASKER

hi meganuk3

something like this
E:\"program files"\exchsrvr\bin\eseutil.exe /d /t F:\dbback\tempdfrg.edb  E:\progra~1\exchsrvr\mdbdata\priv1.edb

thanks for your help
ASKER CERTIFIED SOLUTION
Avatar of MegaNuk3
MegaNuk3
Flag of United Kingdom of Great Britain and Northern Ireland 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
SOLUTION
Avatar of Ian Pattison
Ian Pattison
Flag of United Kingdom of Great Britain and Northern Ireland 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
hi lads

I have looked at  /p

this is Microsoft’s explanation of it
"Retains and preserves the original uncompacted database in its original location and stores the new compacted database in the default file Exchsrvr\Bin\Tempdfrg.edb."

does this mean that after defrag is finished  it will still use the original uncompacted database and then write the new database to E:\progra~1\exchsrvr\mdbdata or will it lave the new database on the ISCSI drive
 
It will create the temp database wherever you point it using /t

The extract you have read is if you ONLY use /p
In other words your original database will be in the original location, and defrayed database wherever you put it with /p
i have just run this command  
E:\"program files"\exchsrvr\bin\eseutil.exe /d E:\progra~1\exchsrvr\mdbdata\priv1.edb /t F:\temppriv.edb /p
from CSIPComputing:

i will let you know how i get on

Thanks lads for your help greatly appreciated