HT202333: OS X Server: Changing the service data storage location

Learn about OS X Server: Changing the service data storage location
anders.rk

Q: Are you supposed to be able to relocate service data with OS X ML Server?

I use the Server app, go to the hardware to manage it, Edit the Service Data location and pick a new pristine 500GB disk to put it on. It tells me there is 65GB of data to move and then I get an "Are you sure?" prompt with ok/cances buttons - I click OK and nothing happens?

 

Anyone else seen this, and if so, how did you get around it?

 

I have stopped all the services running on the server, thinking it would make the migration a bit easier.

Mac mini, OS X Server, ML Server, Mac Mini

Posted on Jul 28, 2012 5:37 AM

Close

Q: Are you supposed to be able to relocate service data with OS X ML Server?

  • All replies
  • Helpful answers

  • by Fred de Gembloux,

    Fred de Gembloux Fred de Gembloux Jul 28, 2012 12:44 PM in response to anders.rk
    Level 1 (10 points)
    Jul 28, 2012 12:44 PM in response to anders.rk

    same problem, impossible for me to move the server data to a new drive.

    I can select the drive. but when clicking ok to accept the move, nothing happens and the message box stays on top. Clicking on Cancel has no effect too. I have to quit the server.app to make it disappear.

     

    All ideas are welcome !

  • by Fred de Gembloux,

    Fred de Gembloux Fred de Gembloux Jul 29, 2012 1:56 AM in response to Fred de Gembloux
    Level 1 (10 points)
    Jul 29, 2012 1:56 AM in response to Fred de Gembloux

    I get the following error in the log :

    Jul 29 10:51:11 mallefait.info servermgrd[10798]: Saving status in context id = E471F903-A9E1-4867-BD79-C901012291C1 {
                  completedItems = 7;
                  completedPaths =     (
                              {
                          path = "/Library/Server/Calendar and Contacts/Data";
                          size = 94208;
                      },
                              {
                          path = "/Library/Server/Mail/Data/mail";
                          size = 3876478976;
                      },
                              {
                          path = "/Library/Server/Wiki/FileData";
                          size = 75894784;
                      },
                              {
                          path = "/Library/Server/Web/Data";
                          size = 155648;
                      },
                              {
                          path = "/Library/Server/ProfileManager/Data";
                          size = 110989312;
                      },
                              {
                          path = "/Library/Server/PostgreSQL/Data";
                          size = 130584576;
                      },
                              {
                          path = "/Library/Server/Software Update/Data/";
                          size = 766922752;
                      }
                  );
                  errorPaths =     (
                  );
                  isPreflight = 1;
                  isRemove = 0;
                  status = COMPLETED;
                  totalItems = 7;
              }
    Jul 29 10:51:14 mallefait.info Server[8716]: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
    Jul 29 10:51:14 mallefait.info Server[8716]: (
                        0   CoreFoundation                      0x00007fff86cc1716 __exceptionPreprocess + 198
                        1   libobjc.A.dylib                     0x00007fff8a79f470 objc_exception_throw + 43
                        2   CoreFoundation                      0x00007fff86c71f2a -[__NSArrayM insertObject:atIndex:] + 282
                        3   Server                              0x0000000109f729b6 -[SEServer actionToChangeDataStoresToVolumeWithPath:] + 2973
                        4   Server                              0x0000000109d59b17 Server + 142103
                        5   Server                              0x0000000109fb0ada -[NSAlert(SEAdditions) _didEndCompletionBlockAlertSheet:returnCode:contextInfo:] + 30
                        6   AppKit                              0x00007fff8c75fca7 -[NSAlert didEndAlert:returnCode:contextInfo:] + 94
                        7   AppKit                              0x00007fff8c4200c6 -[NSApplication endSheet:returnCode:] + 267
                        8   AppKit                              0x00007fff8c75ffa6 -[NSAlert buttonPressed:] + 265
                        9   AppKit                              0x00007fff8c613219 -[NSApplication sendAction:to:from:] + 342
                        10  AppKit                              0x00007fff8c613077 -[NSControl sendAction:to:] + 85
                        11  AppKit                              0x00007fff8c612fab -[NSCell _sendActionFrom:] + 138
                        12  AppKit                              0x00007fff8c611493 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1855
                        13  AppKit                              0x00007fff8c610ce1 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 504
                        14  AppKit                              0x00007fff8c61045c -[NSControl mouseDown:] + 820
                        15  AppKit                              0x00007fff8c607dce -[NSWindow sendEvent:] + 6853
                        16  AppKit                              0x00007fff8c603f04 -[NSApplication sendEvent:] + 5761
                        17  AppKit                              0x00007fff8c519c7a -[NSApplication run] + 636
                        18  AppKit                              0x00007fff8c4be656 NSApplicationMain + 869
                        19  libdyld.dylib                       0x00007fff8b0a57e1 start + 0
              )
    
    
    
  • by DenisF,

    DenisF DenisF Jul 29, 2012 2:52 PM in response to Fred de Gembloux
    Level 2 (150 points)
    Jul 29, 2012 2:52 PM in response to Fred de Gembloux

    Same problem.

  • by jaydisc,

    jaydisc jaydisc Aug 3, 2012 5:32 AM in response to anders.rk
    Level 4 (1,420 points)
    Servers Enterprise
    Aug 3, 2012 5:32 AM in response to anders.rk

    Did you guys use Migration Assistant? When you did, was the service data already on an external volume?

     

    If so:

     

    Service Data


    In most cases, your service data and settings will be preserved completely when upgrading or migrating. See below for exceptions or special instructions before you upgrade or migrate your server.


    Service data that is stored in the default location in Lion Server or Snow Leopard Server will be moved to the new default service data location inside /Library/Server/. Service data stored in a alternate location will remain in the alternate location.


    Note: If you selected an alternate data storage location in Lion Server, only those services that used the alternate location in Lion will use it in Mountain Lion. Other services will use the default location and you cannot relocate them to the alternate location.

     

    From: http://support.apple.com/kb/HT5381

  • by MacDude72,

    MacDude72 MacDude72 Aug 21, 2012 8:53 AM in response to anders.rk
    Level 1 (0 points)
    Aug 21, 2012 8:53 AM in response to anders.rk

    I have a brand new Mac Mini Server that had Lion Server on it.  I used Apple Up To Date to get Mountain Lion, then Mtn Lion Server on it.  We just added a Promise 4TB Thunderbolt array, and when I try to move the service data, I get this same thing.  I can hit OK a thousand times, and nothing happens - the Are you sure message stays on the screen.  I can click cancel, and it ignores that as well.

     

    Activity monitor shows no spikes in disk activity, so it's not copying (there is only 12GB on the whole drive anyway).

     

    Logged in as local administrator.

  • by twillsie,

    twillsie twillsie Aug 27, 2012 8:49 PM in response to anders.rk
    Level 1 (0 points)
    Aug 27, 2012 8:49 PM in response to anders.rk

    Yes I am getting the same error.

     

    The Mac Mini was originally a Lion Server, all settings (including Service Data) were configured using the defaults provided by apple. And now that it is upgraded to Mountain Lion and now that I have a RAID 10 array I want to move the service data, but I get the same unresponsive confirmation window. I could Click on OK a million times and it won't do anything, and even if I click cancel a million times it remains on display and completely unresponsive.

     

    Devs you need to look into the Service Data Migration confirmation dialog, because it should at least have some sort of time-out or error, but something is not being caught in the app and there is no proper handling of the error.

  • by Duts,

    Duts Duts Sep 14, 2012 12:33 AM in response to twillsie
    Level 1 (4 points)
    Sep 14, 2012 12:33 AM in response to twillsie

    I have the same issue. After click on OK, i can't exit the confirmation window. I had to quit server.app

  • by Andrew Welch,

    Andrew Welch Andrew Welch Sep 17, 2012 6:48 PM in response to MacDude72
    Level 1 (0 points)
    Sep 17, 2012 6:48 PM in response to MacDude72

    I have exactly the same problem.  I updated my home server from Snow Leopard -- with servicedata already relocated to a second drive -- to Mountain Lion server.

     

    Despite this, most of the services are on the boot drive.  Attempting to move them are recommend in the Apple Technote results in the process never finishing, and the sheet staying stuck on the screen.

     

    Seems to me like it's broken.  Badly.