Backing up hard disk images

December 25th, 2007 by Lars Ottesen Henriksen

HD graphics from www.bartelme.at/showroom/archive/idrivesIt’s Christmas, and besides the usual Christmas stuff, this time of year is back up time for many people since it’s never done during the year. So you got your external drive (a Maxtor 500 gig USB drive in my case) from Santa, plug it into your laptop, format it and then you start to back everything up: Documents, pictures, music, movies etc…

But then you hit a big file, which starts to cause problems: The hard disk images from your virtual machines (e.g. WinXP.hdd using Parallels). You’ve formatted the drive using FAT32 in stead of NTFS so you can access it from most OS’es but when you try to copy it to the external drive you get a (useless) error message on OS X, more specifically

Operation cannot be completed, error code -1309.

The problem is the formatting of the drive. FAT32 does not support files larger than 4 gigabytes. I google’d around and found this in a forum, which explains that it’s time to open the Terminal and using split command. So I did. My .hdd file is around 9 gigabytes in size, so 3 files of 3 gigabytes should do. But no, running the split example mentioned in the forum only gives you another (useless) error message:

split: write: Invalid argument

You thought you had it fixed, but no. But hang in there, the solution is near! As I found in this Mac OS X hint, this error occurs because Apple “is shipping an older copy of split” which restricts the file size of the split files to less than 2048 megabytes. So, to fix all your large file backup problems, use something like

split -b 2047m winxp.hdd /Volumes/MAXTOR500GB/MacBook/Parallels/winxp.hdd.

where the last . automatically appends .aa, .ab etc.

Posted in Hints

Related posts...

Most Commented Posts



4 Responses

  1. Silveira Neto

    Hi, I have a blog too, silveiraneto.net.
    Bye.

  2. Teera

    Hey Lars,

    I’m planning to get an external hard drive to back up both my PC and mac (file + time machine). I’m looking at something at least 250 GB and 7200 RPM. Do you have any recommendation?

    Thanks

    T

  3. larsh

    Hey T.

    To be honest, I haven’t really looked much into it. I just bought a decent brand with a good size on sale. I won’t be using it much – just for backup as you mention. And I don’t back up very often, so I didn’t bother to get a very fast drive.

    I will however warn you about Time Machine if you use virtualization like I mention in this post, since Time Machine does not support block-level backups.

    /L

  4. TomZ_Am

    Yawn!
    I almost fell a sleep there Larsh ;)

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

About Lars Ottesen Henriksen

Lars Ottesen Henriksen is a Civil Engineer in Computer Systems Engineering from the University of Southern Denmark. He currently works in Copenhagen, but still lives in Odense which means he spends 4 hours on the train each day. Sometimes this time is used for writing, which is what you see above. > More

RSS