Operating System - HP-UX
1846437 Members
3050 Online
110256 Solutions
New Discussion

Try to recover LVM records ( rx2600, Itanium2, hpux11iv2 )

 
Alessandro Pilati
Esteemed Contributor

Try to recover LVM records ( rx2600, Itanium2, hpux11iv2 )

Hi,
I would be happy to find the way to "loadfile" from HPUX 11.23 CD in temporary shell in RAMDISK ( after booting from cd ) the following commands : od, strings, xd, adb ( the loadfile command returns "not found" ).

I need it because of this "disaster" scenario:

I had a 36GB boot disk with all Vxfs filesystem ( including boot and root ).

I had a second disk (73GB) empty where I recreated the VG/LV,LIF and EFI structures of the 36GB disk launching various commands from a temporary shell after a boot from CD.

I copied all filesystem ( /, /stand,/usr and so on ) from the 36GB disk to 73GB disk.

I put away the 36GB disk and I put the 73GB disk in the slot place of 36GB disk.

I try to boot in normal mode and single user mode ( after entering in EFI:
fs1:
cd EFI/HPUX
hpux.efi
hpux> boot vmunix
and
hpux> boot -is vmunix
)
and the server goes in LVM panic ( the scrolling is very fast and I cannot see exactly the error )

I try to boot in LVM Maintenance mode ( hpux> boot -lm vmunix ) and I get the error of VFS_MOUNTROOT panic error, and the system tries to write a dump ( succesfully ) in the dump device.


Maybe I forgot to adjust some files before the disk change? ( ex. /stand/rootconf or /etc/lvmconf/vgXX.conf )
And how to loadfile od, strings, xd, adb ?

Thank you to all for any information provided.
Alessandro
if you don't try, you'll never know if you are able to
2 REPLIES 2
Devender Khatana
Honored Contributor

Re: Try to recover LVM records ( rx2600, Itanium2, hpux11iv2 )

Hi,

How did you copied file system from first disk to the second disk? I do not think you followed standard root mirroring procedure which is causing this.

Morover some of the commands you mentioned should be in /bin. You will not be albe to get most of them which reside in /usr as that is not yet mounted. You can try mounting / & /usr file systems here.

HTH,
Devender
Impossible itself mentions "I m possible"
Florian Heigl (new acc)
Honored Contributor

Re: Try to recover LVM records ( rx2600, Itanium2, hpux11iv2 )

You might be able to work around this quite easy IF the new disk is accessible from the rescue shell by using it's / and /usr filesystems.

regarding loadfile: it can only load what is available :>
yesterday I stood at the edge. Today I'm one step ahead.