Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > 10.3.9 broke my hdiutil-based backup script!

10.3.9 broke my hdiutil-based backup script!
Thread Tools
Junior Member
Join Date: Jun 2001
Location: Glasgow, Scotland.
Status: Offline
Reply With Quote
Apr 18, 2005, 04:32 PM
 
Hi,

Wondering if anyone else has the same problem, or could try this out...

Every week I have a wee script that runs the command-line equivalent of a "New image from device" in Disk Utility. It boils down to this:
Code:
sudo hdiutil convert /dev/rdisk0s9 -format UDSP -o Backup
This is supposed to create a sparse image copy of my main OS partition, and up until this weekend it worked. Then I upgraded to 10.3.9.

Now I get an error:
Code:
hdiutil: convert failed - image/device is too large
Any ideas?

If you're going to try it, you'll maybe need to use something different than "/dev/rdisk0s9" to find your boot partition - basically it's the first entry in the "df" command, with an "r" stuck in before the "disk". Oh, and you'll need to have "cd"-ed to another disk - you can't copy a disk into itself. If it works it'll create a very large file called "Backup.sparseimage"

I've got to say, I'm a bit stumped as to what has caused this...

Cheers!
     
Senior User
Join Date: Sep 2002
Location: Canastota, New York
Status: Offline
Reply With Quote
Apr 18, 2005, 07:19 PM
 
I get the same error, and this is trying to make a sparse image of an 80GB drive onto a 120GB empty external drive, so clearly there is enough space.

Weird. I'm curious as to what's going on. Sorry I couldn't be of more help in troubleshooting.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:23 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2