Moving User & Groups folders from Boot Volume to Addition Drive

My boot volume has become full and I'm not able to download any updates or apps or anything like that. I would like to move the Users and Groups folders from the boot volume to the second hard drive in my Mac Mini. I need to do this without any disruption or data loss.


I've thought a way around this is to copy those two folders to the second drive and make it available as a Share Point in the server app but then I get stuck as to how to get all the user accounts to point the \seconddrive\users rather than \root\users?


Any help with this would be greatly appreaciated!

Mac mini Server (Mid 2011), OS X Server

Posted on Sep 2, 2013 3:21 AM

Reply
14 replies

Sep 3, 2013 12:22 AM in response to Lexiepex

Agreed but this is a primary school and so the children are very young also the staff aren't particularly computer savvy. My immediate problem is one of storage space, secondary at the moment is the education of good file management.


I'm now considering a Striped RAID Set spanning both of the 500GB drives. I'm sure that this would mean copying the entire hard drive from the Mac, formatting both and then restoring the data.


Could mean a lot of down time but should get me to where I need to be.

Sep 3, 2013 8:26 AM in response to Newham Bridge Administrator

Are the group and user folders used by network login accounts? If so the following is the approach I have used.


  • Add the second drive, format if necessary
  • Use Terminal.app to do the copying and the ditto command as follows


sudo ditto sourcedirectory destinationdirectory


  • Ditto will preserve modification dates, ownership information, etc. unlike the Finder, and by using sudo you will be able to copy files owned by different users
  • Using Server.app unshare the current folders on the boot drive
  • Using Server.app share the (new) folders on the second drive ideally using the same names as the original ones
  • Then tell Server.app to make the (new) user folder location available for network home directories
  • I would then use Workgroup Manager (if you don't already have this installed it is a free download) and make sure each user account that you want to use for network logins and network home directories is pointed to the new location
  • Since the files ownership is preserved and by following the above steps you have made sure the accounts know where to go for their network home directories it should all work

Sep 4, 2013 1:50 AM in response to Newham Bridge Administrator

Newham Bridge Administrator wrote:


Thanks for this. When I get a quiet moment I'll give this a try. Just to confirm though, are you suggesting this for both the Users and Groups folders or just the groups folders?

Yes the process for Groups is the same except for the last bit in that it is just a normal share and does not have to be specially made available for home directories.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Moving User & Groups folders from Boot Volume to Addition Drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.