
November 24th, 2004, 04:45 PM
|
|
Contributing User
|
|
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,083
  
Time spent in forums: 4 Days 19 h 44 m 45 sec
Reputation Power: 9
|
|
|
extracted (man mount_ufs), see also man vfstab
.....
logging | nologging
If logging is specified, then logging is enabled for the duration of the mounted file system. Logging is the process of storing transactions (changes that make up a complete UFS operation) in a log before the transactions are applied to the file system. Once a transaction is stored, the transaction can be applied to the file system later. This prevents file systems from becoming inconsistent, therefore eliminating the need to run fsck. And, because fsck can be bypassed, logging reduces the time required to reboot a system if it crashes, or after an unclean halt.
The default behavior is nologging for file systems less than 1 terabyte. The default behavior is logging for file sytems greater than 1 terabyte and for file systems created with the -T option of the newfs command or the mtb=y option to the mkfs_ufs command.
The log is allocated from free blocks on the file system, and is sized approximately 1 Mbyte per 1 Gbyte of file system, up to a maximum of 64 Mbytes. Logging can be enabled on any UFS, including root (/). The log created by UFS logging is continually flushed as it fills up. The log is totally flushed when the file system is unmounted or as a result of the lockfs -f command.
|