On 08/10/2012 04:34 AM, parveen kumar wrote:
> oki Mike.
>
Thanks.
One thing that is not clear to me, is why you have to do the logout then
relogin? Are you doing this because you have a app or FS using the iscsi
disk, and it gets IO errors when you get the conn errors?
Or, are you doing the relogin because the /dev/sdX is automatically
removed when you see the conn errors messages? If this is happening what
version of open-iscsi are you using and where did you get it
(
open-iscsi.org or some distro)?
In /var/log/messages do you see
session recovery timed out after 120 secs
(the value for the secs may be different for you if you modified it in
iscsid.conf or with iscsiadm).
> On Thu, Aug 9, 2012 at 10:54 PM, Michael Christie <
mich...@cs.wisc.edu
> <mailto:
mich...@cs.wisc.edu>> wrote:
>
> In the future can you post these questions to the open-iscsi mailing
> list? This is the last time I will respond privately. It is best ti
> post on the list so others can see the answer (people searching in
> google for similar problems in the future).
>
> It changes name because you probably still have some app/user with a
> reference to the device. When yourelogin the scsi layer will then
> give you a different name.
>
> You should not be using the sdX types of names, because they are not
> persistent. You should use the udev names in /dev/disk/.
>
> On Aug 9, 2012, at 3:17 AM, parveen kumar <
coolbu...@gmail.com
> <mailto:
coolbu...@gmail.com>> wrote:
>
> > Hi Mike Christie,
> >
> > ok , but what about /dev/sdb, first time its showing me /dev/sda
> then connection bracked and i had tried again and next its showing
> /dev/sdb
> > means if network disruption again i have to edit /etc/fstab ?
> >
> > Regards,
> > PARVEEN
> >
> > On Thu, Aug 9, 2012 at 11:26 AM, Michael Christie
> <
mich...@cs.wisc.edu <mailto:
mich...@cs.wisc.edu>> wrote:
> > There was a probably a network disruption that caused the
> initiator to lose the connection
> >
> > On Aug 9, 2012, at 12:11 AM, parveen kumar <
coolbu...@gmail.com
> <mailto:
coolbu...@gmail.com>> wrote:
> >
> > > Hello Mike Christie,
> > >
> > > Few days back i mounted 2TB volume through ISCSI from SAN box in
> my server. After mounting the 2TB space i am bale to see partition
> /dev/sda of 2TB on my server.
> > > But after 5-6 days m not able to write data on /dev/sda, then i
> see conncetion is lost and iscsi connection is braked, so i tried
> again to login to target with this command:
> > > # iscsiadm -m node -T target_iqn_name -p ipaddress -l
> > > after this, login is sucessfull, then i put command:
> > > # fdisk -l
> > > its showing me /dev/sdb of 2TB size
> > > i m not able to understand what happend, first time its showing
> me /dev/sda then connection bracked and i had tried again and next
> its showing /dev/sdb
> > > please help me to sort out this problem......
> > >
> > >
> > > --
> > > .
> > >
> >
> >
> >
> >
> > --
> > .
> >
>
>
>
>
> --
> *.*
>
> --
> You received this message because you are subscribed to the Google
> Groups "open-iscsi" group.
> To post to this group, send email to
open-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
open-iscsi+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/open-iscsi?hl=en.