Solved

Unreferenced file on fsck

Posted on 2006-11-20
3
949 Views
Last Modified: 2013-11-17
When I issue fsck command /cerapp, it retruns thousands of of the errors below:

....bla.....
/dev/cer01lv (/cerne): Unreferenced file  I=1177894  owner=root      
mode=100600                                                            
size=0 mtime=Sep 16 16:00 2006 (CONTAINS NO DATA)                      
/dev/cer01lv (/cerne): Unreferenced file  I=1177894  (NOT CLEARED)                                                            
/dev/cer01lv (/cerne): Unreferenced file  I=1177895  owner=root      
mode=100600                                                            
size=0 mtime=Sep 16 16:00 2006 (CONTAINS NO DATA)                      
/dev/cer01lv (/cerne): Unreferenced file  I=1177895  (NOT CLEARED)
....bla.....

How do I correct this issue?

thx
0
Comment
Question by:ethanjohnsons
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
sjm_ee earned 400 total points
ID: 17985848
Fortunately these files do not contain any data ("size=0") - although they may still be significant to your applications. Try "fsck -p". If that doesn't work "fsck -y". If that doesn't work unmount the filesystem and repeat.

Otherwise, backup data, re-create filesystem ("mkfs") and restore data.



0
 
LVL 7

Assisted Solution

by:sppalser
sppalser earned 100 total points
ID: 17989279
fsck should never be run on a mounted filesystem.  With the exception of root fsck should only be run on unmounted filesystems.  Where root is concerned one should make sure that "all" other filesystems are unmounted prior to running fsck.

Good Luck
0
 
LVL 14

Expert Comment

by:sjm_ee
ID: 17992181
fsck on AIX is safe on a mounted filesystem. it may not fix the problem if it is still mounted but it will not do any more harm.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…

828 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