System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying the volume group configuration file

 

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
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"