We help IT Professionals succeed at work.

Manually move Exchange 2003 mailstore to different disk

JWSIT
JWSIT asked
on
I wanted to move 1 of our 4 mailstores to a different disk using the EMC. Everything seems to go ok but after an hour or 2 in the process it halts on an error in the lines of not enough resources. I now want to manually copy the mailstore's EDB & STM to this new disk (e.g. using ESEUTIL /Y) but how do I update Exchange? As in: how do I make Exchange aware this specific mailstore is on a different disk.
Last thing I want to do is bring down all other mailstores just to make this change.
Comment
Watch Question

Commented:
you can copy and paste the EDB and STM file to new location and go the the database property by ESM and click database Tab -- > and brows the new location of the databases there.

close ESM and reopen it now exchange cross check if the new location is displaying there. and you old database is should be there now. like this exchange will aware the the location has been changed.

Author

Commented:
If I copy and paste and then use the ECM to browse to that new location, it will say: file already exist (or something similar).

Commented:
Ok... try to first change the location without copy the database. to new location.
once a database will created there . replaced it with the old one . and renamed it as new database was created.

Commented:
dismount the old database  
than change the location to new drive. (it will create a new database for the same .)
then open the property of this database click database tab.  -- click this database can be over written by old restore.

now copy and paste the old EB and STM file to this new location
renamed it to as with new one created .
and mount the database .

it will work surely. :)

Author

Commented:
If I do that through the ECM it will try to move the current database, that is what started this whole issue.

Commented:
What is your main aim? what is understand that you wish to change the location of your databases.

I just did the same in my test LAB and it works and its not moved .
you should dismount the database -----  create new database in new location --- mount it and dismount.
then copy old database to new location ---   renamed it with the new one just created --- mount the database . and dont forget to check the check box "this database can be overwritten by restore "

if you wish to keep and additional copy database then make a copy to another location too.

Author

Commented:
I'm running out of diskspace on the disk where the current mailstores are on. Hence trying to move one of them to a different disk.

Commented:
if this is the case then you may simply make copy in another location for safer side.
and change the location to new one. and let net database move to new location i think your problem resolved here if you do and your database gets mounted in new location.
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Please have a read of the following Microsoft Article for details of how to move the database:
http://support.microsoft.com/kb/821915
Shibu KuttanSenior Server Administrator

Commented:

Hi,

If you are still getting the same issue, try to restart the server once and try again.
Make sure you log on by using an account that is delegated membership in the local Administrators group on the computer that you are running the copy file operation.
http://support.microsoft.com/kb/821915
http://technet.microsoft.com/en-us/library/aa997046(EXCHG.65).aspx
http://technet.microsoft.com/en-us/library/aa996409(EXCHG.80).aspx

Thanks.
Commented:
The other thing you can do is:
1.) Dismount the store (.edb and .stm)
2.) Move it with ESEUTIL /Y
3.) Change the msExchEDBFile and msExcSLVFile values through ADSIEdit which is as per http://support.microsoft.com/kb/822676

Commented:
Note the article says to stop the msexchangeIS service, this is because Exchange reads from AD every 2 hours by default from when the msExchangeIS service is started. It reads AD on starting too. ( This is why "Send As" permissions take so long to start working)

by stopping the MsExchangeIS service on your server all the stores will dismount, which is not what you wanted (from what you said in the question)

So you should be able to get away with Dismounting your store-->change adsiedit values-->copy files with eseutil /y--> wait for ESM to update an show the new locations (which means it has read AD), max 2 hours. --> mount the store in the new location

Alan HardistyCo-Owner
Top Expert 2011

Commented:
Using ADSIEDIT is a very dangerous way to move the location of the stores and should not be untaken lightly unless you are very familiar with editing the registry directly, which is what ADSIEDIT is doing.
There are much safer ways and they have been outlined:
http://support.microsoft.com/kb/821915 

Commented:
errr alanhardisty, ADSIEdit edits Active Directory not the registry...

I agree that there are safer ways, but the safer ways don't always work...

Commented:
I have had to use ADSIEdit before when moving Exchange 2003 databases between NetApp Filer LUNs when the "safer" methods didn't work.
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Sorry - Active Directory is correct - Need Caffeine ; )
Still a little dangerous, which was the point I was trying to make.
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Sure - not knocking the suggestion - just pointing out that there are safer / easier methods.

Commented:
I need more caffeine myself. Thanks for the reminder ;-)

Any tool is dangerous in the wrong hands ;-) yep, there are many different solutions to this problem, yours is safer and I wasn't going to get any points posting the same solution as you...
Alan HardistyCo-Owner
Top Expert 2011

Commented:
Indeed - time for a brew : )
Agreed about the tools in the wrong hands.
; )

Author

Commented:
-