Operating System - HP-UX
1832224 Members
2452 Online
110041 Solutions
New Discussion

clone Hardisk with I/O-Errors fails (HP-UX 10.20)

 
Pine
Occasional Advisor

clone Hardisk with I/O-Errors fails (HP-UX 10.20)

Hello,
I get a tricky problem.
I have a B180L Workstation running HP-UX10.20. The Harddisk has at least one I/O-Error, and one essential file is corrupt (I/O-Error when checking the file with cksum).
My plan of action was, to clone the HD-to a new one (is considerably bigger), and then to fix the corrupt file on the new Harddrive.

First thing I tried was:
#dd if=(old HD) of=(DDS3 Tape drive) bs=1024k

it would stop working after approx. 650MB, and giving an I/O Error.

Second was to make an ignite recovery tape with
#make_recovery_tape -A

It would also not finish successfully with an I/O-Error

Third was to install HP-UX on the new Harddrive, and then to recover the Application from an old FBACKUP-Tape.

This was also unsuccessful, because after the FRECOVER, the station cannot mount the Harddrive any more. Could this be because I had to put bigger "Physical Extents" (32 instead of 4MB) due to the bigger Harddisk??

I have no mirroring software product installed on this machine.

Is there another way, of cloning a Harddisk with I/O Errors?

Best Regards
Pine
4 REPLIES 4
Ralf Seefeldt
Valued Contributor

Re: clone Hardisk with I/O-Errors fails (HP-UX 10.20)

Hello Pine,

At first, can you tell me, whether the corrupt file belongs to the OS or to the application?

As you wrote, recovering the application faild, This is, why I expect that the corrupt file is an application file (may be there are more corrupted files from application and OS).

What directories have you includet to your ignitetape? You may try creating a tape with only the minimum system required.

Goot luck
Ralf
Ralf Seefeldt
Valued Contributor

Re: clone Hardisk with I/O-Errors fails (HP-UX 10.20)

Hello Pine,

At first, can you tell me, whether the corrupt file belongs to the OS or to the application?

As you wrote, recovering the application faild, This is, why I expect that the corrupt file is an application file (may be there are more corrupted files from application and OS).

What directories have you includet to your ignitetape? You may try creating a tape with only the minimum system required.

Good luck
Ralf
Pine
Occasional Advisor

Re: clone Hardisk with I/O-Errors fails (HP-UX 10.20)

Hello Ralf,

the corrupt file belongs to the Application.
See also my other thread about the same Problem (the Problem started with an Oracle Database Error. Therefore I initially put it in the HP-UX/databases Area)

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979552

I don't think, that the FBACKUP is corrupt, as it was taken three years ago after initial installation of the system.

With Ignite I wanted to include the whole vg00, that I don't have to re-install the machine.

But maybe that's the only way left.

Greetings
Pine
Ralf Seefeldt
Valued Contributor

Re: clone Hardisk with I/O-Errors fails (HP-UX 10.20)

Hello pine,
may be, you will succeed in creating a new backup of the basic OS-directotys now with fbackup or ignite.
At least, that would enable you to install a new server with an identic OS.

Regards
Ralf