Operating System - HP-UX
1833784 Members
2587 Online
110063 Solutions
New Discussion

Re: problems with fsck on hp ux 10.20 c-class

 
Joey Raj
Occasional Advisor

problems with fsck on hp ux 10.20 c-class

hi,

We had to restart our C-class CAD server, running Hp-UX 10.20 and Unigraphics V13. But the problem is that the server is unable to mount the main unigraphics volume. It prompts for a manual fsck check and even when this is done, it is able to to check all other lvol's (1-8) but not the 9th one which is the user defined one and critical software area. I do not have a recent backup due to tape drive failure.

Can anybody help me out here.

Thankx

Joe
5 REPLIES 5
melvyn burnard
Honored Contributor

Re: problems with fsck on hp ux 10.20 c-class

what error message are you getting? what type of FS is it? JFS or HFS?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Paula J Frazer-Campbell
Honored Contributor

Re: problems with fsck on hp ux 10.20 c-class

Hi
Can you post the results of the fsck?
It may help to diagnose the problem.

Paula
If you can spell SysAdmin then you is one - anon
Joey Raj
Occasional Advisor

Re: problems with fsck on hp ux 10.20 c-class

its HFS and the error is
CANNOT READ: BLK 2057864
CONTINUE?

if I give yes it comes back to continue and times out after 2 retries
melvyn burnard
Honored Contributor

Re: problems with fsck on hp ux 10.20 c-class

Not Good! sounds like you have a disk going-going-almost gone
I am afraid you are in a precarious position if you do not have a valid backup.

One thing you may want to try, but be aware it is not without risk.
You could try to FORCE mount the fs, in read-only mode, and then attenmpt to start copying of files.
The danger is that if you hit t hye bad area on the disc, you may cause a system hang, or worse, panic.

try
mount -f -r

and then see if you can access the fs.

HTH
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stefan Schulz
Honored Contributor

Re: problems with fsck on hp ux 10.20 c-class

This sounds really bad,

i doubt you will be able to restore the data. What you oculd try is to copy the disk with dd. The dd will produce errors when ic comes to the defect block, but you might get at least some of your data copied. As dd is able to use the rawdevice you don't need to mount the defect drive. Try

dd if=/dev/vg00/rlvol9 of=/dev/....

You could set a blocksize, but i would reconmend to use the small default blocksize. This takes a lot longer, but you might restore more of the data around the defect block.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.