From owner-freebsd-questions@FreeBSD.ORG Tue Jun 3 09:12:48 2008 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 1B03C106566B for ; Tue, 3 Jun 2008 09:12:48 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE948FC18 for ; Tue, 3 Jun 2008 09:12:47 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m539BuXE070897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Jun 2008 10:11:58 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <48450B08.6040806@unsane.co.uk> Date: Tue, 03 Jun 2008 10:12:40 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: kalin m References: <4844293F.7020507@el.net> <484438B1.5020202@unsane.co.uk> <484441D8.8050207@el.net> <48445F45.70604@unsane.co.uk> <48448134.9080808@el.net> <484482E1.5010207@el.net> In-Reply-To: <484482E1.5010207@el.net> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mfi freebsd7 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: Tue, 03 Jun 2008 09:12:48 -0000 kalin m wrote: > sorry for the double posting.... just to update: > > i installed also the linux-megamgr same result: > Failed to open driver node /dev/megadev0 > > after linking megadev0 to mfi0 it can not see the version... it gets > more and more pathetic by the minute... > odd that it wouldnt install as it did for me just now. Is your ports tree up to date? I'm guessing not since the latest version reference in ports is 1.01.40 and you found and got the 1.01.09 rpm/zip try updating your ports to the latest tree (portsnap is my method of choice but csup works fine too :) then try cd /usr/ports/sysutils/linux-megacli && make install clean Be sure to pay attention to the post-install message as it tells you about whats needed in the way of kernel modules and sysctl variables as well as what periodic config is available. We do have a server at work using the LSI Logic / Symbios Logic MegaRAID SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0 config, each VPS running web/mail/ftp for a number between 1 and 100 websites, so they seem to perform well enough, this is a linux server though. If you've been sold a RAID1 array i'd imagine thats what you have unless you have reason to believe otherwise. It will appear as a singe block device (/dev/mfid0) to the operating system though as you have see. Vince > > > > > kalin m wrote: >> thanks Vince... i didnt wanted to install the linux base because a >> lot of kids will be running some 'cool' boards or blogs that probably >> have cool linux holes too. but just for the hell of it and for he >> purpose to get to the controller i did. it took a while to find the >> Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the >> LSI site (anymore) either.. anyway after a lot of rpm downloads and >> patching and variable changing and fs mountings i get this: >> >> # /usr/local/sbin/megacli -adpCount >> ERROR:Could not detect controller. >> >> Controller Count: 0. >> >> >> pretty neat system... >> >> >> now what?! >> >> >> >> >> Vince Hoffman wrote: >>> kalin m wrote: >>>> megarc, right... read about it.. here: >>>> >>>> # megarc -AllAdpInfo help >>>> usage : >>>> cmd -AllAdpInfo >>>> : prints info of all cards >>>> >>>> >>>> ..... ok ..... >>>> >>>> # megarc -AllAdpInfo >>>> >>>> >>>> ********************************************************************** >>>> MEGARC MegaRAID Configuration >>>> Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA >>>> >>>> ********************************************************************** >>>> [Note: For SATA-2, 4 and 6 channel controllers, please specify >>>> Ch=0 Id=0..15 for specifying physical drive(Ch=channel, >>>> Id=Target)] >>>> >>>> Type ? as command line arg for help >>>> >>>> No Adapters Found Error: No MegaRaid Found >>>> >>>> >>>> ?!?!?! does that mean that there is no raid? why then the df >>>> output? the machine is supposed to have 4 250gig SAS drives. >>>> >>> >>> Its more likely that megarc doesnt support the newer controllers >>> which is a shame. you might have more luck with >>> sysutils/linux-megacli since that explicitly mentions LSI MegaRAID >>> SAS, I wish they would make the util open source though. Will mean >>> you need the linux-base port installed and linux.ko loaded. >>> >>> A RAID1 config shoudl suit a busy webserver well. >>> >>> Vicne >>> >>> >>> >>>> >>>> thanks... >>>> >>>> >>>> >>>> >>>> >>>> Vince Hoffman wrote: >>>>> kalin m wrote: >>>>>> hi all... >>>>>> >>>>>> a hosting facility build a new dedicated server for me and looking >>>>>> at the dmesg i see: >>>>>> >>>>>> mfi0: port 0xec00-0xecff mem >>>>>> 0xfc480000-0xfc4bffff,0xfc440000-0xfc47ffff irq 16 at device 0.0 >>>>>> on pci1 >>>>>> mfi0: Megaraid SAS driver Ver 2.00 >>>>>> >>>>>> for df i get: >>>>>> Filesystem Size Used Avail Capacity Mounted on >>>>>> /dev/mfid0s1a 496M 197M 259M 43% / >>>>>> devfs 1.0K 1.0K 0B 100% /dev >>>>>> /dev/mfid0s1e 496M 12K 456M 0% /tmp >>>>>> /dev/mfid0s1f 661G 636M 608G 0% /usr >>>>>> /dev/mfid0s1d 8.7G 1.4M 8.0G 0% /var >>>>>> >>>>>> >>>>>> i asked for raid1. i cant find too much information about the mfi >>>>>> driver. just that it works with freebsd 7. >>>>>> >>>>> >>>>> you might want to look at sysutils/megarc and possibly >>>>> sysutils/linux-megamgr so you can more closely monitor/investigate >>>>> your array. >>>>> >>>>> Vince >>>>> >>>>>> i'll keep looking but - has anybody successfully deployed >>>>>> production servers using the LSI MegaSAS 1078 in RAID1 on a very >>>>>> busy web server? >>>>>> is there any loss in performance using that hardware in RAID1? >>>>>> any performance loss in RAID1 at all? >>>>>> >>>>>> >>>>>> thanks... >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-questions@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to >>>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe@freebsd.org" >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe@freebsd.org" >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org"