Dela via


How to Move a Storage Group Path

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to move a storage group's system and transaction log files to a new location. If local continuous replication (LCR) is enabled for the storage group, you can also move your LCR system and log files. For more information about LCR, see Local Continuous Replication.

Before You Begin

To move a storage group path, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

Also, before you perform these procedures, be aware that all databases in the storage group are dismounted during the move process, and then remounted when the move is complete. Databases are inaccessible to users while they are dismounted.

Procedure

To use Exchange Management Console to move a storage group path

  1. Open the Exchange Management Console.

  2. In the console tree, expand Server Configuration, and then click Mailbox.

  3. In the result pane, select the server that contains the storage group you want.

  4. In the work pane, select the storage group for which you want to move the path.

  5. In the action pane, click Move Storage Group Path. The Move Storage Group Path wizard appears.

  6. On the Introduction page, click Browse next to one or both of the Log files location and System files location boxes, and then select the new locations for the files.

    Note

    To create a new folder for the files, in the Browse for Folder dialog box, select a parent folder, and then click Make New Folder.

  7. If LCR is enabled for the storage group, two additional options for file relocation are listed: Local continuous replication system files location and Local continuous replication log files location. Click Browse next to one or both of the boxes, and then select the new locations for the files.

  8. Click Move.

  9. A warning appears stating that, to move the files, all databases in the storage group must be temporarily dismounted, making them inaccessible to users. Click Yes to continue.

  10. The Completion page states whether the operation completed successfully and displays the Exchange Management Shell command that was used to complete the task.

  11. Click Finish.

To use the Exchange Management Shell to move a storage group path

  • Run the following command:

    Move-StorageGroupPath -Identity "Second Storage Group" -LogFolderPath:"D:\Mailbox\Second Storage Group\Logs" -SystemFolderPath:"D:\Mailbox\Second Storage Group\System" 
    

For detailed syntax and parameter information, see the Move-StorageGroupPath reference topic.

For More Information

For more information about storage groups and databases, see Understanding the Exchange 2007 Store.

For more information about LCR, see Local Continuous Replication.