答案:概要
本分步指南介绍如何从驱动器 M 删除 Exchange 2000 可安装文件系统 (IFS) 映射。
IFS 提供了通过 Win32 文件系统 API 来访问 Exchange 2000 信息存储区这一访问方式。 Exchange 2000 IFS 支持 \\.\backofficestorage\ 命名空间。 为兼容和方便起见,Exchange 2000 也支持正常的驱动器命名空间,默认情况下是驱动器 M:\。 IFS 是作为通过标准文件系统接口访问 Exchange 2000 信息存储区的一种方法被引入 Exchange 2000 的。
不过,在某些情况下,使用 IFS 时可能会遇到一些问题。 正是因为这些问题,所以 Microsoft 建议您删除到驱动器 M 的 IFS 映射,除非您有明确的原因不需要使用 IFS。 即使删除了驱动器 M 或其他驱动器盘符映射,\\.\backofficestorage\ 命名空间仍保持可用。
保留 IFS 映射的理由包括:
@setlocal@if "%1"=="" goto usage@if "%1"=="/?" goto usage@if "%1"=="-?" goto usage@rem Parameter is either a drive letter, or "none"@rem check for presence of adsutil.vbs@set adu=%systemdrive%\inetpub\adminscripts\adsutil.vbs@if exist %adu% goto stopsrv@echo This tool requires %adu% from the IIS scripts.@goto fail:stopsrv@rem Record what Exchange services are currently running@echo off@set StartSA=0@set StartIS=0@set StartMTA=0@set StartWWW=0For /f "delims=" %%a in ('net start') do if "%%a" == " Microsoft Exchange System Attendant" set StartSA=1 For /f "delims=" %%a in ('net start') do if "%%a" == " Microsoft Exchange Information Store" set StartIS=1 For /f "delims=" %%a in ('net start') do if "%%a" == " Microsoft Exchange MTA Stacks" set StartMTA=1 For /f "delims=" %%a in ('net start') do if "%%a" == " World Wide Web Publishing Service" set StartWWW=1 @echo on@echo Stopping Exchange services...net stop m易做图changesa /y@echo Stopping Web services...net stop w3svc /y@if "%temp%" == "" set temp="C:\"@set regfile=%temp%\addm.reg@echo REGEDIT4 > "%regfile%"@if "%1"=="none" goto deldrive@set drive=%1@set newdrive=%drive:~0,1%@echo Adding %newdrive% drive mapping to the registry...@echo [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EXIFS\Parameters] >> "%regfile%"@echo "DriveLetter"="%newdrive%" >> "%regfile%"@goto doregedit:deldrive@echo removing existing drive letter mapping...For /f "delims=\=>; tokens=1,2*" %%a in ('subst') do ( if /i "%%c" == " BackOfficeStorage" ( subst %%a /d ))@echo Removing drive mapping from the registry...@echo [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EXIFS\Parameters] >> "%regfile%"@echo "DriveLetter"="" >> "%regfile%":doregedit@type %regfile%regedit -s "%regfile%"@if errorlevel 0 goto mb@goto fail:mb@echo Touching the metabase to force update of Exchange virtual roots...cscript %adu% delete /ds2mb/HighWaterMarks@goto restart:restart@echo Restarting services...@if %StartSA%==1 net start "Microsoft Exchange System Attendant" /y@if %StartIS%==1 net start "Microsoft Exchange Information Store" /y@if %StartMTA%==1 net start "Microsoft Exchange MTA Stacks" /y@if %StartWWW%==1 net start w3svc /y@goto done:fail@echo The operation did not succeed.@goto end:done@echo Done.@goto end:usage@echo Usage: ifsdrive ^<drive-letter^>@echo ifsdrive none@echo Modifies or removes the mapping of Exchange storage to a local drive letter.@echo Specify a single letter to map Exchange storage to that drive.@echo Specify "none" (without quotes) to remove the mapping.@goto end:end@if not "%regfile%" == "" del "%regfile%"
ifsdrive none
备注: 为删除该映射,请使用完整的“none”一词。ifsdrive 驱动器盘符
驱动器盘符 默认情况下是驱动器 M,但如果 IFS 驱动器映射曾被改为另一个驱动器盘符,那么请改用新的驱动器盘符。271465 XADM: Clients Cannot Access Attachments After You Back Up Drive M(备份驱动器 M 后客户机不能访问附件)
281673 PRB: Moving Items Within Drive M of Exchange Can Remove Item Properties(在 Exchange 的驱动器 M 中移动项目会删除项目属性)
298924 XADM: Do Not Back Up or Scan Exchange 2000 Drive M(不要备份或扫描 Exchange 2000 驱动器 M)
299046 XADM: Calendar Items Disappear from User's Folders(日历项目从用户的文件夹中消失)
303245 XCLN: Item Count Incorrect for Messages with Modified Permission(修改权限后,消息的项目计数错误)
有关与驱动器 M 的防病毒扫描相关的一些问题(与保留驱动器 M 映射有关联)的其他信息,请单击下面的文章编号以查看 Microsoft 知识库中的文章:245822 XGEN: Recommendations for Troubleshooting an Exchange Server Computer with Antivirus Installed(针对安装了防病毒软件的 Exchange Server 计算机的故障排除建议)
298551 XADM: Large Number of Transaction Logs Created(创建了大量事务日志)
上一个:Exchange2000灾难恢复实录
下一个:Exchange Server 2003 的邮件传送监视与故障排除问题集(2)