* problem with Defragcron , Tru64 4.0G & dev/null
@ 2003-12-15 11:18 Alaric Turner
2003-12-15 17:18 ` SUMMARY: " Alaric Turner
0 siblings, 1 reply; 2+ messages in thread
From: Alaric Turner @ 2003-12-15 11:18 UTC (permalink / raw)
Managers,
I seem to have a somewhat strange problem, on a DS20 running 4.0G Patchkit4,
every morning around 04:50 /dev/null was changed from a system file to a
standard normal file, obviously not correct. By a process of elimination
it appears that the daily defragcron job was responsible (since I
commented it out in the crontab the problem has not re-occured). however
we also run a defragment by directly calling defragment once a week &
this seems not to cause a problem.
In the short term the problem has been resolved but I would like to
re-enable the daily defrag if possible. Has anyone seen a similar problem ?
Alaric Turner
--
Alaric Turner
Systems Manager
Albourne Partners Limited
+44 (0)20 77209201
^ permalink raw reply [flat|nested] 2+ messages in thread
* SUMMARY: problem with Defragcron , Tru64 4.0G & dev/null
2003-12-15 11:18 problem with Defragcron , Tru64 4.0G & dev/null Alaric Turner
@ 2003-12-15 17:18 ` Alaric Turner
0 siblings, 0 replies; 2+ messages in thread
From: Alaric Turner @ 2003-12-15 17:18 UTC (permalink / raw)
Many Thanks to those that replied,
as ever Dr Blinn of HP came up trumps,
basically the problem was that a change has been made in defragcron
(possibly in Patchkit 4)such that it deleted /dev/null every time it ran.
alaric
Dr Blinns' reply in full:
>That's bizarre. I run V4.0G but I disabled defragcron long ago.
>
>It's a shell script; go see if you can spot a point where it does
>an "rm -f" or whatever on /dev/null. A privileged user (and you have
>to be running as root to run defragcron) has sufficient privilege to
>remove /dev/null and if the device name is then used as the output
>from some command invocation, it will be recreated as a "normal" file.
>
>I see in the version of the script in the patch kit output area this
>stuff:
>
> quiet_file="/dev/null"
>
> /bin/rm "$quiet_file"
>
>and if you are root and that quiet_file is "/dev/null" and you do that
>/bin/rm then /dev/null is GONE. This was NOT in the original version
>of the script, someone put it in there as a "maintenance fix". Do
>not run defragcron, it's dangerous anyway.
>
>
>Tom
Alaric Turner wrote:
> Managers,
>
> I seem to have a somewhat strange problem, on a DS20 running 4.0G
> Patchkit4,
>
> every morning around 04:50 /dev/null was changed from a system file to a
> standard normal file, obviously not correct. By a process of elimination
> it appears that the daily defragcron job was responsible (since I
> commented it out in the crontab the problem has not re-occured). however
> we also run a defragment by directly calling defragment once a week &
> this seems not to cause a problem.
>
> In the short term the problem has been resolved but I would like to
> re-enable the daily defrag if possible. Has anyone seen a similar problem ?
>
> Alaric Turner
--
Alaric Turner
Systems Manager
Albourne Partners Limited
+44 (0)20 77209201
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-15 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-15 11:18 problem with Defragcron , Tru64 4.0G & dev/null Alaric Turner
2003-12-15 17:18 ` SUMMARY: " Alaric Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox