Storage2012. 12. 20. 10:53

hdisk and vpath correspondance for IBM SAN (shark)
Description

Correspondance between phsical disks:

4 hdisk = 1 vpath = 1 physical disk

To remove all vpaths run the command:

# rmdev -dl dpo -R

To remove all fibre channel disks (2 cards in this example):

# rmdev -dl fscsi0 -R
# rmdev -dl fscsi1 -R

To recreate the hdisks run the command:
# cfgmgr -vl fcs0
# cfgmgr -vl fcs1

To recreate the vpaths run the command:

# cfallvpath

To delete a device run this command:

# rmdev -l fcs1 -d
Example

rmdev -dl dpo -R ; rmdev -dl fscsi0 -R ; cfgmgr -vl fcs0 ; cfallvpath

http://www.coolcommands.com/index.php?option=com_cccat&task=display&id=46


Posted by [TheWon]