Solved

fifsystem inconsitencies and ufs logging

Posted on 2004-08-04
4
330 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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now