- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- NETAPP LUN - strange error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 10:31 PM
тАО09-11-2008 10:31 PM
NETAPP LUN - strange error
we assigned 1024 MB LUN to the sles10. then we configure the sles10 as iscsi-initiator, not problem every thing went smooth.
but
# lsscsi
[11:0:0:0] no dev NETAPP LUN 0.2 -
in the 2nd column of output you can see "no dev" instead of disk, and the last column is "-" instead of /dev/sdX.
# tail -f /var/log/messages
Sep 11 13:28:57 backup002 kernel: Loading iSCSI transport class v2.0-754.
Sep 11 13:28:57 backup002 kernel: iscsi: registered transport (tcp)
Sep 11 13:28:57 backup002 iscsid: iSCSI logger with pid=12020 started!
Sep 11 13:28:57 backup002 kernel: scsi11 : iSCSI Initiator over TCP/IP
Sep 11 13:28:57 backup002 kernel: scsi: unknown device type 31
Sep 11 13:28:57 backup002 kernel: Vendor: NETAPP Model: LUN Rev: 0.2
Sep 11 13:28:57 backup002 kernel: Type: Unknown ANSI SCSI revision: 04
Sep 11 13:28:57 backup002 kernel: 11:0:0:0: Attached scsi generic sg0 type 31
*****following line is strange*****
Sep 11 13:28:57 backup002 kernel: scsi: host 11 channel 0 id 0 lun2340 has a LUN larger than allowed by the host adapter
Sep 11 13:28:58 backup002 iscsid: transport class version 2.0-754. iscsid version 2.0-754
Sep 11 13:28:58 backup002 iscsid: an InitiatorAlias= is required, but was not found in /etc/iscsi/initiatorname.iscsi
Sep 11 13:28:58 backup002 iscsid: iSCSI sync pid=12022 started
Sep 11 13:28:58 backup002 iscsid: iSCSI daemon with pid=12021 started!
Sep 11 13:28:58 backup002 iscsid: connection0:0 is operational now
What I did is that I disconnect the san from iscsi-initiator, delete the 1 GB LUN from NETAPP, re-create/assign a LUN of 7 GB to sles 10... and problem gone
now
# lssci
[12:0:0:20] disk NETAPP LUN 0.2 /dev/sda
and no strange messages in /var/log/messages
please comment/recommend/suggest/explain
what does following message means
host 11 channel 0 id 0 lun2340 has a LUN larger than allowed by the host adapter
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 03:22 AM
тАО09-12-2008 03:22 AM
Re: NETAPP LUN - strange error
Device types are used to, well, tell the type of the attached device, e.g. disk, tape drive, media changer, CD-ROM, ...
A disk has device type 0 in standard SCSI, I don't know what 31 means. I thought that the max. value is 15, but it might have been expanded for iSCSI (I don't have time to check, sorry).
> Sep 11 13:28:57 backup002 kernel: scsi: host 11 channel 0 id 0 lun2340 has a LUN larger than allowed by the host adapter
Many host bus adapters and device drivers limit the addressable LUN range to 0..255. That looks like a presentation error on the NetApp to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2008 06:37 PM
тАО09-14-2008 06:37 PM
Re: NETAPP LUN - strange error
> Many host bus adapters and device drivers limit the addressable LUN range > to 0..255.
hmm.. sorry didnt get this "addressable LUN range to 0..255" ? please explain.
>That looks like a presentation error on the NetApp to me.
I think you are right, because when we assign the LUN of 5 GB or above, we didnt receives the following message:
"kernel: scsi: host 11 channel 0 id 0 lun2340 has a LUN larger than allowed by the host adapter"
The above message only receives when we assign 1024 MB LUN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2008 09:42 PM
тАО09-15-2008 09:42 PM
Re: NETAPP LUN - strange error
Each SCSI adapter is one node. It might have one or more channels - on every channel is a 'bus'.
On each bus there are zero to many targets, numbered 0..n.
A target can have one or more LUNs. Depending on the type of SCSI protocol, the range of valid LUN addresses can be
- between 0..7 (parallel SCSI)
- 0..31 (some advanced SCSI)
- 0..255 (Peripherial Device LUN addressing, by many Fibre Channel components)
- 0..16384? (Volume Set Addressing, as used by HP-UX)
> kernel: scsi: host 11 channel 0 id 0 lun2340
Host 11 is the address of the iSCSI software adapter, channel 0, [target] id 0, LUN [adress] 2340
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2008 10:10 AM
тАО09-17-2008 10:10 AM
Re: NETAPP LUN - strange error
AFAIK, there isn't any limitation on the "smaller" LUN . Since the message is from the kernel i would recommend your iscsi configuration file (/etc/iscsi.conf or which ever is applicable in your case) or any adapter specific configuration file( i am not sure if any)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2008 10:43 PM
тАО09-18-2008 10:43 PM
Re: NETAPP LUN - strange error
If you are asking for iSCSI configuration files/directories when the LUN was 1024 MB(that I deleted because its not working), so I cant provide you because I have deleted the LUN(1024 MB), destroy the configuration at iscsi-initiator(sles10).
But I am sending the configuration file(/etc/iscsi) from the same iscsi-initiator(sles10) machine, but this time LUN size is 7 GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2008 10:46 PM
тАО09-18-2008 10:46 PM
Re: NETAPP LUN - strange error
so the tarball attached in the previous post, is from a properly working iscsi-client(sles10)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2008 08:58 AM
тАО09-19-2008 08:58 AM
Re: NETAPP LUN - strange error
1TB is 2^31 = 2147483648(10) = 80000000(16) blocks
Is it possible that some component does work with signed integers??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2008 06:38 PM
тАО09-21-2008 06:38 PM
Re: NETAPP LUN - strange error
>1TB is 2^31 = 2147483648(10) = 80000000(16) blocks
>Is it possible that some component does work with signed integers??
I didnt get you Dear Uwe Zessin ? I mean how did you got the "1 TB" I mean from where you find 1 TB .. is it mention in the configuration file, I sent ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2008 07:53 PM
тАО09-21-2008 07:53 PM
Re: NETAPP LUN - strange error
you wrote that there is a problem with a LUN size of 1024 MB.
1024MB = 1TB.
Can you create a 999MB or 1023MB LUN und see if access it still possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2008 06:17 PM
тАО09-22-2008 06:17 PM
Re: NETAPP LUN - strange error
>1024MB = 1TB.
1024 MB = 1 GB
>Can you create a 999MB or 1023MB LUN und see >if access it still possible?
I'll let you know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2008 12:27 AM
тАО09-23-2008 12:27 AM
Re: NETAPP LUN - strange error
i.e
# lsscsi
[11:0:0:0] no dev NETAPP LUN 0.2 -
# tail -f /var/log/messages
ep 23 03:40:10 test kernel: scsi4 : iSCSI Initiator over TCP/IP
Sep 23 03:40:10 test kernel: scsi: unknown device type 31
Sep 23 03:40:10 test kernel: Vendor: NETAPP Model: LUN Rev: 0 .2
Sep 23 03:40:10 test kernel: Type: Unknown ANSI S CSI revision: 04
Sep 23 03:40:10 test kernel: 4:0:0:0: Attached scsi generic sg2 type 31
Sep 23 03:40:10 test kernel: scsi: host 4 channel 0 id 0 lun777 has a LUN larger than allowed by the host adapter
Sep 23 03:40:10 test iscsid: connection1:0 is operational now
Sep 23 03:40:16 test iscsid: iSCSI logger with pid=4562 started!
Sep 23 03:40:16 test iscsid: transport class version 2.0-724. iscsid version 2.0 -868
Sep 23 03:40:16 test iscsid: Can not bind IPC socket
I have attached the /etc/iscsi directory, from the machine(sles10 iscssi-inititator) which is facing/having the said/above problem
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2008 12:28 AM
тАО09-23-2008 12:28 AM
Re: NETAPP LUN - strange error
# rcopen-iscsi restart
Closing all iSCSI connections: Logging out of session [sid: 1, target: iqn.1986- 03.com.ibm:sn.135025842, portal: 10.200.3.207,3260]
Logout of [sid: 1, target: iqn.1986-03.com.ibm:sn.135025842, portal: 10.200.3.20 7,3260]: successful
done
Stopping iSCSI initiator service: done
Starting iSCSI initiator service: done
Attempting discovery on target at 10.200.3.207: done
Setting up iSCSI targets: Logging in to [iface: default, target: iqn.1986-03.com .ibm:sn.135025842, portal: 10.200.3.207,3260]
Login to [iface: default, target: iqn.1986-03.com.ibm:sn.135025842, portal: 10.2 00.3.207,3260]: successful
done
test:/etc/iscsi # iscsiadm -m node
10.200.3.207:3260,2000 iqn.1986-03.com.ibm:sn.135025842
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 12:42 AM
тАО05-14-2009 12:42 AM
Re: NETAPP LUN - strange error
i have the same error. Have you found a solution?