Home > HP-UX, Uncategorized > HP-UX fixing device names that change on a VG

HP-UX fixing device names that change on a VG

In a recent situation when the Physical Device names of a volume group changes and the VG fails to activate/mount, a rescan will be required.

First, backup lvmtab:
mv /etc/lvmtab /etc/lvmtab.old

Next, rescan for the VG information on the disks:
vgscan -a -v

This should create a new lvmtab file and the inactivated VGs should be found. Check lvmtab just in case:
strings /etc/lvmtab

Check the PVlinks information; it should show multiple paths to the same disk (assuming SAN environment):
vgdisplay -v vgxx

Next, activate you VGs that failed previously:
vgchange -a y vgxx

Resync vg information on disk:
lvlnboot -R

Categories: HP-UX, Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: