Operating System - HP-UX
1821051 Members
2398 Online
109631 Solutions
New Discussion юеВ

VXFS file system - full fsck required

 
John Paine
Frequent Advisor

VXFS file system - full fsck required

Hi All,
I have the following error message when trying to fsck /usr at single user; anyone know what exactly is a full file system check or indede how it is performed?...is it just a question of typing fsck at the single user prompt?
# fsck /dev/vg00/rlvol7
vxfs fsck: file system had I/O error(s) on meta - data.
log replay in progress
full file system check required, exiting...
Appreciate any replies on this,
Regards,
John.
Time flies like an arrow. Fruit flies like a banana.
4 REPLIES 4
Steven Gillard_2
Honored Contributor

Re: VXFS file system - full fsck required

A full fsck is run as follows:

# fsck -F vxfs -o full /dev/vg00/rlvol7

See the fsck_vxfs man page for more info.

Regards,
Steve
Alan Casey
Trusted Contributor

Re: VXFS file system - full fsck required

I found this:

o repair an inconsistent filesystem, the filesystem should be unmounted first:
umount [mountpoint]

Next step is to do a fsck to check and repair the filesystem:
fsck ???F vxfs ???o full /dev/[vg]/[rlvol]

In some cases the logarea might have been damaged.This requires a:
fsck ???F vxfs ???o full,nolog /dev/[vg]/[rlvol]

After a successfull fsck the filesystem can be remounted again:
mount [mountpoint]

T. M. Louah
Esteemed Contributor

Re: VXFS file system - full fsck required

Just a quick addition, you can also try:
#fsck -F vxfs -y -o full /dev/vgXX/rlvolY
if all options fails the only way out is to re-create the lvol (lvremove, lvcreate, newfs & mount) then restore data. I hope u have a good bkup.
G'd luck
Little learning is dangerous!
Kumar Deuja_1
Advisor

Re: VXFS file system - full fsck required

I had similar issue with inode and full fsck fixed the problem. It was certainly helpful.

Thanks