| Article: |
Automated Backups with Existing Tools | |
| Subject: | Errors | |
| Date: | 2004-02-10 22:21:19 | |
| From: | jb- | |
I'm getting an error that it can't attach in the hdiutil attach step. The disk is still churning away and creating the 82GB file for the backups. Outside of a for/next loop to make it wait any suggestions? |
||
Showing messages 1 through 4 of 4.
-
Errors
2004-02-11 01:42:03 peterhickman [Reply | View]
-
Errors
2004-02-11 07:26:50 jb- [Reply | View]
It is creating the .dmg properly. HOwever I'm getting these errors
hdiutil: attach failed - No such file or directory
Validating target..."/Volumes/backup_2004-02-10" is not a volume
couldn't validate target - No such file or directory.
When I do an ls the file is there but is sill growing in size and I can see the disk writing (creating the empty disk image). If I wait until the image has been created and then comment out thehdiutil createline it seems to work fine (its running now). I could add aSLEEP NNNline but I'm looking for a cleaner way.
-
Errors
2004-02-11 07:43:45 peterhickman [Reply | View]
The error makes sense if thehdiutil -createis still running when it attempts to attach the .dmg. If it was still creating it then it is not formated correctly.
I note that there appears to be a stray pipe '|' character at the end of line 21. Dont know how that got there. Is the pipe in the script you are using?




If you could email me your values for
SOURCEandFILEDESTalong with the output ofdfI'll have a quick look at it.