Is there a way to safely run 'fsck' on a mounted partition? Under Solaris
you can do this by reffering to /dev/rdsk/<partition> and not worry about
pear shaping anything (I could not find anything resembling this in RH's
device tree). I have several hard hit web servers with /var patition getting
hammered. Often times I will free up nearly 2gigs of space in /var but the
OS does not recognize the newly acquired space unless the filesystem is
inspected with fsck. This does not happen every time but at least once a
week it will happen. These are 6.2 boxes with the latest patches and kernel
2.2.18smp. I have tried to unmount /var after stopping nearly every service
I could including syslog but still cannot 'umount' gracefully. I cannot
reboot the machines on a nightly basis, in fact, once a month is my ideal
schedule. I would push these boxes even longer than that but these boxes are
running buggy code.

Oh, one other question. Is 'df' a reliable method to check disk space? This
is what I use after freeing up 2gig's of space, but 'df -k' will still read
the same amount of free space as before. However, if I 'du -sk /var' it will
show maybe 138megs total, as opposed to the 2gig 'df' reports. What about
using snmp?


Thanks for any help,
CC



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to