Display status and characteristics of the PV:
#lspv hdisk69Display PP usage of hdisk69 and allocation by region on the disk:
#lspv -p hdisk69To list all logical volumes on PV hdisk69:
#lspv -l hdisk69Close the PV (Used while removing PV without varyon):
#chpv -v r hdisk69Open the PV:
#chpv -v a hdisk69Clear the master boot record on PV hdisk69:
#chpv -c hdisk69Clear the VGDA off the PV hdisk69:
#chpv -C hdisk69To move PPs from PV hdisk69 to hdisk96:
#migratepv hdisk69 hdisk96To migrate LV testlv from PV hdisk69 to hdisk96:
#migratepv -l testlv hdisk69 hdisk96To modify ALLOCATABLE to NO:
#chpv -an hdisk69To modify ALLOCATABLE to YES:
#chpv -ay hdisk69To add PVID to disk:
#chdev -l hdisk69 -a pv=yesTo remove PVID of disk:
#chdev -l hdisk69 -a pv=clearTo check PVID of the disk:
#lqueryvg -h /dev/hdisk69#od -x /dev/hdisk69 | headTo give details of the volume group info for the hard disk:
#lqueryvg -Atp /dev/hdisk69As a side note, in specific configurations (like SSD multipathing or EMC PowerPath) it is common to see hdiskX devices without PVID and not belonging to any volume group. Pay attention, this doesn't mean they are free to use. It is perfectly normal in these configurations and the "free" disks are actually the paths of the "real" ones.
For example in case of:
- SSD multipathing, the usable disk name is:
vpathX- EMC PowerPath, the disk name is
hdiskpowerXBelow you have an example of SSD multipathing configuration as shown in
lspvcommand:
#lspv
hdisk0 00987ss9d9sds923 rootvg
hdisk1 none None
hdisk2 none None
hdisk3 none None
hdisk4 none None
vpath0 00cb3e924851ar12 lamevg2
In the example above, vpath0 is the real disk and hdisk1, hdisk2, hdisk3 and hdisk4 are the paths:
vpath0 Available Data Path Optimizer Pseudo Device Driver
hdisk1 Available 01-01-02
U789D.001.DQD35BK-P1-C2-T2-W5005076801402F1D-L22000000000000 FC 2145
hdisk3 Available 01-01-02
U789D.001.DQD35BK-P1-C2-T2-W5005076801402F2D-L22000000000000 FC 2145
hdisk3 Available 03-00-02
U789D.001.DQD35PG-P1-C6-T1-W5005076801302F2D-L22000000000000 FC 2145
hdisk4 Available 03-00-02
U789D.001.DQD35PG-P1-C6-T1-W5005076801302F1D-L22000000000000 FC 2145
- Log in to post comments
- 18647 views