LVM

 
Ed Rockhold
Occasional Contributor

LVM

I have an external disk box with four disk drives each its own logical volume. The old system crashed and I want to move them to another system with HP-UX 10.2 installed. The original system was 10.2 also. Can anyone give me a proceedure to add these disks.
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: LVM

Hi Ed,

Connect the disk to the "new" system. Run ioscan -fnCdisk to find the new disk devices.

Create a file with the device names.
# vi /tmp/disk_to_add
/dev/dsk/cxtydx
/dev/dsk/cztxdy
etc

Check if vg01 is not used and the minor number is free.
# ll /dev/*/group
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgimport -f /tmp/disk_to_add /dev/vg01
# vgchange -a y /dev/vg01
# vgdisplay -v vg01
create mountpoints for your filesystems
# fsck -F vxfs/hfs /dev/vg01/rlvol1
change the hfs or vxfs into your old filesystem type. Same for the other three filesystems.
# mount /dev/vg01/lvol1 /your_mount_point

Hope this helps,
Robert-Jan
James R. Ferguson
Acclaimed Contributor

Re: LVM

Hi Ed:

At the risk of nit-picking, which I am, there was never a '10.2' release. I believe that you are referring in this , and in previous threads, to '10.20.

Regards!

...JRF...