On 06/12/2009 01:16 AM, TheR wrote:
> Using open-iscsi as initiator on ubuntu 9.04.
>
>
> I want to set up virtual environment with iscsi target server which is
> ubuntu based. On target decided to use single tid under which I create
> multple LUN-s, which represent disks used by initiator which is KVM
> server. One LUN becomes a disk used by one virtual machine on KVM
> server.
>
> My problem is when I create new LUN on target (under same tid), this
> LUN doesn't get recognized by initiator without restarting initiator
> iscsi service. Which in return breaks all curently running machines on
> KVM server.
>
> I have seen same behaviour on Red Hat 5.1.
>

On RHEL 5.3 and newer, upstream and probably ubuntu (not sure what 
version is in there), you can do

iscsiadm -m session -r $SID --rescan

(SID is in iscsiadm -m session -P 3)

or

iscsiadm -m node -T target --rescan

or

iscsiadm -m node --rescan
iscsiadm -m session --rescan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to