Overview
Your PHD is a local account on your iMac, which synchronizes data to your CMCD network account. This gives you the benefits of using your account locally (application compatibility, independence from the network) while still placing your files where they are easily accessible to others in your group, or from somewhere else on the network, such as from one of your lab's linux workstations.
Your network account files are stored on our file servers. Typically, these are located in /nfs/userdocs/<PI Initials>/<username>. Your PHD is located on your mac, and is located at /Users/<username>.
Synchronization takes place every hour in the background when you are logged in. The Sync is bi-directional, meaning you can make changes in either your network home directory or your local home folder, and the changes will be reflected on both sources.
You can ensure that checks are happening by clicking the double-house icon in the menubar. The time and date following the 'Last Home Sync' item is the time of your last sync.

Sync's only happen once every hour, so if you make a change that you need on the network immediately, you can initiate a sync, by selecting the 'Sync Home Now' option shown in the picture above.
Sync Failures
Syncs can fail for various reasons, including corrupted files, unresolved sync conflicts, or exceeding your quota. If you notice that you have not had a recent sync, please contact help@sbgrid.org as soon as possible.
Conflicts
Sync conflicts usually arise when you have a particular file that was modified in two different places between the current time and the last sync. You can usually resolve the problem yourself in this case. When the sync encounters a conflict, you will be greeted with a window asking you to select the correct version of the file.

There are a few options to choose from:
-
Use the local version
-
Use the network version
-
Keep the older version of the file
-
Keep the newer version of the file
The options are self-explanatory, but be sure that you understand what they mean before choosing one. If you do most of your work on your mac, you can usually choose the local version of the file. If you log into other computers frequently, it may be a good idea to select the most recently modified version of the file. Again, be sure to choose the option that best fits your recent usage, as selecting one version of the file will overwrite the other version.
If you need help deciphering sync conflicts, you may contact help@sbgrid.org for support.
File Issues
Syncs can often fail if you have a corrupt version of a file, or if the filename has any special characters in it. In most cases, you won't receive a notification if this happens, so it is important to monitor your sync status via the PHD menu bar icon (as described above). If you notice a sync hasn't completed recently, please email help@sbgrid.org
Exceeding Your Quota
PHD syncs will fail silently if you attempt to sync a file that will exceed your storage quota on the file server. If you notice that syncs are failing, you can check your quota with the `quota` command, and be sure that none of the files you are trying to sync will fill your available space.
Sync Exclusions & Utilizing the Local Hard Drive
The following items are NOT included in the PHD syncs:
-
Trash folder
-
Local email folders from Apple Mail, Thunderbird, and Entourage
-
Music folder, and any *.mp3 files.
-
iPhoto Library
-
Downloads folder
-
Virtual Machine files (VMWare, Virtualbox, Parallels)
-
Dropbox folder
If anything important to you is included in that list, it is recommended that you back it up to another media (such as an external hard drive)
If you would like to utilize the local storage on your mac, or you would intentionally like to prevent a file from being synced, and it isn't on that list, you can keep the file in the /Users/Shared folder. However, please note that the /Users/Shared is not backed up or maintained by SBGrid. In many cases, the contents of this folder could be erased if your operating system needs to be reinstalled. You can also utilize an external hard drive to store things outside of your home folder. In any case, it is recommended that you keep another copy of important items that you have placed in the /Users/Shared folder.