Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 07-22-2009, 08:40 PM
Gary@tmi Gary@tmi is offline
Registered User
 
Join Date: Sep 2007
Posts: 5
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:
  1. I have a Drobo attached to FW800 on a PowerMac G5 Quad.
  2. I create a NetWork Backup folder on the Drobo as the destination for disc image backups from SD.

    NOTE: I do NOT share the Drobo volume
  3. I go to each Mac in our home office, mount the Drobo via "Connect As..." into the Admin account of the Drobo's host Mac.
  4. Create an alias of the Drobo volume on the Desktop, so the Admin ID and Password will be automatically entered when the alias is used to access the Drobo. I found SD would not mount the Drobo automatically if I did not create the Alias.
  5. With the Network drive mounted, create the SD copy event and schedule for the backup.
  6. (What I would like to happen) After SD has completed the copy and unmounted the Disc Image, SD unmounts the Drobo volume.

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" &
Any suggestions would be greatly appreciated.

Thanks
Gary

Last edited by Gary@tmi; 07-22-2009 at 08:57 PM.
Reply With Quote
 

Tags
eject, network, volume


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 11:18 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.