Hi all,
So a while back I wrote an Applescript to handle our office backups, and among other things it uses mount_smbfs to grab some mall folders off of individual machines and copy them to the file server. After everything is on the file server, the script calls hdiutil to make an image file and burn it to DVD. This was all working swimmingly until about a week ago, when it suddenly broke, even though there have been no changes to our infrastructure that I'm aware of. Hdiutil still creates the .dmg file without issue, but when it tries to burn it, it generates the following error:
diutil: Burn started, Sun Oct 7 12:14:45 2007
hdiutil: Burning to DVD-R media with DAO strategy in MATSHITA DVD-R UJ-85J FEW7 via ATAPI.
hdiutil: Requested burn speed was 47x, actual burn speed is 8x.
hdiutil: Burn underrun protection is supported, and enabled.
hdiutil: Burn failed, Sun Oct 7 12:14:45 2007
hdiutil: Burn sense: 5/24/00 Illegal Request, Invalid field in CDB
hdiutil: Burn error: 0x80020022 The device failed to respond properly, unable to recover or retry.
At first, I was worried that there was a physical problem with the drive, but I ascertained I was able to manually burn a folder to the DVD without a problem. I then further ascertained that I was able to burn the entire backup to DVD without incident if I excluded the mail folders from the creation of the .dmg file. So there's something in one of those mail folders that the burn function of hdiutil apparently doesn't like (even though it can create the .dmg file with the mail folders included). My guess is that it's the permissions, but a quick glance reveals that the user that runs the backup script has at least rw access (but not necessarily execute access) to all folders within the mail folders. Does anyone have any ideas as to what might be the problem?
Cheers,
John
So a while back I wrote an Applescript to handle our office backups, and among other things it uses mount_smbfs to grab some mall folders off of individual machines and copy them to the file server. After everything is on the file server, the script calls hdiutil to make an image file and burn it to DVD. This was all working swimmingly until about a week ago, when it suddenly broke, even though there have been no changes to our infrastructure that I'm aware of. Hdiutil still creates the .dmg file without issue, but when it tries to burn it, it generates the following error:
diutil: Burn started, Sun Oct 7 12:14:45 2007
hdiutil: Burning to DVD-R media with DAO strategy in MATSHITA DVD-R UJ-85J FEW7 via ATAPI.
hdiutil: Requested burn speed was 47x, actual burn speed is 8x.
hdiutil: Burn underrun protection is supported, and enabled.
hdiutil: Burn failed, Sun Oct 7 12:14:45 2007
hdiutil: Burn sense: 5/24/00 Illegal Request, Invalid field in CDB
hdiutil: Burn error: 0x80020022 The device failed to respond properly, unable to recover or retry.
At first, I was worried that there was a physical problem with the drive, but I ascertained I was able to manually burn a folder to the DVD without a problem. I then further ascertained that I was able to burn the entire backup to DVD without incident if I excluded the mail folders from the creation of the .dmg file. So there's something in one of those mail folders that the burn function of hdiutil apparently doesn't like (even though it can create the .dmg file with the mail folders included). My guess is that it's the permissions, but a quick glance reveals that the user that runs the backup script has at least rw access (but not necessarily execute access) to all folders within the mail folders. Does anyone have any ideas as to what might be the problem?
Cheers,
John