^@^@^@^@^@^@Sep 28 14:11:42 c2539lui genunix: [ID 540533 kern.notice]
^MSunOS Release 5.10 Version Generic_120011-14 64-bit
This line roughly corresponds with a log entry in our own software
that indicates a problem so I have to believe it's significant. In a
messages file that spans a dozen reboots, is there any particular
reason why this reboot _only_ would have these spurious characters in
its announcement?
Thanks.
It's because the fileystem has updated the seek pointer (the inode) but
it hasn't written the data yet. This should only happen on UFS
filesystems. The update to the inode is written to the log or to the
inode; the data is not written to the disk and was clearly never
flushed.
Was the system power-cycled? Normally, on a reboot the data is written.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
This is a UFS file system.
I can see from the messages file that this system was not brought down
cleanly before this restart. It was operational and then the nulls
followed by the "SunOS Release" message. There's a period of about
four hours between the last message and the nulls, so it might have
hung before the user abruptly powered off.
Could these nulls indicate a bigger problem with Solaris, itself? I
ask because the log file of another script we run shortly after boot
also has a string of nulls before writing some data, and these nulls
correlate. So I'm wondering if, on this one particular reboot,
Solaris wasn't quite itself and might have behaved improperly, at
least with respect to the file system.
If you can identify the user you might try asking him what happened.
If the system hung and no one with the root password was available,
power cycling the machine might have been the only option to try to
straighten thing out! It's sometimes called "the big red switch reset"
after the power switch on an early model of the IBM PC. This sort of
thing SHOULD not happen but it sometimes does happen. The downside is
that you almost always need to fsck a file system or two.
The UFS filesystem valids "meta data" before "file data" and so
it has behaved as it was designed.
However, such behaviour is not correct and it is one of the reasons
why ZFS works differently. (Both the change to the file pointer
and the data are in the same transaction group)