On 05/12/2011 01:30 AM, Ulrich Windl wrote:
Hi!This is not an exact open-iscsi question, but tighlty related: On a SAN using FibreChannel I had a 4-way multipath device. The basic configuration (without aliases for devices) is: devices { device { vendor "HP" product "HSV2.*" path_grouping_policy "group_by_prio" path_checker "tur" prio "alua" failback "immediate" #polling_interval 30 no_path_retry 1000 features "1 queue_if_no_path" } } I did a "LUN shrink" on the storage system (because I had created the LUN too large by mistake). During that the LUN went offline, and multipath did detect that fine. However after the LUN shrink was complete (and the LUN was supposed to be online again), multipath still blocked any access to the device (like fdisk -l). Reboot did fix it, but I'm hoping for a better solution. I'm asking theis question here, because I expect that with iSCSI the problem would have been much the same. So: 1) Did I misconfigure multipath? 2) Could I do something to make multipath rediscover the online-again paths?
I think you need to rescan the devices at the scsi layer level (like doing a echo 1 > /sys/block/sdX/device/rescan) then run some multipath to command, then run some FS and LVM commands if needed.
Here is some info for the multipath command from red hat http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch21s14s03.html -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
