Solved

fifsystem inconsitencies and ufs logging

Posted on 2004-08-04
4
334 Views
Last Modified: 2013-12-27
Hi

I know is that when ever there is abrupt shutdown of the system
there is filesystem inconsistencies.
Can you please ellaborate filesystem inconsistencies .

And also how does UFS logging help in minimissing
filesystem inconsistencies.

Regards


Sagar
0
Comment
Question by:sagar24
4 Comments
 

Accepted Solution

by:
timf04 earned 38 total points
ID: 11726920
The incosistencies are with "files" within the filesystem not having the correct  information in the inode.  Each file and directory is considered a "file" in Unix, and they all have an inode that stores information regarding the "file", such as name owner, perms, size and pointers to the data.  If you have a busy filesystem then if you don't shutdown properly the filesystem will be corrupted more times than not.

The UFS filesystem can be setup to be a journaled filesystem that will track changes and upon reboot make sure all the outstanding changes are applied.  This action reduces the possibility of corruption in the filesystem.
0
 
LVL 10

Assisted Solution

by:Nukfror
Nukfror earned 37 total points
ID: 11732835
To add a little more specific information here, UFS logging protects the file system metadata - its does not protect file contents.  So the file system makes end up coming back very quickly but you could possibly still lose data in files.

There isn't anyway to enable file content protection in UFS logging - it would heavily increase disk IO.  VxFS does have this feature but its disabled by default.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question