通过文件系统名,找到lv名
/u01>lsfs /u01
Name Nodename Mount Pt VFS Size Options Auto
Accounting
/dev/oradata -- /u01 jfs2 891289600 rw yes
no
查找lv归属的vg
/u01>lslv -L oradata
LOGICAL VOLUME: oradata VOLUME GROUP: datavg
LV IDENTIFIER: 00ce3a0400004c000000012703b9d405.1 PERMISSION: read/wri
查找vg包含的pv
/u01>lspv
hdisk0 00ce3a04030c587b rootvg active
hdisk1 00ce3a04fd0bc5fe rootvg active
hdisk2 none None
hdisk3 none None
hdisk4 none None
hdisk5 none None
hdisk6 none None
hdisk7 none None
hdisk8 none None
hdisk9 none None
hdisk10 none None
hdisk11 none None
hdisk12 none None
hdisk13 none None
hdisk14 none None
hdisk15 none None
hdisk16 none None
hdisk17 none None
vpath0 00ce3a0403b987bf None
vpath1 00ce3a0403b9426f datavg active
vpath2 00ce3a0403b94da5 datavg active
vpath3 00ce3a0403b95495 datavg active
同上
/u01>lsvg -p datavg
datavg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
vpath1 active 599 0 00..00..00..00..00
vpath2 active 599 0 00..00..00..00..00
vpath3 active 599 96 00..00..00..00..96
查看是否属于本地硬盘、阵列、Vpath
lsdev -Cc disk|grep vpath3 # VPATH
vpath3 Available Data Path Optimizer Pseudo Device Driver
lsdev -C|grep disk2 # 本地硬盘
hdisk2 可用 00-08-00 SAS Disk Drive
lsdev -C|grep disk2 # 磁盘阵列
hdisk3 Available 08-08-01 1814 DS4700 Disk Array Device
阅读(1491) | 评论(0) | 转发(0) |