help: how to set multiple luns support in RH AS4 ( with kernel 2.6.9-42.ELsmp )
闫鹏 ( Yan Peng )
yanpeng at mx.cei.gov.cn
Wed Oct 10 01:54:42 UTC 2007
Hi, everyone:
I'd like to ask a question on setting rhas4 support multiple luns. The details are as the following:
The platform is RH AS4 (Linux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux). And the iscsi rpm packages installed are
iscsi-initiator-utils-4.0.3.0-5
iscsi-initiator-utils-debuginfo-4.0.3.0-5
Then, I'd like to install Bakbone backup server and a QUANTUM virtual library with Model DX3000 through iSCSI connected. I have set the iscsi.conf as the below:
DiscoveryAddress=172.16.1.17
OutgoingUsername=test
OutgoingPassword=abcdef123456
LUNs=0-255
While I started iscsi service at rhas4 server, the messages log file is as the below:
Oct 10 09:29:29 backup2 iscsi: iscsi config check succeeded
Oct 10 09:29:29 backup2 kernel: iscsi-sfnet: Loading iscsi_sfnet version 4:0.1.11-3
Oct 10 09:29:29 backup2 kernel: iscsi-sfnet: Control device major number 254
Oct 10 09:29:29 backup2 iscsi: Loading iscsi driver: succeeded
Oct 10 09:29:34 backup2 iscsid[3088]: version 4:0.1.11-4 variant (15-Jan-2007)
Oct 10 09:29:34 backup2 iscsi: iscsid startup succeeded
Oct 10 09:29:34 backup2 iscsid[3089]: error on line 486 of /etc/iscsi.conf, ignoring unrecognized line LUNs=0-25
5
Oct 10 09:29:34 backup2 iscsid[3092]: Connected to Discovery Address 172.16.1.17
Oct 10 09:29:34 backup2 kernel: iscsi-sfnet:host15: Session established
Oct 10 09:29:34 backup2 kernel: scsi15 : SFNet iSCSI driver
Oct 10 09:29:34 backup2 kernel: Vendor: QUANTUM Model: DX3000 6532501 Rev: 0301
Oct 10 09:29:34 backup2 kernel: Type: Medium Changer ANSI SCSI revision: 02
Oct 10 09:29:34 backup2 kernel: Attached scsi generic sg2 at scsi15, channel 0, id 0, lun 0, type 8
Oct 10 09:29:34 backup2 scsi.agent[3115]: changer at /devices/platform/host15/target15:0:0/15:0:0:0
Now the server can only know the library ,not the drivers included in the library. I suppose maybe the rhas4 or iscsi service not support multiple luns. And I also have known the wrong parameter luns=0-255 in iscsi.conf.
But how do I set to make the server support multiple luns and know both library and drivers it including?
Many thanks.
Yan Peng )
yanpeng at mx.cei.gov.cn
2007-10-10
More information about the Redhat-install-list
mailing list