From owner-freebsd-questions@FreeBSD.ORG Thu Jun 5 19:07:06 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 166701065731 for ; Thu, 5 Jun 2008 19:07:06 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [64.81.218.253]) by mx1.freebsd.org (Postfix) with ESMTP id 8A82E8FC1D for ; Thu, 5 Jun 2008 19:07:05 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 71267 invoked by uid 1008); 5 Jun 2008 20:08:36 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 5 Jun 2008 20:08:36 -0000 Message-ID: <48483956.1060900@el.net> Date: Thu, 05 Jun 2008 15:07:02 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Vince Hoffman 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> <48450B08.6040806@unsane.co.uk> In-Reply-To: <48450B08.6040806@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Thu, 05 Jun 2008 19:07:06 -0000 hi vince... thank you for the advice. i did update my ports and install the 1.01.40 version... i have the linux-base installed and the linprocfs and linsysfs mounted.. but still nothing substantial happening: # megacli -adpCount Controller Count: 0. any other ideas?! thanks... Vince Hoffman wrote: > 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" >>> > >