Announcement

Collapse
No announcement yet.

Exch 2k3 priv1 and pub1 DB corruption

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exch 2k3 priv1 and pub1 DB corruption

    We are running Exchange 2k3 w/sp2 fully patched on an HP Proliant DL 380 G5 w/ 4 72GB hard drives. (4GB RAM) Unfortunately the raid level was to set to zero and not 5. Its a member server in a win2k3 domain. On thurs. of this past week, we noticed drive # 3 starting to fail which of course messed up our information store. with that being said , here is a question for all of you

    if i follow the steps below, will this correct our corruption?

    1. create a new storage group on a temporary exch server.
    2. move mailboxes and public folders to new temp machine
    3. leave all smtp related items in tact on existing exch server so mail can still flow through our original exch server
    4. Delete the info store on the original mail server
    5. Create a new storage group on the original mail server
    6. move mailboxes and public folders back

    Currently, our mail server is up and running. But i can't do an NTbackup or w/ our 3rd party backup software because of the corruption. it fails about 1GB into the job.

    thanks - your feedback is much appreciate

    Jamie

  • #2
    Re: Exch 2k3 priv1 and pub1 DB corruption

    Have a look at this Microsoft KB. You can usually repair corrupt information stores and get everything up and running again. I'd do that first, get a backup and then look at doing a swing migration onto either a new bit of hardware or a temp server until you rebuild the original one with proper redundancy on the hard drives.
    BSc, MCSA: Server 2008, MCSE, MCSA: Messaging, MCTS
    sigpic
    Cruachan's Blog

    Comment


    • #3
      Re: Exch 2k3 priv1 and pub1 DB corruption

      Thanks for the reply, but i feel like if i continue to manipulate this corrupted DB, I'll make it even more corrupt. So - rather than do that .. I feel that the best approach would be to move the MB's and PF's off of the original server , remove the corrupt MB and PF store, and also remove the "first storage group" .. recreate a new storage group, MB store and PF store, then move the MB's and replicate the PF's back to the existing production server. At least we can still use our production server for mail flow.

      The array in the production server has been reconfigured to raid 5 as of yesterday. I was able to take an image of this server using Acronis , then blow out the array, reconfigure it and restore the image back to the same machine.

      Comment


      • #4
        Re: Exch 2k3 priv1 and pub1 DB corruption

        It is of course up to you, but the procedures for repairing a corrupt mail store are well documented and proven. I've had to do it myself more times than I can count. What you are proposing looks to me like it will work on the face of it, but seems over complicated.
        BSc, MCSA: Server 2008, MCSE, MCSA: Messaging, MCTS
        sigpic
        Cruachan's Blog

        Comment


        • #5
          Re: Exch 2k3 priv1 and pub1 DB corruption

          Let me ask you this - how much of an impact will our production server be if I create a 2nd storage group and move the MB's and PF's to the new group vs a 2nd server.. Rason I ask is because the 2nd server that i'm using to do this is a high end Dell Precision T3500 workstation w/ two 500GB HD's in a raid1 configuration. memory is only 2GB of RAM ..

          I've got plenty of disk space on our prod. server to create a 2nd storage group , mb and pf store . but we were concnerned that it may put a damper on performance on our live prod. DL 380 G5 box.

          what do you think?

          Comment


          • #6
            Re: Exch 2k3 priv1 and pub1 DB corruption

            I only repair corrupt stores long enough to get the data out, as once it is corrupted it cannot be trusted. Therefore if you have the resources to move the data using Move Mailbox to a fresh set of databases then I would do so.

            Exchange 2003 isn't RAM or processor heavy, it is storage. If the storage is slow then you will see a hit. I never put more than 2gb of RAM in an Exchange 2003 system, I see no point, it will not use it.

            A single RAID 5 is better than nothing, but it will not be quick because you have two transactions running at the same time (the logs and the database write). However if you have been running on a single RAID 0, then you haven't been running at anywhere near optimum storage levels. A single RAID 5 will be very slow.

            Personally, if I can get the data off, I would be looking to do a full swing migration, remove the original server and rebuild it with two arrays and get some performance out of it. That is of course presuming that you can get your databases on to a single mirror array.

            Simon.
            --
            Simon Butler
            Exchange MVP

            Blog: http://blog.sembee.co.uk/
            More Exchange Content: http://exchange.sembee.info/
            Exchange Resources List: http://exbpa.com/
            In the UK? Hire me: http://www.sembee.co.uk/

            Sembee is a registered trademark, used here with permission.

            Comment


            • #7
              Re: Exch 2k3 priv1 and pub1 DB corruption

              Understood ..

              If I dsmount our existing priv1 and pub1 stores, copy those 2 files onto a new exchange 2003 server, am i able to mount them as is? I've not done this before so I'm not sure what I need to do. I would rather not attempt a repair on our live database but I can copy the 2 files to another server if need be.
              Would the test exch server need to be on its own domain or can it be a secondary exch on our existing domain?

              Comment


              • #8
                Re: Exch 2k3 priv1 and pub1 DB corruption

                Exchange database files are closely aligned to the server they are created on. Therefore it is unlikely that moving them to another server with a different name would work.
                Furthermore, how would that help? You would still have the corruption there.

                If you aren't going to repair the live database, then you would still need to have Exchange shutdown completely while the repair takes place. You cannot leave Exchange running and then swap the files round because they will be different.

                If the live server is still running, build a replacement and move mailbox/replicate public folders. It is risk free, no downtime and no impact on the users.

                A swing migration would be to a server on the same domain.

                Simon.
                --
                Simon Butler
                Exchange MVP

                Blog: http://blog.sembee.co.uk/
                More Exchange Content: http://exchange.sembee.info/
                Exchange Resources List: http://exbpa.com/
                In the UK? Hire me: http://www.sembee.co.uk/

                Sembee is a registered trademark, used here with permission.

                Comment


                • #9
                  Re: Exch 2k3 priv1 and pub1 DB corruption

                  Gotcha .. Well, I'm in the process of replicating our PF's, then our MB's.
                  Once the MB's and PF's are all on the new server, the only thing I'd like to do is to simply remove the "first storage group" which below that contains our MB and PF stores. Then, re-create a new store, mb and PF store, replicate the PF's back and move the MB's back. I dont need to change SMTP or any of that because we're not changing production servers. I guess you can say we're doing a partial swing migration.

                  Comment


                  • #10
                    Re: Exch 2k3 priv1 and pub1 DB corruption

                    It is pretty much a complete swing migration, with only the removal of the original server being avoided. Depending on how quickly you move things around, you might have to change the OAB generation server so that the OAB is generated correctly.

                    Once you have created new databases, restart the information store before loading it with data. That will create the system mailboxes the server requires. Then replicate the public and system folders in, finally the user data.

                    Simon.
                    --
                    Simon Butler
                    Exchange MVP

                    Blog: http://blog.sembee.co.uk/
                    More Exchange Content: http://exchange.sembee.info/
                    Exchange Resources List: http://exbpa.com/
                    In the UK? Hire me: http://www.sembee.co.uk/

                    Sembee is a registered trademark, used here with permission.

                    Comment


                    • #11
                      Re: Exch 2k3 priv1 and pub1 DB corruption

                      Ok ..I still have to sync the system folders which I have not done yet ..
                      Still working on the sync of public folders, then i'll take care of the MB's once replication is done and the servers calm down.

                      Thank you for the responses - You've been a great help ..

                      Comment


                      • #12
                        Re: Exch 2k3 priv1 and pub1 DB corruption

                        In attempt to now move mailboxes, I started w/ my own mailbox. The system successfully moved my mailbox to our new exch temp box, but then when opening outlook it gives me the name of the new exch box and my user id, then it tells me "unable to open default folders" and then all i can do is select OK to close outlook.

                        After reviewing the logs, it gives me the following error

                        Event 1022

                        Logon Failure on database "First Storage Group\Mailbox Store (EXCH2K3TEMP)" - Windows 2000 account Domain\UserID; mailbox /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=MyuserID.
                        Error: 1144

                        not sure why it says Windows 2000 when we're running 2003. This may be due to us not running in native mode.

                        Do I need to execute the rebuild cmd on the RUS on the original Exch box?

                        Comment


                        • #13
                          Re: Exch 2k3 priv1 and pub1 DB corruption

                          wow it worked. I believe that the systems needed time to synch itself as i was quick to open my mailbox just after it completed the move

                          Comment


                          • #14
                            Re: Exch 2k3 priv1 and pub1 DB corruption

                            If you move your mailbox and immediately attempt to open Outlook, then it will usually fail, as the change has replicated in the domain. You need to allow a short time for everything to update. That time varies from every domain.

                            Doing anything with RUS isn't going to help at all.

                            Simon.
                            --
                            Simon Butler
                            Exchange MVP

                            Blog: http://blog.sembee.co.uk/
                            More Exchange Content: http://exchange.sembee.info/
                            Exchange Resources List: http://exbpa.com/
                            In the UK? Hire me: http://www.sembee.co.uk/

                            Sembee is a registered trademark, used here with permission.

                            Comment


                            • #15
                              Re: Exch 2k3 priv1 and pub1 DB corruption

                              Question - since i was able to replicate and move all MB's and PF's to a temporary exchange serve,r and rather than move and migrate everything back, would the possibility of copying the priv1.edb and pub1.edb databases back to the exch prod server be an option?

                              Comment

                              Working...
                              X