Operating System - HP-UX
1832616 Members
3191 Online
110043 Solutions
New Discussion

Re: LVM configuration..in hp-ux 10.2

 
nagaraj_6
New Member

LVM configuration..in hp-ux 10.2

Hello..

We have two identical server HP D/230 running HP-UX 12.2.
Recently one of the server crahsed but root disk is safe.
On both the machines filesystem is created using LVM. Entire
disk is configured to single VG and many LVs. Now my requirement
is to read data on the harddisk removed from the failed machine
by connecting to the the server which is running. When I
connected the disk is recognised in the /dev/dsk/ directory.
Can anybody help me meet my task ?.

Thanks..
Nagaraj H
2 REPLIES 2
Michael Steele_2
Honored Contributor

Re: LVM configuration..in hp-ux 10.2

Give you $100.00 for both? (* I'll pay for shipping. *)
Support Fatherhood - Stop Family Law
MANOJ SRIVASTAVA
Honored Contributor

Re: LVM configuration..in hp-ux 10.2

Nagaraj


If you can sense the disk from the bad server on to the working server as a device file and you are sure that this disk has a volume group built on it then you can follow this

1. mkdir /dev/test
2. mknod /dev/vg/test/group c 64 0xAAAAAA
3. vgimport /dev/dsk/cxtydz /dev/test

AAAAAAA is a unique minor number which is not beignused by anothe vg
cxtydz is device file for the disk from the bad system

once the disk in imported then yoyu do a fsck on the lvol and mount it wiht differnt directory names , then you can access the filesystems on the disk.



Manoj Srivastava