HP-UX 11i v3 LVM New Features in HP-UX 11i v3 (September 2009)

22
2
5
e (Mbytes) 4
1279
n
1024
ume is owned by LVM, do the following:
/c4t3d0
VM, do the following:
Bootable=yes
Group Scanning and Supports Persistent DSF
introduced in March
200 ds entries for volume
grou vers volume group
info searching for LVM disks.
-f <
all the volume groups.
oups in /etc/lvmtab or /etc/lvmtab_p
m to /etc/lvmtab or
ot search for additional volume groups other than the one specified with the
-k
This option provides a mechanism to make
vgscan faster. It skips the disk probe portion of the vgscan,
and retrieves volume group information only from the LVM data structures in kernel memory.
Note: With this option,
vgscan
only adds activated volume groups to /etc/lvmtab and /etc/lvmtab_p. For
deactivated volume groups, no information is added to /etc/lvmtab or /etc/lmvtab_p.
-N
Recover /etc/lvmtab and /etc/lvmtab_p files using persistent DSFs, with the exception of active volume
groups configured with legacy DSFs. In this case,
vgscan populates the /etc/lvmtab and /etc/lvmtab_p
files using legacy DSFs.
-B
Recover /etc/lvmtab and /etc/lvmtab_p files using both persistent and legacy DSFs. You can use this
option to migrate a volume group configured with legacy DSFs to use corresponding persistent DSFs.
Allocatable yes
VGDA
Cur LV
zPE Si
Total PE
Free PE 779
Allocated PE 500
0 Stale PE
eo t (S condIO Tim u e s) default
OAutoswitch
Data Start
Data End 34638688
Boot Disk no
Relocated Blocks 61
On Proactive Polling
To check whether the physical vol
# pvdisplay –l /dev/dsk
/dev/dsk/c4t3d0:LVM_Disk=yes
# pvdisplay -l /dev/disk/disk96
/dev/disk/disk96:LVM_Disk=no
To find out the data start and data end of a bootable physical volume owned by L
# pvdisplay –l –u /dev/disk/disk34_p2
/dev/disk/disk34_p2:LVM_Disk=yes:Data_Start=2912:Data_End=34638688:
vgscan - Scans Faster, Per Volume
The
vgscan command recovers the LVM configuration files, /etc/lvmtab and /etc/lmvtab_p (
8 release of HP-UX 11i v3). It scans all physical volumes for LVM volume groups and ad
ps that are missing from /etc/lvmtab and /etc/lvmtab_p. The
vgscan command reco
rmation by using LVM data structures in kernel memory, and by probing all devices,
v3,
vgscan
has the following new options: In HP-UX 11i
vgs>
With this option
vgscan works on per volume group basis rather than scanning for
This option replaces any existing entries related to these volume gr
with updated entries. If the specified volume groups are missing,
vgscan adds the
/etc/lvmtab_p.
Note:
vgscan -f
does n
command and does not report unconfigured volume groups.