星期二, 9月 15, 2015

如何清除EMC powerpath dead lun path

#Backup mappings

/opt/EMCpower/bin/emcpadm export_mappings -f /tmp/emcp_exports.txt

/opt/EMCpower/bin/emcpadm import_mappings -f /tmp/emcp_exports.txt

 

#Remove mappings

mv /etc/emcp_devicesDB.dat  /etc/emcp_devicesDB.dat.old

mv /etc/emcp_devicesDB.idx /etc/emcp_devicesDB.idx.old

 

 

powermt display class=clariion dev=all

#clean dead link

yes | powermt restore dev=all

#clean dead link

powermt check dev=all class=clariion force

#detect new lun

powercf -q

powermt config

powermt save

#in OS , detect new lun

devfsadm -Cvc disks

powermt display dev=all |more

fcinfo hba-port

#檢查是否disable MPXIO

stmsboot -L

powermt manage class=clariion

powermt display

powermt display dev=all

dd if=/dev/rdsk/emcpower1a of=/dev/zero count=10

 

ref:

 

http://stivesso.blogspot.tw/2014/01/oracle-solaris-11-powermt-display-dev.html

https://support.symantec.com/en_US/article.HOWTO32554.html

http://unix.stackexchange.com/questions/65369/storage-becomes-unmanaged-after-solaris-and-powerpath-upgrade

 

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...