Moving Users Directory to Raid 1

Hi all,
I'm going to install a Raid 1 system with two WD1500KS.
I'd like to put the full existing Users directory onto this Raid 1.
One question about Raid 1 system, is there a Master and a Slave ? What appear on the screen , a disk called Raid 1 and the system manage the distribution or we can see the two drives composing Raid 1 ?
There was discussions about how to move Users directory to another Volume :
http://discussions.apple.com/message.jspa?messageID=3225806#3225806
http://discussions.apple.com/message.jspa?messageID=3231609&tstart=0
After reading again and again these posts, where Ned, Steve and The Hatter have proposed solutions for this move, I'm lost and thinking as Ned's solution has not yet been deployed, and Steve's one seems easy but could be problematic with some applications according to Ned, I'm still uncertain about what should I do ?
Could you please tell me if Steve's solution :
"For this example, assume that you have a drive called disk2, accessible at /Volumes/disk2. This is more steps than required, but it is a safe way to accomplish the task.
1) Back up your users directory.
2) Create a new users directory on the target disk:
sudo mkdir /Volumes/disk2/Users
3) Set permissions appropriately on new directory:
sudo chown root:admin /Volumes/disk2/Users
4) Copy data from existing Users directory to new Users directory:
sudo cp -Rp /Users/ /Volumes/disk2/Users/
* note: make sure you use the switches shown (-Rp); this does a recursive copy, and duplicates the permissions of the copied files.
* note: make sure you add the trailing backslash!
5) Rename the existing Users directory to be extra paranoid:
sudo mv /Users /UsersBackup
6) Create a symbolic link pointing to the new Users directory:
sudo ln -siv /Volumes/disk2/Users/ /Users
It wouldn't hurt to restart at this point.
Once you are satisfied that everything is present on the new drive, you can delete the extra paranoid backup we made in step 5:
sudo rm -rf /UsersBackup
Enjoy "
is problematic for Users directory or only as The Hatter mentionned for Applications directory :
"Trying to use a symbolic link to relocate /Applications, and especially Apple programs is where there was usually trouble."
Thanks,
Peloche,
MacPro 2.66, 6GB, 1TB; Mini G4, 1.45, 1GB; iPod 60 GB; 30" & 20" ACD; Apple IIC   Mac OS X (10.4.8)   X1900XT

Done,
Used Ned's and Steve's methods:
1 - Create "Users" directory onto Raid 1 system
2 - Copy all from Volume/Raptor/Users directory to Volume/Raid1/Users/
3 - Activate Root User with Netinfo Manager
4 - Modify all users "Home address" into Net info Manager and save
5 - Reboot, log into my account and "You are unable to log in to the user account" message, even with administrator account.
6 - Reboot onto old OSX partition, wonder what could be the reason ? IMHO it could be only my mistake (Peloche's method), may be typing error within the "Home address", change Raid name from "Raid1" to "Raid 1"
7 - Reboot onto Raptor, log to my account and OK it works
8 - Use "sudo mv /Users /UsersBackup"
9 - Reboot OK
10 - Copy all my "Documents" from "UsersBackup" to another partition
11 - Reboot OK
12 - Use "sudo rm -rf /UsersBackup"
13 - Reboot OK
14 - Thanks to Ned and Steve
Peloche,
MacPro 2.66, 6GB, 1.7TB; Mini G4, 1.45, 1GB;iPod 60 GB; 30" & 20" ACD; Apple IIC   Mac OS X (10.4.8)   X1900XT

Similar Messages

  • Moving User's Home Directory from one Xserve to another

    Does anyone know the procedure for moving users (Home Directory) from one server to another?
    Is there an application that can do this?
    Xserve G5   Mac OS X (10.4.4)  

    I see your problem and I think I will soon have the same one.
    I suppose one option would be to delete out the .plist. Then when the user logs in the server should recreate it. If the user had customized it they would of course lose any information.
    You could also setup a loginhook that would just run the needed defaults write... and update them as needed. Actually I think that would be the easiest option. The only down side would be making sure every use logs in once before you remove the script.
    Hmm I guess another option would be a script that loops through all the users accounts and runs the command as the user. sudo -u usershortname defaults... But I am not sure if this would have to be done on the server it self or if it could be done through a client.
    Sorry for the rambling but I am trying to come up with an answer..

  • Moving the Users directory

    Here are two tutorials explaining how to move your Users folder to a different drive in Windows 8 (very straightforward) and Windows 7 (a bit more difficult). You need two drives or one partitioned drive.
    Windows 8 (I did it yesterday, it took 15 minutes, I don't see any difference in terms of performance, and I have now a system drive and a data drive) :
    http://www.itnota.com/move-users-directory-to-a-different-drive-in-windows-8/
    Windows 7 (not tested) :
    http://lifehacker.com/5467758/move-the-users-directory-in-windows-7/
    Make sure you have a backup of your current installation before proceeding !
    X220t | i7 | 320GB HDD | 8GB RAM | WIN7 PRO
    IdeaCenter A520 | i5 | 1 TB HDD | 6GB RAM | WIN8.1
    Solved!
    Go to Solution.

    IMPORTANT UPDATE
    Moving the Users directory might stop you from upgrading Windows 8 to 8.1 (the process will fail). If this happens to you, here is what to do.
    Please refer to this page (same as above) and repeat steps 2 to 6 to access the command prompt. Then type
    C:\Windows\System32>C:
    C:\>rmdir Users  (this will delete the junction, that is, the link to the Users directory location)
    Now, you need to find out which is your Data drive (that you moved your Users directory to).The best way is to type
    C:\>dir D:
    C:\>dir E:
    and so on, until you see your Users directory. Let's say this drive has the letter X.
    C:\>robocopy /copyall /mir /xj X:\Users C:\Users
    Then reboot, and voilà, the Users directory is back on C: and you are now able to upgrade Windows 8 to WIndows 8.1.
    X220t | i7 | 320GB HDD | 8GB RAM | WIN7 PRO
    IdeaCenter A520 | i5 | 1 TB HDD | 6GB RAM | WIN8.1

  • Active Directory Migration Tool Moving Users before groups?

    How are permissions to resources granted? By user or by group?
    It's been so long I can't actually remember, but I think we moved users and groups together.
    The SIDs will change if things are moving to a new domain.  But the migration tool handles that for you.

    What are the draw backs of migration users before groups in a interdomain migration? if any
    This topic first appeared in the Spiceworks Community

  • Can only submit task to Custom destination. Caused by moved Users folder?

    I recently installed my Final Cut Studio 2 on a new Mac Pro. We've installed the system with multiple users.
    Everything works fine except Compressor. We were not able to submit any rendering tasks. After checking the batch monitor I noticed some errors being thrown. It looked like a permissions problem.
    After creating a Custom Destination that points explicitly to some folder in the user's home folder, and using that as the default target destination, compressor submits without problems.
    Is it possible that the problem is caused by moving the Users home folder to another disk? The system disk is 128Gb SSD. I didn't want my data files to be on that system disk, so I moved them to a RAID.
    Any idea on how I can solve this?

    If the RAID is connected directly to your workstation, you should be able to Ignore Ownership on that volume. (Look in the info window in the Finder)
    It is recommended to use an external drive/RAID for scratch disks and exporting destinations.

  • Help! i broke my user directory

    mac mini mid 2011 running latest mavericks.
    i have an ssd boot disk inside. my user directory is on a 1tb external usb disk. today, i moved my office around and disconnected everything. when i connected everything again—probably to different usb ports—my user files wouldn't load. i can see the external disk, and all the data is still there, but it's not mounting as the user file. i've tried directing a new user to that directory, no luck.
    i've tried redirecting the old user to that directory, no luck.
    i've tried booting into recovery mode and fixing user permissions through the reset password tool—nothing happens. 'done' stays grayed out forever. when i click on something else, the reset p/w tool goes away.
    i've tried the terminal entries at this discussion: Reset Home Folder permissions and ACLs Error—i got the number 4 after the first entry. the 2d entry didn't take any time at all and just gave me a $ prompt after hitting enter.
    any help or thoughts? i'm afraid i'm going to have to rebuild a user directory on a new drive. i'd really like to avoid that.
    thanks, in advance, for any advice or suggestions.

    Thank you for responding.
    What do you mean by…
    i've tried directing a new user to that directory, no luck.
    By this I mean I created a new user, gave it admin privileges, and directed it's home directory (in advanced options) to the external drive. When I tried to boot into that user, it didn't work.
    The first step in the linked instructions you posted was intended to be done inside the account in question - how did you do that if the account is not working?
    My guess is that you applied that to the admin account?
    I don't think the user permissions repair (step 2) works when the user home folder is on another disk.
    Sometimes it boots up under the user name, but it's not using the user files it should be using—apparent by various user settings not being set the way they should be in the user files. The last time I did this, I ran the first step. But I understand how it might not work if I'm not really in the user directory.
    Please explain how are you setting the user account to be on the external disk. Are you using the advanced user setting, symlinks or something else?
    I am using the advanced user setting—right click on the user from the user window in settings.
    Is the external disk mounting as read & write?
    Yes.
    Use  'File > Get info…' on the disk in Finder & check that the 'ignore ownership' option is off.
    I just tried to log in, and it didn't let me. So I logged in as under my other administrator account. With that, I have R/W privileges. But the 'ignore ownership' option was checked. When I unchecked it, it changed my privileges to Read only. Although 'system' and 'wheel' have R/W privileges.
    One other note. The name of the drive is—uncreatively—1tb. But in the info window, I've noticed that the name has been 1tb 1, then 1tb 2, and now, it's 1tb 3. that's got to contribute to not being able to login—if the drive name is changing?
    I unchecked the 'ignore ownership' box and tried rebooting. The user wouldn't mount and it wouldn't let me login. I changed the address from 1tb 2 to 1tb 3 in the advanced user options and tried to login, still no love.

  • User directory-move does not run.

    I moved the user directory to a second hd. Inside the user settings (right-click on the username) i maintained the new path.
    OS X confirmed it and shows the standard home icon to the new directory, but every new file or directory will be saved to the old location to /users/username.
    From my point of view, here we have a bug.

    I didn't change my shortcut.
    But after your answer, i switched off and switched on again the shortcuts and now it runs. From my point of view it is a little bit crazy, because the previous OS X versions didn't need such kind of steps.
    Thank you for your support ;-)

  • Add moved /users to new install

    Hello,
    I moved my /users directory using the 'Advanced Options' under Accounts in System Prefs to another drive.  My boot drive is simply for apps and only maintains an 'admin' user account for recoverability purposes.  My issue is that I recently installed a fresh image of Snow Leopard on the boot drive and am having a tough time adding that account that exists on another drive (that was created via a prior System) back to my newly installed system.
    Did I have to 'import' that user partition on installation setup (as asked by the install process)?  or is there a way that I can re-use that /users account that is on a different drive with my new fresh install?
    Any help is appreciated,
    -J

    You may need to check the Unified Messaging profile setup in Unity to ensure it still has access into the new store.  In 2003, it uses WebDav, so if the account you are using is not setup to use WebDav on the new store, Unity can not deliver nor retrive information from this new store.  Also note, there is some sort of odd requirement with Microsoft and WebDav.. the account that uses WebDav must have a mailbox setup and at least one message sent and received to it.   (Or just logged into at least once for it to be active).  I have no idea why, but its documented at MS and seemed to fix a problem for me during a prior install with CUC and 2003 Exchange

  • Move Users Directory

    I'm currently running out of hard disk space and would like to keep the existing internal hard drive intact for software. I've purchased an external drive that I plan to have on when the computer powers on. I called Apple support and they didn't have any solutions to move my Users directory to another volume. They told me it wasn't possible. Their solution to my problem was to just add an external drive and just randomly move data to it whenever my main hard disk gets full. This is messy and a very windows-like solution and will make migrating to a new mac painful. Not very happy I paid for Applecare and found better support from Google, but I digress. I came here for real support.
    I've found a number of guides, but none were up to date on this topic and were for 10.5 or earlier. I'm currently running 10.6. I know the main steps but wanted to verify the proper flags for ditto.
    1. Setup and format new disk, mount it to /Volumes/newdisk
    2. copy data (this is where I get a little confused due to different guides.
    ditto -V /Users/username /Volumes/newdisk/Users/username
    3. In the system preferences, visit accounts, control + click the username and edit the home directory field with /Volumes/newdisk/Users/username
    4. logout / login
    Does this sound like a sane solution?
    According to the ditto manpage the --rsrcFork has been depreciated to --rsrc and is the default behavior, grabbing all meta-data. The -V flag just verboses everything.
    Thanks for your help!

    What you plan should work, though as Kappy says CCC would be an easier way to do the copy. However, the reason that Apple support recommended against this is that it makes things needlessly complicated. If you have problems down the line and need assistance, it's almost a guarantee that the first thing you'll hear when you describe your setup is "Oh, try moving your user folder back to the boot drive and see if the problem goes away."
    Instead, make a plan as to what data you want to store on the external drive and just move that data there. For example, video, audio and photo files are typically large and can be moved to the external drive without moving the entire user folder. This keeps things simple and allows you to potentially move that hard drive to another computer without compromising the integrity of your iMac, among other potential advantages.

  • Is it sufficient to just backup users directory in time machine?

    I am backing up my macbook to my Buffalo Linkstation Live. Is it ok if I just backup the users directory to save all the images,movies,files etc? It is a bout 40 gig.
    I use garageband, iweb and all the ilife programs and assume all these items including my itunes music/backups is in this directory?
    I am not concerned about the system files as I can restore them if need be.
    Thanks

    doobias123 wrote:
    I am backing up my macbook to my Buffalo Linkstation Live. Is it ok if I just backup the users directory to save all the images,movies,files etc? It is a bout 40 gig.
    I use garageband, iweb and all the ilife programs and assume all these items including my itunes music/backups is in this directory?
    The data for those apps is probably there (unless you've moved it), but the apps aren't.
    I am not concerned about the system files as I can restore them if need be.
    Please reconsider. Strongly consider letting Time Machine back up your entire system. You're only saving a few GBs (10 - 20) by omitting your System and Applications folders, and only on the first backup, because very little changes there, but here's what you'll have to do when (not if) your internal HD fails, or something else awful happens to your Mac:
    Install OSX from your Leopard or Snow Leopard Install disc.
    Go through the set-up procedure: setup your Internet connection(s), server names, etc.
    Download and install the "combo" update, to get back to your current version of OSX.
    If you upgraded iLife since purchasing your Mac, find and restore your iLife apps.
    Find all the discs for 3rd-party apps and install them. Re-enter any purchase keys.
    Find the websites for all downloaded 3rd-party apps, download and install them. Re-enter any purchase keys.
    Restore whatever data you saved.
    Wonder what you missed, and find out the hard way . . . for months or longer.
    In most cases, this is a no-brainer.

  • Moving users between partitions

    I have "User A" on "Partition 1" and "User B" on "Partition 2". Each partition is a startup partition, so the Applications and other root-level folders have some minor differences.
    I want to move both Users to "Partition 3" and rename "User B" to "User C". (If possible, I'd like to merge the Applications folders.)
    How should that be done?
    Thanks,
    humanengr

    IMO it's a bad idea to share users between different installs if you use both of them. this can create conflicts and confuse the system. what's your reason for doing this? and you definitely should not merge Applications.
    that said, if you use just one system, moving user's home directories to a different partition is fairly straightforward. log in as the user in question, copy its home folder to a different partition. then go to system preferences->accounts. unlock the lock, control-click on your user and choose 'advanced options". in the popup enter the new location for the home directory. then log out/in. you should be now using the new home directory and you can delete the old one.
    see this link about renaming your user.
    http://www.macworld.com/article/132693/2008/03/changeshortusername.html

  • How do I relocate the user directory?

    I have a new iMac with SSD and HHD.  I want to just leave the OS and apps on SSD and relocate user directories to the HHD, but Migration Assistant doesn't recognize trhe HDD.  How do I do this properly?

    Do not perform the following steps while the account you are working with is active. Create a new administrator account with a different account name to perform all these steps.
    1- Boot using the HD (i.e. the platter drive, what you're alternately calling the HHD and HDD). Create a user account with the exact same name and password as the one you're using on the SSD. Then reboot into the SSD.
    2- Go to System Preferences->Accounts. Look for the account you want to work with. Right-click on the account name in the left sidebar and choose ADVANCED OPTIONS.
    3- Look for the line that is labeled HOME DIRECTORY. Click on the CHOOSE button to the right of the entry field of this line. Navigate to the UserAccountName folder you created on the HD and select it. Then click the OK button at the lower-right of the ADVANCED OPTIONS window and close the System Preferences application.
    4- Now copy the UserAccountName folder from the SSD to the HD, overwriting the one currently on the HD.
    5- Restart the computer, booting into the SSD. You can now log into the copied/moved user account.
    6- Perform some tests to be sure this "took" properly. You might want to perform a Permissions Repair using the Disk Utility application.
    edit: You can see an earlier discussion about this here:
    https://discussions.apple.com/message/9932616#9932616
    Message was edited by: John Hammer1

  • New SL install on SSD; moving user files over

    I installed a new SSD and now have a fresh SL install up and running. I'd like to use the SSD for applications, and the older "regular" hard drive (still in the box) for user files. What would be the easiest way to get rid of all the application and SL stuff on the older hard drive, leaving it strictly for my user files (music, video, docs, etc.)? Should I just wipe the drive clean and pull the stuff in from Time Machine? Or is there some other approach to use? Thanks.

    Michael Winner wrote:
    The info on the "test" symbolic link directory I've created on the SSD indicates that it's an alias. Is that OS X shorthand for the symbolic link, or could I have actually created an alias rather than an SL?
    If you are referring to the "get info" finder dialogue then yes - it calls links aliases, and also calls aliases aliases confusing if your trying to determine specifically which it is. I don't actually know how to create aliases from the cli - but ln is a generic nix tool so i doubt it would have been aded to that.
    Ideally the only non-symbolic link folder remaining on the SSD will be the library folder, correct?
    Within a user directory (like you said) yes - in my opinion, as the user library is more like an extended part of the system and apps than bulk user data. Some system and app performance will depend on the speed that files within the user library can be accessed.
    I'm not going to do any web publishing, so I can drop the Sites folder entirely, correct?
    I don't think there should be any harm in that - although the OS does default to that directory when enabling web sharing - not sure what the side effects of it not existing might be.
    Earlier in the thread it was recommended that I create one user account entirely on the SSD, so that I'll be able to log in if the HDD gives me trouble. Thoughts on this? I've cloned the current, pre-symbolic link install on the SSD, so that should work as a fallback, no?
    If the contents of a user directory are unreadable and even unwritable then the OS will still allow the user to log in - except it will get the default preferences. but in your case because you are keeping the Library on the SSD it wont matter if the HDD is there or not until you go and use the other directories... as all your preferences and caches etc are in your library.
    Since you've been so generous...guess I'll ask if you have any other advice for getting this setup "right" and taking maximum advantage of the SSD.
    There isn't much else to do that will make a vast amount of difference... The important thing is to remember is not to let it get filled up to much... try to keep it's default state as empty as possible. There are two reasons for this..
    Firstly wear levelling; it is only effective on the free space - if you fill up almost all of your SSD with static data and then use the last remaining space for temporary data storage then it will wear out that remaining capacity comparatively quickly (the wear levelling mechanism can juggle the nand page allocation for pages being re-written - but for the most part the pages holding the static data aren't going to get any use.)
    (take this with a pinch of salt - you can safely fill 3/4 of your drive and then use the remaining for temporary data, but it's healthy to keep in mind - only extreme cases are likely to wear out the drive very quickly)
    Secondly performance: This is to do with garbage collection and 'TRIM' - i wont get into the details here but as you may already know SSD performance degrades with use as data is mixed into pages - this is a reversible performance degradation but it is exacerbated by lack of free space.
    There are various articles and forum threads on the web to do with Mac OS tweaks for SSDs, but pretty much all of these are centred around increasing the life span of the SSD - or more specifically decreasing write amplification due to the number of writes opposed to quantity of data written.
    One quick tweak that makes absolute sense to do is enabling noatime … as with most unix file-systems HFS+ will write the access time of a file to the file-system every time a file is read - this means one write for every read (check your activity monitor to see this, you will always see a write operation when there is a read operation). access time isn't exactly of great use and there are no effects from disabling it… to do so you can use this launch daemon:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
    "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.noatime</string>
    <key>ProgramArguments</key>
    <array>
    <string>mount</string>
    <string>-vuwo</string>
    <string>noatime</string>
    <string>/</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>
    What this does is add the noatime option as a default when the mount command is called for root
    You need to save this as a unicode file in your /Library/LaunchDaemons directory and change the owner ship and group to root:wheel… but i've written simple mini script to do it all for you, copy and paste this into your terminal then enter your password and it will write it to the correct place for you:
    echo '<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
    "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.noatime</string>
    <key>ProgramArguments</key>
    <array>
    <string>mount</string>
    <string>-vuwo</string>
    <string>noatime</string>
    <string>/</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>' | sudo tee /Library/LaunchDaemons/com.noatime.plist
    sudo chown root:wheel /Library/LaunchDaemons/com.noatime.plist
    if you ever wanted to disable it for some reason simply delete the file "/Library/LaunchDaemons/com.noatime.plist"
    Other tweaks are mostly to do with creating ramdisks and moving certain system directories containing logs and temp files to them… however this is beyond the scope of a quick copy and paste script, you must understand specifically what you are doing so you can adjust the sizes of the ramdisks appropriately and make important files restorable (because ramdisks are volatile)
    Personally i don't think doing this is worth the effort, also if you don't have masses of RAM… or usually make use of all of it anyway then theres a good chance your ramdisk will be paged out to a swap file which kind of makes it pointless.
    Anyway - hope that helps, enjoy your SSD !

  • Personal Web Sharing trouble with moved / Users ?

    Can Personal Web Sharing work when /Users has been moved to another partition? Situation: Apache is running on my Mac OS 10.4.10 system. It will serve my files to a distant computer if I put symlinks to them in /Library/WebServer/Documents (and Personal Web Sharing is on). However, it won't serve the same files from http://my.machine.com/~username -- Console reveals code 301 on attempts these attempts. (Interestingly, nothing appears in Console access_log if Personal Web Sharing is off during an attempt at http://my.machine.com/~username.) All of these makes me guess that Apache is basically OK, that System Preferences Personal Web Sharing knows where to find my personal Sites, but there is some problem when Apache goes for my user directory. Any suggestions?

    Hi--
    You need to figure out the full path to your directory on the other partition and add that the file for that user that's in /etc/httpd/users. So, open the Terminal application from your Utilities folder, type "cd", then a space, and drag the "Sites" folder from your home folder to the Terminal window. That'll give you the full path to that file.
    Edit your user's config file (you'll need to use sudo) with a text editor like nano:
    <pre class="command">sudo nano /etc/httpd/users/username.conf</pre>
    Look for this line:
    <pre class="command"><Directory "/Users/username/Sites/"></pre>
    Change it to reflect the path you saw in the Terminal window. If the partition name has a space in it, be careful, Terminal will escape it:
    <pre class="command">/Volumes/Volume\ Name/username/Sites</pre>
    But since it's enclosed in quotes in the Apache config file, you'll want to dump the escape:
    <pre class="command"><Directory "/Volumes/Volume Name/username/Sites/"></pre>
    Don't forget to restart the web server.
    charlie

  • How do I delete a Pages file from the Users directory?

    Browsing my new MacBook I've spotted that a version of one of my earliest Pages docs is stored directly in the Users directory. There is no option in Finder to delete it. I can drag a copy elsewhere, but I want to get rid of it completely. How do I achieve this?
    Thanks.

    Hi Andrew,
    You need to go to your Users Library...
    users/yourname/library/application support/iwork/pages/templates/my templates
    If using Lion... in Finder, hold down the Option key while clicking on the Go menu and your users Library will appear...

Maybe you are looking for