[Casper] "du: : No such file or directory" in backup emails
Thomas Larkin
tlarki at kckps.org
Wed Jul 29 10:56:33 PDT 2009
Why is the du binary even running is what I would ask? Is it checking for free disk space before it makes the back up?
If you run it as admin, anything owned by root will be unaccessible, if you have any weird flags on your files it may be unaccessible, if you run it as root you can generally have it run on any file/directory.
For example, if I did this
du -d -x -h /
with out putting sudo in front of it, everything under /private would tell me I don't have permission to view it. I think this may be a question for jamf as perhaps du runs to check the current back up paths free space, and if there is enough free space then it creates a back up?
Or are you running any kind of custom scripts?
>>> Justin Crowe <justin.g.crowe at nasa.gov> 07/29/09 12:29 PM >>>
If it is a permissions issue who should be the owner?
Justin
On Jul 29, 2009, at 9:59 AM, Thomas Larkin wrote:
du is the disk usage binary which tells you how much disk space is being used by a directory or volume.
It looks to me like it is trying to guess the size of a file or directory that it can't, is not there, or doesn't have permission to, ie owned by root.
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> Justin Crowe <Justin.G.Crowe at nasa.gov> 07/29/09 11:39 AM >>>
We have setup the backup schedule in the JSS Setup Utility to send
emails when the backups are complete. We also have it set to save x
amount of days of backups. But, when the emails come out, under the
section with the previous backups we see these messages:
du: : No such file or directory2009-07-28_02-00-00.sql.gz
du: : No such file or directory2009-07-24_16-08-05.sql.gz
Is this a bug or are we doing something wrong? Has anyone else seen
this behavior?
Justin
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090729/66810977/attachment.htm
More information about the Casper
mailing list