Operating System - HP-UX
1848585 Members
2996 Online
104033 Solutions
New Discussion

fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

 
SOLVED
Go to solution
常有慈悲心
Regular Advisor

fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

need to reinstall?

system can't start
7 REPLIES 7
Ravi_8
Honored Contributor

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

Hi,

You need to get into to do single user mode to do fsck on file systems, system wouldn't allow to do fsck in multiuser mode

# reboot

press any key within 10sec when asked
main> boot
get in to ISL
ISL> hpux -iS

will take you to single user mode
# fsck -y /dev/vg00/lvolx

after fsck
#init 3
never give up
Bharat Katkar
Honored Contributor

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

Hi,
See what is there on lvol8. If it is a normal file system residing in that lvol8 then do following provided u have backup of that lvol8:

1. lvremove lvol8 see man lvremove
2. lvcreate lvol8 see man lvcreate
3. newfs lvol8 see man newfs

That should help.
regards,
You need to know a lot to actually know how little you know
Robert-Jan Goossens
Honored Contributor

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

Hi,

unmount the filesystem
# fsck -o full -o nolog /dev/vg00/rlovl8

Regards,
Robert-Jan
常有慈悲心
Regular Advisor

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

fail infomation :


when i in single user mode:
fsck -F vxfs -o nolog -o full /dev/vg00/lvol8
it reports:

pass4-checking resourse maps
vxfs fsck :fsck read failure bno=1164,off=0,len=8192
file system check failure,aborting...
Robert-Jan Goossens
Honored Contributor

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

while you are in single user mode, check the disk for failures.

# dd if=/dev/rdsk/cxtydz of=/dev/null bs=4096k

Regards,
Robert-Jan

常有慈悲心
Regular Advisor

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

i do this:
# dd if=/dev/rdsk/cxtydz of=/dev/null bs=4096k

it reports:
dd read io error,
0 records in
0 records out




is it mean that my disk error?
Mohanasundaram_1
Honored Contributor
Solution

Re: fsck -F vxfs -o nolog -o full /dev/vg00/lvol8 fail ,how to do?

The IO error in DD indicates problem at the disk. Look for replacing the disk at the earliest.
Attitude, Not aptitude, determines your altitude