Operating System - HP-UX
1748084 Members
5077 Online
108758 Solutions
New Discussion

Modifying the volume group configuration file

 
ITRC forums_2
Advisor

Modifying the volume group configuration file

Hi All,

I have restored full hp-unix 9.04 system from tape but due to some reason , lvmconf pointing to some other disk path. I want to modify the /etc/lvmconf/vg01.conf to point other disk device.

Is it possible to modify the volume group configuration file and how? Please help.

Thx,


1 REPLY 1
R.O.
Esteemed Contributor

Re: Modifying the volume group configuration file

Hi,

You have your vg01 deactivated, haven't you? If so, create a mapfile and then import vg01:

# vgexport -p -s -m /tmp/vg01.map /dev/vg01

Write down your vg01's minor number:

# ll /dev/vg01/group --> i.e.: 0x010000

Export your vg01:

# vgexport vg01

Import vg01:

# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000 (if this is your vg01's minor number)
# vgimport -s -m /tmp/vg01.map /dev/vg01

Regards,
"When you look into an abyss, the abyss also looks into you"