?
Solved

fifsystem inconsitencies and ufs logging

Posted on 2004-08-04
4
Medium Priority
?
338 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
timf04 earned 152 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 148 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

765 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