Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 31 Mar 2003 06:44:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 31 Mar 2003 06:44:12 -0500 Received: from [203.124.139.208] ([203.124.139.208]:37311 "EHLO pcsbom.patni.com") by vger.kernel.org with ESMTP id ; Mon, 31 Mar 2003 06:44:11 -0500 Reply-To: From: "chandrasekhar.nagaraj" To: Subject: Problem created by Zoning on Linux Date: Mon, 31 Mar 2003 17:57:09 +0530 Message-ID: <000001c2f780$da0265e0$e9bba5cc@patni.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1397 Lines: 37 Hi, We are trying to create zoning (IO fencing) on our storage device. The zoning is to be done on the LUN basis, so that a particular HBA will accesses the only those LUNs which are assigned to it. We have two HBA cards residing on different Hosts. We have created 8 LUNs (from 0 to 7). Now we want to give access to only 4 LUNs from each HBA card. So we have given access to LUN 0 to 3 from HBA card 1. Also LUN 4 to 7 is to be accessed from HBA card 2. When we did the above, we observed that the Host, which has access to LUN 0 to 3, is working fine. i.e. its /proc/scsi/scsi is showing entries corresponding to LUN 0 to 3. Also 4 scsi devices are created & can be viewed in /proc/partitions. But the second Host, which should have access to LUN 4 to 7, has some problem. The /proc/partitions does not show any scsi device file. Also /proc/scsi/scsi does not entries corresponding to LUN 4 to 7; but it have only one entry corresponding to LUN 0 (which should not be allowed). So, is there any restriction on Linux that the LUN number should start with 0 only?? If so, then what is the solution/workaround? Thanks and Regards Chandrasekhar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/