Chequeo los valores actuales del multiapth y luego de los physical volume
# multipath -ll
Pseudo name=emcpowera Symmetrix ID=000295700059 Logical device ID=1D4E state=alive; policy=BasicFailover; queued-IOs=0 ============================================================================== --------------- Host --------------- - Stor - -- I/O Path -- -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 6 lpfc sdu FA 6eB unlic alive 0 0 4 lpfc sdk FA 11eA active alive 0 0 Pseudo name=emcpowerb Symmetrix ID=000295700059 Logical device ID=1D4D state=alive; policy=BasicFailover; queued-IOs=0 ============================================================================== --------------- Host --------------- - Stor - -- I/O Path -- -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 6 lpfc sdt FA 6eB unlic alive 0 0 4 lpfc sdj FA 11eA active alive 0 0 Pseudo name=emcpowerc Symmetrix ID=000295700059 Logical device ID=1D4C state=alive; policy=BasicFailover; queued-IOs=0 ============================================================================== --------------- Host --------------- - Stor - -- I/O Path -- -- Stats --- ### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================== 6 lpfc sds FA 6eB unlic alive 0 0 4 lpfc sdi FA 11eA active alive 0 0 FA 6eB unlic alive 0 0 4 lpfc sdf FA 11eA active alive 0 0 #
Chequeo los physical volume actuales
# pvs PV VG Fmt Attr PSize PFree /dev/emcpoweri1 vg_u01 lvm2 a-- 60.00g 0 /dev/sda2 vg_omidbsrv2 lvm2 a-- 278.88g 224.07g #
Ahora hago la magia
# /etc/init.d/PowerPath stop Stopping PowerPath: Following LVM volume groups are in use: Volume Group: vg_u01 (/dev/emcpoweri1) These open logical volume devices use LUNs from PowerPath managed devices, Please reissue the command after closing these volumes. failed # mv /etc/init.d/PowerPath /root/PowerPath # # reboot -f
Luego del Reboot hacer
# powermt display dev=all
ERROR: Cannot open PowerPath. Initialization error # pvs Found duplicate PV BKQDRy80KHl3e8ZDuJM4rws21cgjTlU0: using /dev/sdc1 not /dev/sdq1 PV VG Fmt Attr PSize PFree /dev/sda2 vg_omidbsrv2 lvm2 a-- 278.88g 224.07g /dev/sdc1 vg_u01 lvm2 a-- 60.00g 0 # rpm -qa |grep -i emc EMCpower.LINUX-5.7.1.00.00-029.el6.x86_64 # rpm -e EMCpower.LINUX-5.7.1.00.00-029.el6.x86_64 # yum install device-mapper-multipath # cd / # cp ./usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf /etc/multipath.conf # service multipathd start Starting multipathd daemon: [ OK ] # multipath -ll # chkconfig multipathd on #
No hay comentarios:
Publicar un comentario
Comentarios