Description of problem: Currently, when resizing a LUN on the filer, from say 40G to 50G, the changes aren't reflected on the host. For example, you started the iscsid daemon and mapped a LUN of size 40G. Then you resize the LUN on the filer to 50G. Now if you reload (using iscsiadm) the iscsi service, still the LUN is reported of size 40G on the host. To get the newly updated size a restart of the iscsid daemon is required which is disruptive is other LUNs are also mapped and mounted. Version-Release number of selected component (if applicable): RHEL5 How reproducible: Very Reproducible Steps to Reproduce: 1. Start the iscsid service mapping a LUN. 2. Now resize the LUN on the filer. 3. Do an iscsi reload on the host. 4. The LUN size reported is still the old size Actual results: The LUN is still reported to be of the older size. Expected results: The new LUN size should be reported on a reload
You can actually just do: echo 1 > /sys/block/sdX/device/rescan I think we are adding or have added a tool which does that for you, which is not iscsi specific since we want this functionality for all pretty much any driver. But when that is done and when "iscsi reload" is implemented I can hook it in. Did you make a BZ for RHEL4 too?
Mike - see bug 238413 for a request for RHEL 4.6.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Unfortunately, all features need to be included prior to Beta, and this internal deadline has passed. Moving to 5.2.
Mike - any updates to this bugzilla for 5.2 consideration?
We can probably just close this. Some code slipped into 5.1 and you can do iscsiadm -m node -T target -p portal --rescan or iscsiadm -m node --rescan or iscsiadm -m session --rescan or one of the other possible combos. Netapp please see the README and man pages for --rescan use and try it out.
NetApp: Please try RHEL 5.1, and reopen this bug if needed.