Skip navigation

DirectoryService[29] Improper shutdown constantly triggers RAID Rebuild

637 Views 2 Replies Latest reply: Dec 2, 2012 11:37 PM by Mr. Latte RSS
Mr. Latte Level 1 Level 1 (0 points)
Currently Being Moderated
Nov 26, 2012 1:11 AM

Hi, my Xserve's RAID Utility is constantly rebuilding RAID1 by itself due to the Controller detected disorderly shutdown.

 

A deeper check of Console, I saw that my Xserve has this in the log:

DirectoryService[29]: Improper shutdown detected.

 

Since I have checked the option to Restart automatically if the computer "freezes", I realized that my Xserve was crashed 1-2 times a day. Then this will trigger RAID rebuild constantly. Then the crash will falsely make the raidutil or related programs to think that RAID rebuild is required.

 

Constant RAID rebuild can shorten the lifespan of Apple ADM and HDD life as I found that ADM and HDD become extremely hot during rebuild process.

 

A hacker could also exploit this weakness of RAID pitfall to increase the service load of the server.

 

How can I overcome this problem? Thanks.

 

 

Xserve: late 2006

OS X: 10.6.8

RAID1

  • Camelot Level 8 Level 8 (45,670 points)

    A hacker could also exploit this weakness of RAID pitfall to increase the service load of the server.

     

    This statement makes no sense. Automatic rebuilding of a RAID mirror can hardly be called a hacker threat. It's not like a hacker is initiating the rebuild. If it bothers you, turn off automatic rebuilds, although I suspect that will lead to other problems.

     

    It's also a bit of a stretch to say that the RAID rebuild isn't required. I think I'd trust the OS to detect a difference in the drives (hence requiring a rebuild) more than anecdotal theory that it isn't needed.

     

    In any case, your real problem is that your server is crashing. The 'improper shutdown' and RAID rebuilds are an artifact of that. You need to investigate why the server is crashing and address that.

     

    What data is in the server logs immediately prior to the restart?

    What does sudo dmesg say?

    Is there any pattern to the restarts (such as time of day, activity levels, etc.)?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.