Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ESEutil - Issues with defraging a database - MSDOS short names

2 views
Skip to first unread message

StickyRasta

unread,
Mar 18, 2010, 11:20:05 AM3/18/10
to
Hi,
I am trying to defrag an exchange 2003 database using the eseutil with the
/d switch. Under normal circumstances it works fine, however we have a
database in the folder e:\exchsrvr\pso & fe store\pso.edb. Whenever you type
in the short name for the folder "pso & fe store" i.e pso&fe~1 it is not
recognised. The full syntax I used is below

d:\exchsrvr\bin\eseutil /d e:\exchsrvr\pso&fe~1\pso.edb

performing a dir /x on the folder e:\exchsrvr shows the correct shortname
is pso&fe~1.

I then did other tests with changing to a directory/folder created in
Windows which contains the "&" sign and noticed that in MSDOS 8.3 syntax you
could not change to the folder using its short name, you get a windows
message of "The system cannot find the path specified"

Does anybody know how I can get round this as I need to perform a
defragmentation on the exchange store "pso & fe store" .

Thanks,

Sticky

Alan Plummer

unread,
Mar 22, 2010, 12:34:01 PM3/22/10
to
Can you not just use "" e.g.

ESEUTIL /D "e:\exchsrvr\pso & fe store\pso.edb"

Regards

Alan

StickyRasta

unread,
Mar 22, 2010, 4:08:02 PM3/22/10
to
Allan,

Thanks for the reply.

I have already tried that and it does not work. Appears it does not like you
specifing a directory structure using a long name.

Leonid S. Knyshov // SBS Expert

unread,
Mar 22, 2010, 7:18:43 PM3/22/10
to
On 3/22/2010 1:08 PM, StickyRasta wrote:
> Allan,
>
> Thanks for the reply.
>
> I have already tried that and it does not work. Appears it does not like you
> specifing a directory structure using a long name.
>
> "Alan Plummer" wrote:
>
>> Can you not just use "" e.g.
>>
>> ESEUTIL /D "e:\exchsrvr\pso& fe store\pso.edb"

>>
>> Regards
>>
>> Alan
>>
>> "StickyRasta" wrote:
>>
>>> Hi,
>>> I am trying to defrag an exchange 2003 database using the eseutil with the
>>> /d switch. Under normal circumstances it works fine, however we have a
>>> database in the folder e:\exchsrvr\pso& fe store\pso.edb. Whenever you type
>>> in the short name for the folder "pso& fe store" i.e pso&fe~1 it is not

>>> recognised. The full syntax I used is below
>>>
>>> d:\exchsrvr\bin\eseutil /d e:\exchsrvr\pso&fe~1\pso.edb
>>>
>>> performing a dir /x on the folder e:\exchsrvr shows the correct shortname
>>> is pso&fe~1.
>>>
>>> I then did other tests with changing to a directory/folder created in
>>> Windows which contains the "&" sign and noticed that in MSDOS 8.3 syntax you
>>> could not change to the folder using its short name, you get a windows
>>> message of "The system cannot find the path specified"
>>>
>>> Does anybody know how I can get round this as I need to perform a
>>> defragmentation on the exchange store "pso& fe store" .
>>>
>>> Thanks,
>>>
>>> Sticky
Why not...
cd \path\to\folder\containing\pso.edb
"path\to\eseutil.exe" /d pso.edb

You know that you can easily change the location of that mail folder to
avoid this nonsense in the future, right?

It'll require taking your mail store down, but it's very easy and
straightforward to do from ESM.

1. Open ESM
2. Navigate to your storage group, which will be under your mailbox server
3. Right-click and choose properties
4. Change the path where it says databases

Exchange will dismount the store, move the store database, and remount it.

5. Done.

While you are at it, confirm that your log files are not on the same
disk array as your database files are. That way if your database array
happens to crash, you can recover from previous backup and your intact
transaction log files.

Here are some screenshots
http://www.petri.co.il/move_exchange_stores_to_a_different_disk.htm

Note the registry edit required that is mentioned in that article should
you desire to delete the original folder (and some admin eventually
will... so might as well take care of it now :)).
--
Leonid S. Knyshov
Crashproof Solutions
510-282-1008
Twitter: @wiseleo
http://crashproofsolutions.com
Microsoft Small Business Specialist
Try Exchange Online http://bit.ly/free-exchange-trial
Please vote "helpful" if I helped you :)

StickyRasta

unread,
Mar 25, 2010, 7:15:01 AM3/25/10
to
Thanks Leonid,

I did exactly what you suggested a few days ago i.e redirecting the store to
a new location.

All resolved now.

> .
>

0 new messages