Archive for the 'Technocrat' Category

By request – How to add a new LUN to RHEL using PowerPath without a reboot.

November 6th, 2008 by Daniel Raymer

Quite simple actually…

First, you need to get the HBA’s to issue a LIP and then a re-scan

  • echo 1 > /sys/class/fc_host/<host #>/issue_lip
  • echo "- – -" > /sys/class/scsi_host/<host #>/scan

Do this for every host path.

Now you just need to tell PowerPath to go do its normal discovery

  • powermt config

If you do a display, you should see the new LUN.

  • powermt display dev=all

That’s all there is to it….  go forth and fdisk!