Re: dynamic behaviour of device name

2008-06-20 Thread HIMANSHU

Only solution to this will be changing the IET code.


On Jun 21, 9:21 am, HIMANSHU <[EMAIL PROTECTED]> wrote:
> Hi Vaibhav,
>
> I am facing similar problem after restart that Disks on the initiator
> side becomes inaccessible.
> Which service are you restarting? iscsi-target service?
> Did you modified it?
> Probably on sensing "iscsi-target" restart on initiator side,you might
> be relogging to it.
> At that time,it might take a different disk if earlier device name
> busy somewhere.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: dynamic behaviour of device name

2008-06-20 Thread HIMANSHU

Hi Vaibhav,

I am facing similar problem after restart that Disks on the initiator
side becomes inaccessible.
Which service are you restarting? iscsi-target service?
Did you modified it?
Probably on sensing "iscsi-target" restart on initiator side,you might
be relogging to it.
At that time,it might take a different disk if earlier device name
busy somewhere.



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: dynamic behaviour of device name

2008-06-20 Thread Padmanabhan

Hello Vaibhav,
I started a thread for similar issue
http://groups.google.com/group/open-iscsi/browse_thread/thread/5e417afbddb5e271/6034c90dd5a4965b?lnk=gst&q=by-uuid+#6034c90dd5a4965b

But i did not follow due to other issues...My distro is Fedora Core 8
with 2.6.23-15.137fc8 kernel
If you come across solution.. please share the info

Thanks
Padmanabhan
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: dynamic behaviour of device name

2008-06-20 Thread Konrad Rzeszutek

On Fri, Jun 20, 2008 at 02:34:31AM -0700, [EMAIL PROTECTED] wrote:
> 
> Hi ,
> 
> i am using the open-iscsi there is 7 target and 1 initatiator . when
> we restart the iscsi service he gives different naming i.e when we
> start service it gives sda sdb sdc sde sdf sdg sdh
> and when i again restart it gives sdi sdj sdk sdl sdm sdn sdo.
> 
> why this happen please tell me.

The SCSI middle layer keeps a counter for every new structure and increments
it whenever a new is created (it doesn't decrement the deleted ones).


> We want when we restart service it must give same  names because we
> create a raid array using that devices and mount it using fstab if
> name changes it crash

You might consider looking at archives on this mailing list and look for

/dev/disk-by-id
/dev/disk-by-uuid

or /dev/disk-by-name

Those are persistent even if the block device name changes from sda->sdi.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---