Operating System - HP-UX
1834800 Members
2515 Online
110070 Solutions
New Discussion

Re: mount external boot disc for reading - urgent!

 
Torsten.
Acclaimed Contributor

Re: mount external boot disc for reading - urgent!

Why vg00?
You'll need a new vg for the new disk.
You can't import it to an existing vg.

Check also the directory /etc/lvmconf for unused entries. if there is vg00 is configured only, there have to be this files:

vg00.conf
vg00.conf.old




Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

The 735 has a HFS disk and a VxFS disk (very old configuration)
The j200 had a LVM boot disk

vgchange says at the end: volume group "/dev/vg00" couldn't be activated.

Could I have destroyed the LVM infos?

Which mount command could I try?
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

Hi again,

there was no vg on the ws before:
/etc/fstab:
/dev/dsk/c2t6d0 / hfs defaults 0 1
/dev/dsk/c2t5d0 /disk2 vxfs rw,suid,delaylog,datainlog 0 1
/dev/dsk/c2t5d0 /disk2 swap end,pri=0 0 0
cadfek1:/opt/pro /opt/pro nfs rw,bg,hard 0 0
cadfek1:/opt/CoCreate_V11 /opt/CoCreate_V11 nfs rw,bg,hard 0 0
netcad:/home/users /users nfs rw,bg,hard 0 0
netcad:/home/pe_user /pe_user nfs rw,bg,hard 0 0
netcad:/home/apk_archive /apk_archive nfs rw,bg,hard 0 0
netcad:/home/kb_archive /kb_archive nfs rw,bg,hard 0 0
netcad:/home/pro17 /pro19 nfs rw,suid 0 0
netcad:/home/pro18 /pro nfs rw,bg,hard 0 0
netcad:/home/gpl /gpl nfs rw,bg,hard 0 0
netcad:/home/ivt_archive /ivt_archive nfs rw,bg,hard 0 0
netcad:/home/cadim /cadim nfs rw,bg,hard 0 0
/dev/dsk/c2t6d0 / swapfs min=0,lim=32768,pri=1 0 2

*** Say 'Thanks' with Kudos ***
Torsten.
Acclaimed Contributor

Re: mount external boot disc for reading - urgent!

cross geraete verweis - cross device links message points to lvlnboot problems. Check lvlnboot -v. This should only show the original boot disk. Restore the information with

lvlnboot (see man page) and try again.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: mount external boot disc for reading - urgent!

You have a non lvm structure on your disk. I haven't seen this since hp-ux 9. Of course, it's possible with later versions too.
What OS version is on that system?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

It's 10.20

so lvlnboot -v only shows my new vg, but as 'not activ'
*** Say 'Thanks' with Kudos ***
Robert-Jan Goossens_1
Honored Contributor

Re: mount external boot disc for reading - urgent!

V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

rj - vgchgid only works for EMC discs.

vgimport -v /dev/vg01 says:

Import begins
volume(device?) cannot be read


*** Say 'Thanks' with Kudos ***
Robert-Jan Goossens_1
Honored Contributor

Re: mount external boot disc for reading - urgent!

V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

rj - yes I can see it.

In the dokument - I don't understand this lines:

To match the group of disks to a single volume group do the following:
FYI: 0x2008?4 is always the offset of the lvm data structure.

# echo 0x2008?4D|adb /dev/dsk/c0t0d4

Maybe too late today - I'll continue tomorrow

Thanks V.
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

hmm - how to check if the disk is ok or not??
*** Say 'Thanks' with Kudos ***
Robert-Jan Goossens_1
Honored Contributor

Re: mount external boot disc for reading - urgent!

# dd if=/dev/rdsk/cxtydz of=/dev/null bs=512kb
Raj D.
Honored Contributor

Re: mount external boot disc for reading - urgent!

Hi Volkmar ,

Try to check the disk if it is ok or not,
try reading the disk with dd as follows:

dd if=/dev/dsk/c0t0d4 of=/dev/null bs=1024

[Press Ctrl+c to stop ]

* and keep an eye on the LED of the disk, it should keep glowing.., If not the disk is having problem.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

dd works (rj - with k instead of kb)

so it seems like I damaged/formated the boot sector of the disk

It would have been better to select 'volume groups' in SAM instead of 'disks devices'

There's also the possibility to import vg's.

I tried to create a new logical volume (over the existing?) and this didn't work.

Thanks to all!
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: mount external boot disc for reading - urgent!

Thanks - I believe all would have worked - I should have asked earlier :-(

I hope I can read an older backup tape of the ws.
*** Say 'Thanks' with Kudos ***