1847702 Members
5345 Online
110265 Solutions
New Discussion

Re: file table corrupt

 
SOLVED
Go to solution
MikeL_4
Super Advisor

file table corrupt

We had a case today where a bdf command came back with no display. Upon looking into it the mnttab file had a zero "0" size to it.
I first tried the mount command to mount file systems, but it came back with message: file system table may be corrupt.
I rebooted to get out of this, but is there anything else that could of been done, or any idea as to what could of caused this ??

Thanks
3 REPLIES 3
doug mielke
Respected Contributor

Re: file table corrupt

rebooting may have caused an fsck to be run on the filesystems, if marked as corrupt.

If so, you can run manually on a non-mounted system

fsck /dev/xxx

options such as -y, -o full could be recommended.

If any files were salvaged, they will be in each file systems lost+found directory. Take a look, if there are files there, they are missing from the fs. ( if you can tell what they are, you can put them back)
Helen French
Honored Contributor
Solution

Re: file table corrupt

Normally it means that the /etc/mnttab file is corrupt. What you have to do is this:

# mv /etc/mnttab /etc/mnttab.org
# mount -v -a
Life is a promise, fulfill it!
Steven E. Protter
Exalted Contributor

Re: file table corrupt

Lots of thigns can cause it.

Here is how to fix it.

A script:

#!/usr/bin/sh

fsck -F vxfs -o full -y $1

$1 is the character device. /dev/vg00/rlvol2

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com