HP-UX HB v13.00 Ch-13 - LVM
HP-UX Handbook – Rev 13.00 Page 78 (of 110)
Chapter 13 LVM
October 29, 2013
The scsimgr get_attr command should show the current setting of
leg_mpath_enable attribute value set to false, for all assosiated persistent DSFs in
the volume group.:
scsimgr get_attr -D /dev/rdisk/disk5 -a leg_mpath_enable
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk5
name = leg_mpath_enable
current = false
default = false
saved =
LVM Migration
It is recommended that in HP-UX 11i v3 persistent DSFs are used over legacy
DSFs. There are different alternatives to migrate lvm configurations from legacy to
persistent DSFs. All of them update the /etc/lvmtab automatically, and no explicit
user action is required. However some alternatives require, that for Physical Volume
Groups /etc/lvmpvg is manually edited.
Note: Each alternative updates one volume group at a time. The steps must be
repeated in the alternative chosen for all volume groups to be migrated.
1. Backup the /etc/lvmpvg file, if it exists. Deactivate and export the volume group.
Re-import the same volume group using persistent DSFs in place of legacy
DSFs. Persistent DSFs, corresponding to legacy DSFs, can be found using
ioscan –m dsf <legacy_dsf> command. Restore the backed-up /etc/lvmpvg file
and replace legacy DSFs listed under the volume group being migrated with
corresponding persistent DSFs. (in case of mulitipath devices, a single persistent
DSF can correspond to multiple legacy DSFs). The disadvantage of this method
is the necessity of volume group deactivation.
2. Run vgscan-B command followed by volume group activation.
For each of the physical volumes configured in the volume group, vgscan –B
command populates the /etc/lvmtab file with both persistent and legacy DSFs.
However, /etc/lvmtab file supports a maximum of 8 paths per physical volume.
Therefor, if a physical volume has more than 8 paths configured, only 7 are
retained in order to allow space for addition of persistent DSF.
Note: The vgscan command will not update existing volume group entries in