Well It works, thanks to "fishingjts", Sebastien Daubigne, Daniel Jaime and Grzegorz Bakalarski for thier quick response. The solution was to create the file /kernel/drv/glm.conf with the following contents: ####################################### device-type-scsi-options-list = "easyRAID Q12", "easy-scsi-options"; easy-scsi-options = 0x147ff8; ####################################### "easyRAID Q12" was taken from running the probe-scsi-all command, the "0x147ff8" part i got from adding 40000 to what the original scsi-options was set to. /Mats Here is my original question, followd by the answeres I got: ----------------------------------------------------------------------------- --------------------------------- Hi, I'm sure someone have seen this problem before. I'm trying to get an sun 210 see more than 8 luns from a scsi-attached sataraid. I have added entries for lun0-11 in /kernel/drv/sd.conf, but the only ones that gets seen by the system is 0-7. Is it possible to get more than 8 luns? what file do I need to change? and what do I put in it? I have tried googling and seen some referenses to A1000 where you add some drivers and change the glm.conf file, but thats for sun-disks and I'm trying to make it work for an easyraid. /Mats ----------------------------------------------------------------------------- --------------------------------- Hi, Don't know, however in sataraid boxes I use it is possible to define few target on the same scsi port, so I have 8 luns on target 2 (c2t2dx x=0,..,7) and 4 luns on targer 3 (c2t3dy y=0,3) Good luck, ----------------------------------------------------------------------------- --------------------------------- what kind of SCSI are you using? Narrow SCSI (which only 50 pins) or Wide SCSI (with 68 pins)? The first one supports only 7 LUN (the eightth one is the controler itself), the second one 15 (plus 1 for the controler). ----------------------------------------------------------------------------- --------------------------------- Did you adjust the "scsi_options" kernel variable ? If not, you'll probably have to set the proper bits according to "/usr/include/sys/scsi/conf/autoconf.h" : /* * the following 3 bits are for being able to limit the max. number of LUNs * a nexus driver will allow -- "default" means that the adapter will * continue its default behaviour */ #define SCSI_OPTIONS_NLUNS_MASK (0x70000) #define SCSI_OPTIONS_NLUNS_DEFAULT 0x00000 #define SCSI_OPTIONS_NLUNS_1 0x10000 #define SCSI_OPTIONS_NLUNS_8 0x20000 #define SCSI_OPTIONS_NLUNS_16 0x30000 #define SCSI_OPTIONS_NLUNS_32 0x40000 #define SCSI_OPTIONS_NLUNS(n) ((n) & SCSI_OPTIONS_NLUNS_MASK) /* This is for Solaris 8, check your own version of Solaris. To get the value of scsi_options, you can try this : echo "scsi_options/X" | adb -k You can set the variable globaly in /etc/system or per-controler via proper module configuration file (glm.conf, ...). ----------------------------------------------------------------------------- --------------------------------- I think you are on the right track with the glm.conf. The glm driver is actually the pci scsi hba driver so I think you need to have an entry in the glm.conf. Our glm looks like: device-type-scsi-options-list = "Symbios StorEDGE A1000", "lsi-scsi-options", "Symbios StorEDGE A3000", "lsi-scsi-options", "SYMBIOS RSM Array 2000", "lsi-scsi-options"; lsi-scsi-options = 0x407f8; So you need to know what name your array presents and then what scsi options need to be set... ----------------------------------------------------------------------------- --------------------------------- _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Sep 29 11:27:36 2005
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:51 EST