Link to home
Start Free TrialLog in
Avatar of networkn
networkn

asked on

Remove RSG from Exchange 2007

I have a fully patched Exchange 2007 Server and I see there is an RSG there taking up 40GB of Disk Space with an edb which has a date from 2 years ago.

I suspect it's not wise to just delete it, but I can't see any reference anywhere to an active RSG? How can I get a list of RSG's or How can I remove the RSG safely with no loss of data? I presume being an RSG no part of that EDB is actively linked to the current database, so removal of it will only restrict my ability to restore from it, not remove data from the current database?

The Server Name is SSEXCH and the directory of the files is called D:\Exchange\Mailbox\First Storage Group\RSG20080627115553

if someone could give me a specific example of the command line I should use to remove these files safely I would appreciate it.

Many thanks for the assistance in advance.

Avatar of Hilal1924
Hilal1924
Flag of India image

Sorry forgot to mention to get The RSG Datbases and Storage Groups, Run the following Command:

Get-MailboxDatabase ( It will list all your Mailbox Databases Including RSG databases)

To Get StorageGroup, Run this Command:

Get-StorageGroup ( It will list all SG's  including RSG's)

Avatar of networkn
networkn

ASKER

Both get-mailboxdatabase and getstoragegroup both return just the active edb file, not the rsg, i presume based on this I can just delete the files themselves safely?

I presume earlier someone must have removed the rsg, but not the files?
ASKER CERTIFIED SOLUTION
Avatar of Hilal1924
Hilal1924
Flag of India 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
at step 3, I have no manager recovery storage group. This is a title, but the only clickable options are create a RSG.

Under Manage Databases I have analyze log drive space, repair database, show db related event logs, verify database and transaction log files.  The only option that looks close is verify db, but when I click there, the only choice is the First Storage Group.

Seems like the RSG has been removed from here?
All signs show that the RSG has been removed. So you can go ahead and delete the database files. Although I would still love to see the output of this command:

Get-MailboxDatabase

Hilal
Name                 Server          StorageGroup         Recovery
----                 ------          ------------         --------
Mailbox Database     SSEXCH         First Storage Group  False
OK Now this is conclusive that your RSG is removed. Please delete the Log Files :)

Hilal
And the EDB File?
Yes that us what I meant. both log files and edb files can be deleted now.

Hilal
Yes that us what I meant. both log files and edb files can be deleted now.

Hilal
Awesome support thanks very much for the timely and simple explanations.