HP-UX HB v13.00 Ch-13 - LVM

HP-UX Handbook Rev 13.00 Page 87 (of 110)
Chapter 13 LVM
October 29, 2013
that couldn't be queried.
** Steps to boot into maintenance mode and active. :
1. shutdown -hy now
2. interrupt boot sequence
3. boot from primary boot path and interact with ISL
NOTE: Procedure used for steps 2 and 3 may very slightly depending
on machine model.
4. enter the following at the IPL> prompt:
IPL> hpux -lm (;0)/stand/vmunix
or
IPL> hpux -lm
6. Retry the vgreduce -f command specified in step 4.
This time the vgreduce should succeed and give you a message
similar to: "PV with key # sucessfully deleted from vg /dev/vg_name".
It should also display:
Repair done, please do the following steps:
1. save /etc/lvmtab to another file
2. remove /etc/lvmtab
3. use vgscan(1m) -v to recreate /etc/lvmtab
4. NOW use vgcfgbackup(1m) to save the LVM setup
Follow the above steps.
vgdisplay /dev/vg_name should now show Cur PV and Act PV
agree.
vgscan
1. PROBLEM vgscan returns error:
# vgscan -v
Creating "/etc/lvmtab".
vgscan: Couldn't access the list of physical volumes for volume
group "/dev/vgXX".