From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 31 04:05:00 2007 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CC6B16A474 for ; Wed, 31 Oct 2007 04:05:00 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id E7CCC13C4A7 for ; Wed, 31 Oct 2007 04:04:59 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l9V3jZES099544; Tue, 30 Oct 2007 21:45:36 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4727FA4A.2000708@samsco.org> Date: Tue, 30 Oct 2007 21:45:14 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: Borja Marcos References: <78A4617F-59F8-4CB2-9BFD-B6E9FD86A9C8@sarenet.es> In-Reply-To: <78A4617F-59F8-4CB2-9BFD-B6E9FD86A9C8@sarenet.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Tue, 30 Oct 2007 21:45:36 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: MFI and passthrough X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 04:05:00 -0000 The passthrough interface is really only meant for doing management tasks like SMART monitoring and firmware flashes. I've also seen it used for low-duty devices like tape drives. I do not recommend using it to directly control disks in a primary fashion. However, since this is open source, I won't prevent you from trying =-) Try the following patch: --- mfi_cam.c 12 Oct 2007 16:52:55 -0000 1.3 +++ mfi_cam.c 31 Oct 2007 03:42:25 -0000 @@ -344,9 +344,11 @@ command = ccb->csio.cdb_io.cdb_bytes[0]; if (command == INQUIRY) { device = ccb->csio.data_ptr[0] & 0x1f; +#if 0 if ((device == T_DIRECT) || (device == T_PROCESSOR)) csio->data_ptr[0] = (device & 0xe0) | T_NODEVICE; +#endif } break; } I do believe that Dell does sell a direct attached disk option for the 2950/1950 called the PERC5/e. It's essentially an LSI MPT-SAS controller that directly replaces the PERC5/i card that you have now. It should be able to control all 6 disk slots, and can do both SAS and SATA. Scott Borja Marcos wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I'm trying to set up a machine with FreeBSD 7, using ZFS, and I'm > running into problems. > > The machine is a Dell Poweredge 2950, and includes a PERC/5i card and > six disks. As I'm using ZFS I don't > need the array functionality at all, and it's actually causing problems > if I just create six logical volumes. > > I have seen that there is a "mfip" device that works as a passthough, so > I have tried to destroy the six > logical volumes I had created. Using the GENERIC kernel I had installed > with the distribution (which includes > the mfi driver) I've loaded the mfip module from the boot command line. > > After booting, a "camcontrol devlist" shows the six disks, but only as > "passthrough devices". How can I make > them be attached as disks? I've tried to use the "da" driver (using > device.hints) but I have been unsuccessful. > > Unfortunately Dell doesn't sell a non-array option for this machine > supporting 6 disks. The non-array option, which > I think is based on SATA, supports only four. > > Any ideas? The PERC/5i plain sucks for this purpose. I tried to unplug > one of the disks (remember that I have a separate > logical volume for each disk) and the card renumbered the rest of the > logical disks, making the ZFS pool unusable until > I rebooted, erased the PERC config, and recreated the six logical volumes. > > > Thank you very much, > > > > > > > > > Borja. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (Darwin) > > iD8DBQFHJ1i+ULpVo4XWgJ8RAnxfAKCfLueqEI8ow79d6lIt2RJepKuo6wCgwrCs > pp9zXb9QAtUnHo4kyn70WE8= > =gydj > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"