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.

networknAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hilal1924Commented:
Hilal1924Commented:
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)

networknAuthor Commented:
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?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Hilal1924Commented:
Hi Can you post the results of Get-MailboxDatabase here.

Also Follow this procedure and double check if RSG is removed before removing the database files.

1. Open the EMC (Exchange Management Console), from the Toolbox node, click on the Database Recovery Management:


2. Type the name of your Exchange server and Domain Controller server name and then click Next at the bottom of the screen:


3. From the Tasks options, choose Manage Recovery Storage Group and then click on the Mount or Dismount Database in the Recovery Storage Group:


4. Now select the Database that you want to dismount, mark it with V and click on Dismount Selected database:


5. After dismounting the database, you will get a report with a result of the process:


In order to remove the RSG:

1. Repeat steps 1 and 2 in this paragraph and from the tasks options, click on Remove the Recovery Storage Group:


2. Click the Remove the Recovery Storage Group option again:


3. After removing the RSG, you will get a report with a result of the process
 
 
Hilal



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
networknAuthor Commented:
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?
Hilal1924Commented:
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
networknAuthor Commented:
Name                 Server          StorageGroup         Recovery
----                 ------          ------------         --------
Mailbox Database     SSEXCH         First Storage Group  False
Hilal1924Commented:
OK Now this is conclusive that your RSG is removed. Please delete the Log Files :)

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

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

Hilal
networknAuthor Commented:
Awesome support thanks very much for the timely and simple explanations.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.