LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Is is possible to update vg00 and lvmtab details

 
Rajesh Kumar Singh
Occasional Visitor

Is is possible to update vg00 and lvmtab details

Hi,

I did disk renumbering as per following link:

http://h30499.www3.hp.com/t5/System-Administration/FREE-PROCEDURE-Renumber-disk-devices-on-HP-UX-11-31-including/m-p/5153033#M455070


lvmtab and lvlnboot has not been updated as per new disk numbering. lvmtab has old disk entries of volume group vg00.... please suggest how can I change it.

Current lvmtab
---------------
/dev/vg00
/dev/disk/disk4_p2
/dev/disk/disk5_p2

I want to change to:
--------------------
/dev/vg00
/dev/disk/disk0_p2
/dev/disk/disk1_p2

Same thing happened for "lvlnboot -v".... Please suggest so that I can resolve the issue. This is creating problem in making cluster setup.

2 REPLIES 2
Shibin_2
Honored Contributor

Re: Is is possible to update vg00 and lvmtab details

Rename the current lvmtab and keep it as a backup.

# mv /etc/lvmtab /etc/lvmtab_olddisk

Run vgscan to recreate the lvmtab

# vgscan

Verify that you have correct disk details in lvmtab.
Regards
Shibin
sarfaraj ahmad
Trusted Contributor

Re: Is is possible to update vg00 and lvmtab details

Hi Rajesh,

please take a copy of current lvmtab file and do vgscan to update the VG information and its disk.

vgscan will update the /etc/lvmtab file with latest information.