General
cancel
Showing results for 
Search instead for 
Did you mean: 

Can not boot server out of single user mode

simon peter
Occasional Contributor

Can not boot server out of single user mode

Hi
I am unamble to boot my server up but the problem appears to lie with /dev/vg00/lvol7 (/usr) when in single user mode i do the following:
fsck -o full -y /dev/vg00/lvol7
i get the following :

log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
fileset 999 primary inode 2 marked bad, allocation flags (0x002f)
fileset 999 primary inode 2 partially allocated
fileset 999 primary inode 2 failed validation clear? (ynq)y
root inode for fileset 999 is invalid
full filesystem check required, exiting ...

Can anyone advise me how to get /usr back.

Thanks
Simon
3 REPLIES
S.K. Chan
Honored Contributor

Re: Can not boot server out of single user mode

It does looks like it's either you got a heavily fragmented FS that's beyond repair or a patch fix issue with VXFS's fsck. What OS you got ? If it's 11.0, there is a patch (may not be the latest) ..
PHCO_23651 (fsck_vxfs(1M) cumulative) that has quite a number of fixes for fsck'ing a vxfs FS. You may want to check it out. If that applies to you, I'm afraid the only option you have is to rebuilt "/usr" and restore the data back. Hope you have ignite recovery tape ready for this. Once it's restored, load the appropriate patches on your system. Others may have some ideas how to deal with this. Also give a call to HP to confirm.

Oleg Zieaev_1
Regular Advisor

Re: Can not boot server out of single user mode

Hello Simon.

For some reason it does not seem to understand your -o full option, and behaive as required by default.

I think is a good idea to specify file system type as well, like:
fsck -F vxfs -o full -y /dev/vg00/lvol7

Also have a look on ncheck (1m).

Patching may be an issue too.

Hope this helps,
0leg
Professionals will prevail ...
Jeff Schussele
Honored Contributor

Re: Can not boot server out of single user mode

Hi Simon,

It's not uncommon for an FS to require several fsck -o full passes before it's actually clean again.
Try another fsck or two.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!