The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
logging into vinayrao Shell Programming and Scripting 1 03-14-2008 08:57 AM
SSH Logging? esser OS X (Apple) 0 03-10-2005 01:56 PM
need more logging dozy UNIX for Dummies Questions & Answers 3 11-18-2004 07:04 AM
Asking about logging in blueberry80 UNIX for Dummies Questions & Answers 1 08-29-2003 06:51 AM
logging when someone changes to su kymberm UNIX for Dummies Questions & Answers 1 09-17-2002 06:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-06-2005
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
UFS logging

I have a couple of servers where something weird is going on. When I run the command "mount | grep logging" I get something similair to this

/ on /dev/dsk/c0t0d0s0
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=220000


But when I look at /etc/vfstab I dont see the logging option.....

How can logging be enabled but not in /etc/vfstab?

Im running on solaris 9. Not using volume management.
Reply With Quote
Forum Sponsor
  #2  
Old 10-06-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
As of Solaris 9 logging on UFS filesystems is on by default, you don't need to specify it in vfstab, and to turn it off (in vfstab) you would specify no_logging.
Reply With Quote
  #3  
Old 10-06-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Looking at our systems, I think logging is on by default for all ufs filesystems starting with Solaris 10. At Solaris 9, logging is on by default only for terrabyte filesystems. I guess you have all huge drives. "man mount_ufs" gives the rules for each os.
Reply With Quote
  #4  
Old 10-06-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
No, it's default in solaris 9 on UFS filesystems, though maybe not in the early releases. That was one of the contributing factory to the veritas on encapsulated root disk cpu panic/cyclic reboot problem and why the temporary workaround patch explicitly put no_logging in the options for the root filesystem.

I probably wouldn't even have noticed but I had over 200 of them do this to me after a power and ups failure about 12 months ago. When logging was manually removed from vfstab and it was still ocasionally happening I went looking and found that logging was on by default.

[EDIT] Logging by default on UFS was introduced in patch 113073-09 on solaris 9.
The option to turn it off is nologging, not no_logging as I previously posted.

Last edited by reborg; 10-06-2005 at 04:46 PM.
Reply With Quote
  #5  
Old 10-07-2005
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 718
it is enabled by default since solaris 9 04/04 update 6. it's faster and safer.
http://www.sun.com/software/whitepap...erformance.pdf

gP
Reply With Quote
  #6  
Old 10-11-2005
Registered User
 

Join Date: Sep 2003
Location: Arlington, VA
Posts: 160
Quote:
Originally Posted by reborg
No, it's default in solaris 9 on UFS filesystems, though maybe not in the early releases. That was one of the contributing factory to the veritas on encapsulated root disk cpu panic/cyclic reboot problem and why the temporary workaround patch explicitly put no_logging in the options for the root filesystem.

I probably wouldn't even have noticed but I had over 200 of them do this to me after a power and ups failure about 12 months ago. When logging was manually removed from vfstab and it was still ocasionally happening I went looking and found that logging was on by default.

[EDIT] Logging by default on UFS was introduced in patch 113073-09 on solaris 9.
The option to turn it off is nologging, not no_logging as I previously posted.
ok, but, I have servers using veritas, when I grep for logging i get nothing, but in /etc/vfstab i dont see "no logging" either....
Reply With Quote
  #7  
Old 10-11-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
Quote:
Originally Posted by pressy
it is enabled by default since solaris 9 04/04 update 6.
and

Quote:
Originally Posted by reborg
Logging by default on UFS was introduced in patch 113073-09 on solaris 9.
So if you have earlier than solaris 9 04/04 update 6 or you don't have patch 113073-09 or later then you won't have logging by default.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0