From owner-freebsd-questions@FreeBSD.ORG Fri Mar 6 13:10:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DEB1106564A for ; Fri, 6 Mar 2009 13:10:54 +0000 (UTC) (envelope-from Daan@vehosting.nl) Received: from VM01.VEHosting.nl (unknown [IPv6:2001:470:1f14:32d::1:140]) by mx1.freebsd.org (Postfix) with ESMTP id 0DE4C8FC0A for ; Fri, 6 Mar 2009 13:10:53 +0000 (UTC) (envelope-from Daan@vehosting.nl) Received: from [192.168.72.10] (124-54.bbned.dsl.internl.net [92.254.54.124]) (authenticated bits=0) by VM01.VEHosting.nl (8.14.3/8.13.8) with ESMTP id n26DAqtt001960; Fri, 6 Mar 2009 14:10:52 +0100 (CET) (envelope-from Daan@vehosting.nl) From: Daan Vreeken Organization: VEHosting.nl - Vitsch Electronics Hosting To: Christopher Key Date: Fri, 6 Mar 2009 14:10:34 +0100 User-Agent: KMail/1.9.10 References: <49AFE0DF.9000003@cam.ac.uk> <200903060103.16752.Daan@vehosting.nl> <49B11A77.2040801@cam.ac.uk> In-Reply-To: <49B11A77.2040801@cam.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903061410.35051.Daan@vehosting.nl> x-ve-auth-version: mi-1.0.3 2008-05-30 - Copyright (c) 2008 - Daan Vreeken - VEHosting x-ve-auth: authenticated as 'pa4dan' on VM01.VEHosting.nl Cc: freebsd-questions@freebsd.org Subject: Re: SATA Port Multipliers in FreeBSD (6.3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 13:10:54 -0000 On Friday 06 March 2009 13:43:35 Christopher Key wrote: > Daan Vreeken wrote: > > Hi Christopher, > > > > On Thursday 05 March 2009 15:25:35 Christopher Key wrote: > >> Hello, > >> > >> I'm looking to substantially expand the storage on my FreeBSD 6.3 home > >> media server. With regards hardware, the simplest way to attach large > >> numbers of drives seem to be to use SATA port multipliers, but I've be= en > >> unable to find any consensus on their level of support in FreeBSD. I'm > >> currently looking at a RocketRAID 2314 and SiI3726 based port > >> multipliers. Has any had any experience with this combination? > > > > The Sil3726 works very well if you run a recent enough version of > > FreeBSD. We use the device in a custom storage appliance. I don't know > > the RocketRAID 2314 though. You need a SATA 2.0 controller for Port > > Multipliers to work. > > I'm pretty sure the RocketRAID 2314 is a SATA 2.0 controller. I've > references in places to it supporting port multipliers, but have been > unable to to find any further details on quite what this means. To be > honest, I don't fully understand how the ATA system fits together. > HighPoint offer a FreeBSD driver, but I don't know whether this replaces > functionality within FreeBSD, or is an additional requirement. Nor do I > know whether port multiplier support is the responsibility of the ATA > driver, the ATA controller, both or either, nor whether the ATA > controller being a RAID card in JBOD mode affects anything. I was > thinking that for the RR2314 to work with port multipliers whilst it was > doing hardware RAID, it must fully understand how to address drives > behind a port multiplier and might do the same in JBOD mode, simply > presenting the ATA driver with a list of drives. Whether this is valid > reasoning, I've no idea. If the RR2314 controller really does RAID in hardware, then the OS would on= ly=20 see the resulting big 'disks', without needing to know where they came from= =20 and if they are behind Port Multipliers or not. I suspect (but I'm not sure here) that RAID on the RR2314 is implemented by= =20 the driver instead of the hardware. In that case, the OS (or at least the vendor's own driver) needs to know ho= w=20 to handle Port Multipliers. The current state of Port Multipliers in FreeBSD (at least, in the version= =20 we're using on our appliance here) is that it is working very well, but lac= ks=20 some features. Hot-plugging disks for example doesn't work. All disks need = to=20 be present when the system is power up. For us this isn't a problem. > > FreeBSD has (experimental) support for Port Multipliers since the > > following commit : =2E.. > > On Thursday 10 April 2008 15:05:05 S=F8ren Schmidt wrote: > >> sos 2008-04-10 13:05:05 UTC > > Thanks, I've found the relevent revision in SVN, > http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D178067 > > I'll read through the diffs to see if I can get a better idea of how > everything works. I you would like to know more about the technical details, I would recommen= d=20 reading the 'Port Multiplier' part of the SATA 2 spec, which can be found=20 here : http://cvs.codeyard.net/svn/SiI24/doc/pm_1_1_Gold.pdf Or you could read this summary on sata-io.org : http://www.sata-io.org/portmultiplier.asp Regards, =2D-=20 Daan Vreeken VEHosting http://VEHosting.nl tel: +31-(0)40-7113050 / +31-(0)6-46210825 KvK nr: 17174380