Date: Thu, 4 Oct 2007 00:52:02 +0200 (CEST) From: "Kirill Ponazdyr" <lists@codeangels.com> To: freebsd-questions@freebsd.org Subject: Re: SAN LUN masking and LUNs over 7 Message-ID: <4532.192.168.2.137.1191451922.squirrel@www.codeangels.com>
next in thread | raw e-mail | index | archive | help
Allright, Will answer myself. > a) FreeBSD never scan the LUNs on the san storage device if lun 0 is masked (hidden) there Apparently this is normal. http://lists.freebsd.org/pipermail/freebsd-scsi/2003-July/000363.html So I have to create "placeholder" slice on raid array with lun 0, this will not be used by any host for anything, just be there and visible to anyone as Read Only. > b) FreeBSD never scan any LUNs over lun 7 on the san storage device Two ways to change this: sysctl kern.cam.cam_srch_hi=1 This produces some wierd behaviour though, some of the raid arrays delivered hundreds of luns, even though they only had couple of them. Second, better and safer way: edit sys/cam/cam_xpt.c, adjust CAM_SCSI2_MAXLUN to maximum lun number you wish to scan by default. In our case: 32 Recompile Kernel. Kirill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4532.192.168.2.137.1191451922.squirrel>