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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-22-2010, 04:51 AM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
unmount before script?

Is it possible to tell SD to unmount the sparsebundle before executing the final shell script? If not, is it ok for the shell script to unmount it?
Reply With Quote
  #2  
Old 08-22-2010, 09:46 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Sorry, no - you can't do either...
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 08-22-2010, 03:11 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
If I launch my script in the background and have it sleep for a while before unmounting, will that be ok? It will wait while SD finishes up.
Reply With Quote
  #4  
Old 08-22-2010, 06:14 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
We're going to automatically unmount the bundle when we're done, so you certainly don't need to do it "for" us (assuming you selected the bundle, and not the bundle's mounted volume, in the destination pop-up).
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 08-22-2010, 07:55 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
For some reason, whenever I try to run a backup directly, its not unmounting the image after its done. yes I'm making sure to backup to a bundle, not any mounted volume. When I start it is either not existing or not mounted already either. The backup runs and when its done I see the last action on the list in SD is to unmount, and it checks it off the list as one, but the volume is still mounted.

??

Also, when i try to setup SD to QUIT when done, it doesn't quit. It also shows up on the SD window as the last action item and checks it off...but still SD is left running at the end...

Maybe that only works when its scheduled?
Reply With Quote
  #6  
Old 08-22-2010, 10:44 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I don't know why it wouldn't unmount unless something was preventing it from doing so, and a sleep-then-unmount wouldn't change that. We certainly requested the eject if it was checked.

Quit, on schedule, will happen unless SD! was running when the schedule fired.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 08-22-2010, 11:00 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
I'm more confused now.

Let me try again..

In SD there is a pulldown menu there for "On completion" with a list of things that SD can do when it completes. These include things like Shutdown, quit SD, etc. The one that says "eject" is greyed out, I don't know why.

I tried to start a job(not scheduled) that has quit on completion selected. It did not, however, quit.

I realize that SD is supposed to always unmount, but its not unmounting and I'm not doing anything else with it. I can easily eject the mounted volume with the mouse and nothing stops me from doing it, so why isn't SD doing it.

You said that when its scheduled, SD will quit at the end IF it wasn't running before. I assume that is the default behavior, but I want to know what happens if I have selected the "quit on completion" behavior. shouldn't it always quit on completion in that case regardless of whether its a scheduled copy or not?

At any rate, I still have no idea how to make CD eject or unmount this volume when its done, unless that feature only works when the back is scheduled and does not unmount (or quit either) when running the copy directly?
Reply With Quote
  #8  
Old 08-22-2010, 11:12 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
I don't know what was happening before, but now its quiting on completion. I think the settings had to be saved into a file maybe for it to remember to do it, I dunno.

Nonethless, the drive is still not unmounting for some reason, even after SD quits.

Any ideas how I can figure out why?
Reply With Quote
  #9  
Old 08-23-2010, 07:53 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
You could look at the system log and see if there are any explicit reasons why. Or send the log in with the send to shirt pocket button (use 'error during copy' as the issue type) so I can take a look.
__________________
--Dave Nanian
Reply With Quote
  #10  
Old 08-23-2010, 03:42 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
This is all I get:

Code:
| 08:01:20 PM | Info | ......COMMAND => Unmounting '/Volumes/BigExt/Backup/SuperDuperNightly/mbp-dewd-10-6-latest.sparsebundle'
| 08:01:24 PM | Info |       hdiutil: couldn't unmount "disk5" - Resource busy
I have no idea why it would be busy. I'm certainly not doing anything to it directly.
Reply With Quote
  #11  
Old 08-23-2010, 03:50 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Try adding its mounted volume to the spotlight preference pane's privacy tab.
__________________
--Dave Nanian
Reply With Quote
  #12  
Old 08-23-2010, 03:53 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
Good idea.

Do you know if there is a way to generally make Spotlight ignore usb/firewire drives, network drives and mounted sparsebundles?
Reply With Quote
  #13  
Old 08-23-2010, 03:55 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I don't know of any documented way, no.
__________________
--Dave Nanian
Reply With Quote
Reply


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
Booting from backup guruuno General 27 10-16-2009 11:53 PM
Unmount USB drive via Shell Script after Backup? supesguy General 0 11-06-2007 03:07 PM
scripts rdlsmith General 4 08-13-2006 10:03 AM
Scheduled Custom Script Uses Wrong Script? Dasman General 1 12-08-2005 01:55 PM
Error: No space left on device tradervic General 11 06-29-2005 04:50 PM


All times are GMT -4. The time now is 02:15 AM.


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