Solaris 9 ufs logging

From: spots (jspotswood_at_gmail.com)
Date: 10/07/05


Date: 7 Oct 2005 00:29:11 -0700

Starting in Solaris 9 all ufs filesystems are logged by default. This
is fine when a file system is writable, however for CDROMs which are
read only this causes a number of warning messages to be output to some
of the logs as well as the console.

Is there any way in which ufs logging can be disabled for CDROMs and
other types of filesystem?

The interesting thing about this problem is that some of the slices on
the Solaris 9 OS CDs are setup as ufs filesystem which cause the
messages to appear.

Upon insertion of a CD with ufs file systems on s1 to s5 (i.e. the OS
CD), the following is output to the console:
Could not enable logging for /cdrom/sol_9_904_sparc/s5 on
/vol/dev/dsk/c0t0d0/sol_9_904_sparc/s5.
File system is mounted read only.
Please see the remount option described in mount_ufs(1M).
Could not enable logging for /cdrom/sol_9_904_sparc/s4 on
/vol/dev/dsk/c0t0d0/sol_9_904_sparc/s4.
File system is mounted read only.
Please see the remount option described in mount_ufs(1M).
Could not enable logging for /cdrom/sol_9_904_sparc/s3 on
/vol/dev/dsk/c0t0d0/sol_9_904_sparc/s3.
File system is mounted read only.
Please see the remount option described in mount_ufs(1M).
Could not enable logging for /cdrom/sol_9_904_sparc/s2 on
/vol/dev/dsk/c0t0d0/sol_9_904_sparc/s2.
File system is mounted read only.
Please see the remount option described in mount_ufs(1M).
Could not enable logging for /cdrom/sol_9_904_sparc/s1 on
/vol/dev/dsk/c0t0d0/sol_9_904_sparc/s1.
File system is mounted read only.
Please see the remount option described in mount_ufs(1M).
Jul 27 09:38:58 n1 ufs: WARNING: Error writing ufs log state
Jul 27 09:38:58 n1 ufs: WARNING: ufs log for /tmp/mnt changed state to
Error
Jul 27 09:38:58 n1 ufs: WARNING: Please umount(1M) /tmp/mnt and run
fsck(1M)

Within the /var/adm/messages log, the following is output upon CD
insertion:
Jul 27 09:32:43 n1 ufs: [ID 702911 kern.warning] WARNING: Error writing
ufs log state
Jul 27 09:32:43 n1 ufs: [ID 127457 kern.warning] WARNING: ufs log for
/tmp/mnt changed state to Error
Jul 27 09:32:43 n1 ufs: [ID 616219 kern.warning] WARNING: Please
umount(1M) /tmp/mnt and run fsck(1M)

Note that the above problem also occurs on reboot of a netra with a ufs
based CD in the drive.



Relevant Pages

  • SUMMARY: how do I REALLY delete a file?
    ... leaving the rest of the file system intact. ... Wipedrive doesn't seem to be available for Solaris, but might be of interest to ... run this on each filesystem where the files from ... >Solaris' UFS] do not satisfy this assumption." ...
    (SunManagers)
  • Re: ZFS kernel panic
    ... Return an I/O error on this cache flush. ... If UFS remembers I/O errors, ... I thought that when file system itself flushes the ...
    (freebsd-current)
  • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
    ... I don't know of a concerted effort by anyone to improve UFS in this ... automatically mounting USB drives, these bugs would indeed be critical. ... The standard configuration of Gnome runs ... done via amdand automatically as the file system gets accessed via ...
    (freebsd-stable)
  • VXFS vs. UFS w logging
    ... Just a quick question on when to use VXFS vx UFS with logging. ... with 8k extent sizes. ... our backups started failing in this file system due to extreme ...
    (comp.sys.sun.admin)