1833162 Members
3161 Online
110051 Solutions
New Discussion

help! fsck error

 
SOLVED
Go to solution
BJ CG DATA
Advisor

help! fsck error

error message:
# fsck -m -F vxfs /dev/vg00/lvol5
vxfs fsck: sanity check: /dev/vg00/lvol5 needs checking

# fsck /dev/vg00/lvol5
log replay in progress
full file system check required, exiting ...

thanks
12 REPLIES 12
MARTINACHE
Respected Contributor
Solution

Re: help! fsck error

Hi,

fsck -o full /dev/vg00/rlvol5

Regards,

Patrice.
Patrice MARTINACHE
Clemens van Everdingen
Honored Contributor

Re: help! fsck error

Hi,

Try running fsck -m -o full /dev/vg00/lvol5

Should do the trick.
If not be prepared to rebuild the LVM structure.

Do you use ignite ?
If not try this link:

http://www.software.hp.com/products/IUX/

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Rainer von Bongartz
Honored Contributor

Re: help! fsck error


Try

fsck -o full /dev/vg00/rlvol5

to fix this.

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Ravi_8
Honored Contributor

Re: help! fsck error

Hi,
#fsck -y /dev/vgxx/rlvolx should do the job.

if full fsck needs to be done then
#fsck -o full /dev/vgxx/rlvolx

never give up
MANOJ SRIVASTAVA
Honored Contributor

Re: help! fsck error

Hi BJ

fsck will typically run on raw volumes , so try fsck /dev/vgoo/rlvol5 .
It should report errors and depending on the state of the file system it should recommned you to run it manuualy.

In teh exterme case if it report lots of error then run fsck with -y option and that should do the trick.


Manoj Srivastava
Francois Bariselle_3
Regular Advisor

Re: help! fsck error

Try this in single user mode:

fsck -o full /dev/vg00/rlvol5

Frank
Fais la ...
Sanjay_6
Honored Contributor

Re: help! fsck error

Hi,

Use
fsck -F vxfs -o full /dev/vg00/rlovl5

Since this looks like your root vg filesystem, You should be in single user mode while doing this and your lvol5 should be unmounted.

Hope this helps.

Regds
BJ CG DATA
Advisor

Re: help! fsck error

 
Magdi KAMAL
Respected Contributor

Re: help! fsck error

Hi ,

You may execute this command :

#fsck -o full /dev/vg00/rlvol5

and reply by yes (y) to all reparing questions so that the process could continue. And you may play after your backups to brings the missing files.


Magdi

BJ CG DATA
Advisor

Re: help! fsck error

Hi,
I answered "YES" to all the questions. mount the filesystem,and the missing file didn't appear. Is there something more need to be done?
Magdi KAMAL
Respected Contributor

Re: help! fsck error

Hi,

>>>
fileset 999 primary inode 2531 unreferenced file, reconnect? (ynq)n
fileset 999 primary inode 2531 clear? (ynq)n
fileset 999 primary inode 2514 link count is 3 should be 1 adjust? (ynq)n
fileset 999 primary inode 2515 unreferenced file, reconnect? (ynq)n
fileset 999 primary inode 2515 clear? (ynq)n
fileset 999 primary inode 2516 unreferenced file, reconnect? (ynq)n
fileset 999 primary inode 2516 clear? (ynq)n
fileset 999 primary inode 2517 unreferenced file, reconnect? (ynq)n
fileset 999 primary inode 2517 clear? (ynq)n
fileset 999 primary inode 2518 unreferenced file, reconnect? (ynq)n
fileset 999 primary inode 2518 clear? (ynq)n
fileset 999 primary inode 2535 unreferenced file, reconnect? (ynq)n
fileset 999 primary inode 2535 clear? (ynq)n
rebuild structural files? (ynq)n
>>>

It seems to me that you are answering by "NO" and not "yes" ...

(ynq) stand for YES, NO or QUIT.
You are giving "n" for NO.

Magdi
BJ CG DATA
Advisor

Re: help! fsck error

Hi, Magdi
I replay for "No" for the first time, as you see up there. The second time I replay "YES" , mount the system. I didn't put the result out.

Juli