dmesg output
Marco Gonçalves
marco at aces.pt
Fri Aug 29 07:05:23 PDT 2003
I wanted to clear the dmesg -a output because i had this problem with a IDE disk, wich give this message all over
ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331 tn 222 sn 18) status=59 error=40
ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331 tn 222 sn 18) status=59 error=40
ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331 tn 222 sn 18) status=59 error=40
... and so one
i mirrored the disk and change with other, and now is dificult to see if that is ok...unless i clear the buffer to see if the messages keep on
by the way can i use fsck on a multi-user runing server?
----- Original Message -----
From: Lowell Gilbert
To: Marco Gonçalves
Cc: freebsd-questions at freebsd.org
Sent: Friday, August 29, 2003 1:58 AM
Subject: Re: dmesg output
=?Windows-1252?Q?Marco_Gon=E7alves?= <marco.goncalves at aces.pt> writes:
> Email TemplateHow can i delete the 'dmesg -a' last output buffer
Assuming I'm understanding you correctly (you want to clear the system
message buffer?) you shouldn't be able to do that while the system is
running. It's a security precaution. Maybe if you explained why you
wanted to do it, we'd be able to help.
> /var/run/dmesg.boot - but it just shows the hardware boot
It shows the contents of the system message buffer immediately after
the kernel boots.
> /var/log/dmesg.today - seems like a copy of /var/run/dmesg.boot
It should be the contents of the system message buffer at the time of
the daily periodic(8) run.
> /var/log/dmesg.eyesterday - seems to me like the dmesg -a output before last reboot...
It should be the previous day's dmesg.today file.
More information about the freebsd-questions
mailing list