#9
|
|||
|
|||
Thanks Chris. I added ".sh" to the file and changed the attribute to executable.
Although I do not get errors anymore, the network drive does not get unmounted. Basically, my intent is to NOT have the network drive mounted after the copy is completed. Maybe I should explain my situation:
What, happens is, SD works perfectly, mounting the Drobo volume, mounts the backup disk image, completes the copy, unmounts the disk image, and then SD quits. However, the Drobo volume is still mounted. The log show no errors and the script was executed. Code:
| 03:41:33 PM | Info | ...ACTION: Running shell script eject Drobo2.sh | 03:41:33 PM | Info | ......COMMAND => Invoking After Copy shell script: /Users/garysumlak/Documents/!Shell Scripts/eject Drobo2.sh | 03:41:33 PM | Info | ...ACTION: Unmounting G52KDP User Folders | 03:41:33 PM | Info | ......COMMAND => Unmounting '/Volumes/Drobo2/Network Backups/SuperDuper/G52KDP User Folders.sparseimage' | 03:41:37 PM | Info | "disk1" unmounted. | 03:41:37 PM | Info | "disk1" ejected. | 03:41:37 PM | Info | Copy complete. I am wondering, does SD have to wait for the script to complete before it goes on to the next step - i.e. unmounting the disk image? I know this was the case with using the apple script. The main reason I want to unmount the Drobo volume is that if I turn of the Quad, any Mac connect to the Drobo will lock up because the Drobo is no longer available. Here is the script I am using: Code:
#!/bin/sh nohup /bin/bash -c "sleep 30; diskutil unmount Drobo2" & Thanks Gary Last edited by Gary@tmi; 07-22-2009 at 08:57 PM. |
Tags |
eject, network, volume |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Backup to cheap network drive impossible? | Schalke04 | General | 4 | 01-18-2009 05:59 AM |
Disk Image Failed to Mount | shmootz | General | 3 | 11-25-2008 11:58 AM |
Auto Mount Network Volume/Image | NormArmour | General | 8 | 05-09-2008 12:13 PM |
Unable to mount sparse image on network attached drive | mj71 | General | 2 | 09-22-2007 08:42 AM |
Network drive won't auto mount | Shamyl Zakariya | General | 7 | 06-05-2006 04:07 PM |