• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

DFS solution for Imac

Young Grasshopper

Golden Member
I have a 1TB NAS on my network with documents, music, movies, etc...it currently has about 50GB left. I just bought a new iMac(which is great) that has a 1TB drive. I copied over about 100GB of music over to the IMac to speed up iTunes, not to mention I sometimes turn off the NAS drive at night. I'd like to be able to set up real time mirroring between my Music folder on my IMac and NAS. So for example if I download something to the NAS using my Dell laptop, it will get mirrored over to the IMac. Also I copy over something to the Music folder on my Mac, it will get mirrored to the Music folder on my NAS. Is this possible?

thanks
 
its a D-Link DNS-321. i tried setting up time machine with it but apparently Lion updated the AFP which is not compatible with my NAS unless Dlink releases updated firmware(unlikely)
 
I use silver keeper "compare set" function. This allows you to alter the folder on the nas and then compare it to the local and copy the files that are missing. I'm afraid this isn't really automated and silver keeper support has died but I guess it still works in lion.
 
You can schedule a two-way synchronization of the directories using rsync via cron.

Shell script on iMac contains:
Code:
#!/bin/bash
ping -c 1 $ipofnas
if [ $? -eq 0 ] ; then
  # The NAS is reachable, run rsync
  cd $localmusicdirectory 
  rsync -e ssh -vaurP ./ $remote:$remotemusicdirectory 
  rsync -e ssh -vaurP $remote:$remotemusicdirectory/ .
else
  # The NAS is not reachable, do not try to rsync and exit
  exit 0
fi
You will need to enable ssh on the NAS. Follow this link to do that.
http://www.coertvonk.com/technology/embedded/backup-appliance-using-dns-313-479

Not sure how technical you are -- let me know if you need further assistance.
 
Last edited:
Back
Top