Volker Jordan wrote:
> Am Montag, den 28.07.2008, 10:44 -0400 schrieb Ross S. W. Walker:
> >
> > Errno 22 stands for EINVAL (error in value) or "garbage in", what is your ietd.conf?
> >
>
> Target lto2library.local:iscsilto2
> Lun 0 Path=/dev/mapper/mpath1p1,Type=fileio
> Alias Lto2_Library
> MaxConnections 1
Well if that is your ietd.conf exactly, then the problem is that
you didn't indent the target options with whitespace:
Target lto2library.local:iscsilto2
Lun 0 Path=/dev/mapper/mpath1p1,Type=fileio
Alias Lto2_Library
MaxConnections 1
At least 1 whitespace indent is needed, don't worry about MaxConnections
IET doesn't do multiple connections per session so it is always 1 (it can
do multiple sessions by the same initiator though for fail-over).
Don't worry about the Alias option either as it isn't used.
Some options that you should/could have are:
InitialR2T No
ImmediateData Yes
MaxRecvDataSegmentLength 8192
MaxXmitDataSegmentLength 65536
MaxBurstLength 262144
FirstBurstLength 65536
MaxOutstandingR2T 8
HeaderDigest None
DataDigest None
Wthreads 8
QueuedCommands 64
I have found these provide decent performance for mixed workloads to
a variety of initiators.
> > And can you give an ls -l of the devices in question?
> >
>
> ls -l /dev/mapper/mpath1p1
> brw-rw---- 1 root disk 254, 2 2008-07-28 12:01 /dev/mapper/mpath1p1
>
> > Can you access the device normally? Make a file system on it and mount it?
> >
>
> Yes I can.
>
> mount /dev/mapper/mpath1p1 /mnt/iscsi/
>
Ok, well it's probably the whitespace indent, indent and try again.
-Ross
______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
|