Storage
IBM Sub System Device Driver (SDD)
List all Vpath devices and their states
# lsvpcfg vpath0 (Avail pv lotus02) 50014562 = hdisk2 (Avail ) hdisk19 (Avail ) vpath1 (Avail pv lotus02) 50114562 = hdisk3 (Avail ) hdisk20 (Avail )
- datapath query device
Total Devices : 17
DEV#: 0 DEVICE NAME: vpath0 TYPE: 2105F20 SERIAL: 50014562
Path# Adapter/Hard Disk State Mode Select Errors
0 fscsi1/hdisk2 OPEN NORMAL 2634286 0
1 fscsi0/hdisk19 OPEN NORMAL 2639371 0
- datapath query adapter
Active Adapters :8
Adpt# Name State Mode Select Errors Paths Active
0 fscsi2 NORMAL ACTIVE 799440626 0 44 44
1 fscsi0 NORMAL ACTIVE 797798530 0 44 44
2 fscsi1 NORMAL ACTIVE 785716308 0 44 44
To fixe a DPO Vpath Volume group that has mixed vpath and hdisk volumes.
# dpovgfix vg00
EMC Powerpath
To configure all the emc hdisks, run emc_cfgmgr script. This script invokes the AIX cfgmgr tool to probe each adapter bus separately
To remove the Symettrix hdisks
# lsdev -CtSYMM* -Fname | xargs -n1 rmdev -dl
To remove hdisks corresponding to CLARiiON devices
# lsdev -CtCLAR* -Fname | xargs -n1 rmdev -dl
To probe all emc disks
# inq
To set up multipathing to the root device
# pprootdev on
To Remove all hdiskpower devices
# lsdev -Ct power -c disk -F name | xargs -n1 rmdev -l
To find out which hdiskpower device contains hdsik132
# powermt display dev=hdisk132 Pseudo name=hdiskpower38 Symmetrix ID=000100006216 Logical device ID=006C state=alive; policy=SymmOpt; priority=0; queued-IOs=0 ------------ Host ---------- - Stor - -- I/O Path - -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors 0 fscsi0 hdisk132 FA 14bA active alive 0 0 1 fscsi1 hdisk223 FA 14bB active alive 0 0 1 fscsi1 hdisk314 FA 14bA active alive 0 0
HP Autopath
# dlnkmgr view -drv PathID HDevName Device LDEV 000000 dlmfdrv0 hdisk2 XP1024.40318.04DB 000001 dlmfdrv0 hdisk30 XP1024.40318.04DB 000002 dlmfdrv1 hdisk3 XP1024.40318.0522 000003 dlmfdrv1 hdisk31 XP1024.40318.0522
To remove all the DLM drives
# dlmrmdev dlmfdrv0 deleted dlmfdrv1 deleted dlmfdrv10 deleted
To clear the SCSI reserves on the disks
#dlmpr -a -c
/usr/DynamicLinkManager/drv/dlmfdrv.conf
MPIO
To list all the paths which are in Enabled status
# lspath -s ena -Fname -p fscsi0 # chpath -s ena -l hdisk0 paths Enabled