From owner-freebsd-isp@FreeBSD.ORG Mon Jun 19 21:24:03 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5B4416A47A for ; Mon, 19 Jun 2006 21:24:03 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3696043D53 for ; Mon, 19 Jun 2006 21:24:03 +0000 (GMT) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 12BD3B851 for ; Mon, 19 Jun 2006 17:24:02 -0400 (EDT) Received: from 35st-server.simplicato.com (static-71-249-233-130.nycmny.east.verizon.net [71.249.233.130]) by zoraida.natserv.net (Postfix) with ESMTP id A5C4AB84D for ; Mon, 19 Jun 2006 17:24:01 -0400 (EDT) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: FreeBSD ISP Date: Mon, 19 Jun 2006 17:24:01 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: NFS automounting. Stable for mail servers? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 21:24:04 -0000 Anyone successfully using an automounter in a busy Maildir mail hosting environment? In particular any comments on stability and whether you are using the FreeBSD built in amd or the am-utils port. Didn't find much on archives, but the little I found was individuals having problems. A fellow ISP mentioned he tried the built in amd and had problems, but he tried on a pre 6.X environment (may have been 4.X). Our setup has a number of front end mail machines accesing nfs servers. To distribute the load we create directories like /mail-server1 /mail-server2 /mail-server3 Each of the front end machines mounts all the servers from fstab. Problem with that is that if loading from fstab if one of the nfs servers freezes the front end machines may have problems while trying to access the downed nfs server. Right now we only have a very small number of servers, but as the number of servers increase the more likely a single downed sever will affect all of the front end machines. From owner-freebsd-isp@FreeBSD.ORG Tue Jun 20 14:15:37 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99F5916A479 for ; Tue, 20 Jun 2006 14:15:37 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AA6B43D58 for ; Tue, 20 Jun 2006 14:15:33 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 167EC79CAC; Tue, 20 Jun 2006 10:15:55 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 948D179BA9; Tue, 20 Jun 2006 10:15:53 -0400 (EDT) Received: from lists by mappit.local.linnet.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fsh0q-0001Uz-Mb; Tue, 20 Jun 2006 15:15:28 +0100 Date: Tue, 20 Jun 2006 15:15:28 +0100 From: Brian Candler To: Francisco Reyes Message-ID: <20060620141528.GA5731@uk.tiscali.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: FreeBSD ISP Subject: Re: NFS automounting. Stable for mail servers? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 14:15:37 -0000 On Mon, Jun 19, 2006 at 05:24:01PM -0400, Francisco Reyes wrote: > Our setup has a number of front end mail machines accesing nfs servers. > To distribute the load we create directories like > /mail-server1 > /mail-server2 > /mail-server3 > > Each of the front end machines mounts all the servers from fstab. Problem > with that is that if loading from fstab if one of the nfs servers freezes > the front end machines may have problems while trying to access the downed > nfs server. That's true, but you'd want to be a bit careful with an automounter; you don't want your MTA to create /mail-server1/u/s/username/Maildir on the front-end's local disk if /mail-server1 was not mounted! What would you expect the front-end to do if a user whose mail is on /mail-server1 connects, but /mail-server1 is down? You could add a check to the application code to check for this case. Or, perhaps more simply, you could just use a 'soft mount' for NFS, and let it fail. I've not tested this myself. I've built clusters around Netapps and they are too reliable :-) As for automount, I don't use that either, but I wouldn't expect much problem if you were just auto-mounting /mail-server1, /mail-server2, /mail-server3 and leaving them mounted. I expect the problems you refer to are when user1 connects and you automount /mail-server1/u/s/user1/ (that is, thousands of automounts and unmounts taking place all the time) Regards, Brian. From owner-freebsd-isp@FreeBSD.ORG Tue Jun 20 20:43:02 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BC4016A47D for ; Tue, 20 Jun 2006 20:43:02 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51D4343D83 for ; Tue, 20 Jun 2006 20:42:48 +0000 (GMT) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 1A4ACB84B; Tue, 20 Jun 2006 16:42:47 -0400 (EDT) Received: from 35st-server.simplicato.com (static-71-249-233-130.nycmny.east.verizon.net [71.249.233.130]) by zoraida.natserv.net (Postfix) with ESMTP id 175F2B81D; Tue, 20 Jun 2006 16:42:46 -0400 (EDT) References: <20060620141528.GA5731@uk.tiscali.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Brian Candler Date: Tue, 20 Jun 2006 16:42:45 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: FreeBSD ISP Subject: Re: NFS automounting. Stable for mail servers? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 20:43:02 -0000 Brian Candler writes: > That's true, but you'd want to be a bit careful with an automounter; you > don't want your MTA to create /mail-server1/u/s/username/Maildir on the > front-end's local disk if /mail-server1 was not mounted! The mail machines are only doing IMAP/POP clients. > What would you expect the front-end to do if a user whose mail is on > /mail-server1 connects, but /mail-server1 is down? That connection, for that one user, should freeze or fail. What I am looking for is to not affect users from /mail-server2 on the same mail client. > You could add a check to > the application code to check for this case. Using Courier. > myself. I've built clusters around Netapps and they are too reliable :-) Don't think one of those will fit our current budget ;-) > As for automount, I don't use that either, but I wouldn't expect much > problem if you were just auto-mounting /mail-server1, /mail-server2, > /mail-server3 and leaving them mounted. Another sys admin for another company told me he had issues with the amd built in.. but that was likely in 4.X. In addition there is a port too. I wonder which one is more reliable. From owner-freebsd-isp@FreeBSD.ORG Tue Jun 20 20:46:52 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B53916A47C for ; Tue, 20 Jun 2006 20:46:52 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8464343D62 for ; Tue, 20 Jun 2006 20:46:36 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id E291F7A4D9; Tue, 20 Jun 2006 16:46:57 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id A371F78EB6; Tue, 20 Jun 2006 16:46:56 -0400 (EDT) Received: from brian by mappit.local.linnet.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fsn7J-0001mE-3q; Tue, 20 Jun 2006 21:46:33 +0100 Date: Tue, 20 Jun 2006 21:46:33 +0100 From: Brian Candler To: Francisco Reyes Message-ID: <20060620204633.GA6813@uk.tiscali.com> References: <20060620141528.GA5731@uk.tiscali.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: FreeBSD ISP Subject: Re: NFS automounting. Stable for mail servers? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 20:46:52 -0000 On Tue, Jun 20, 2006 at 04:42:45PM -0400, Francisco Reyes wrote: > >What would you expect the front-end to do if a user whose mail is on > >/mail-server1 connects, but /mail-server1 is down? > > That connection, for that one user, should freeze or fail. > What I am looking for is to not affect users from /mail-server2 on the same > mail client. And this doesn't happen with soft mounts (-o soft) ? From owner-freebsd-isp@FreeBSD.ORG Thu Jun 22 01:20:20 2006 Return-Path: X-Original-To: isp@freebsd.org Delivered-To: freebsd-isp@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 652E816A47C for ; Thu, 22 Jun 2006 01:20:20 +0000 (UTC) (envelope-from mike@lanline.com) Received: from mail.lanline.com (mail.lanline.com [216.187.0.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF48A43D45 for ; Thu, 22 Jun 2006 01:20:19 +0000 (GMT) (envelope-from mike@lanline.com) Received: from localhost (mike@localhost) by mail.lanline.com (8.11.6/8.11.2) with ESMTP id k5M1KIC27829 for ; Wed, 21 Jun 2006 21:20:18 -0400 (EDT) Date: Wed, 21 Jun 2006 21:20:18 -0400 (EDT) From: To: isp@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: megaraid controller X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 01:20:20 -0000 Anyone know how to tell if a hardware raid controller is in degrated mode through camcontrol or any other command line util? I know on boot it'll show up in the dmesg, but I want to do it without that if possible. thanks. -mike From owner-freebsd-isp@FreeBSD.ORG Thu Jun 22 05:00:11 2006 Return-Path: X-Original-To: isp@freebsd.org Delivered-To: freebsd-isp@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C409816A47B for ; Thu, 22 Jun 2006 05:00:11 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3922C43D7D for ; Thu, 22 Jun 2006 05:00:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 2766D1FFDD4; Thu, 22 Jun 2006 07:00:09 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id A05A61FFDD3; Thu, 22 Jun 2006 07:00:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 497804448D6; Thu, 22 Jun 2006 04:59:54 +0000 (UTC) Date: Thu, 22 Jun 2006 04:59:53 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: mike@lanline.com In-Reply-To: Message-ID: <20060622045800.T60374@maildrop.int.zabbadoz.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: isp@freebsd.org Subject: Re: megaraid controller X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 05:00:11 -0000 On Wed, 21 Jun 2006, mike@lanline.com wrote: Hi, > Anyone know how to tell if a hardware raid controller is in degrated mode > through camcontrol or any other command line util? > > I know on boot it'll show up in the dmesg, but I want to do it without > that if possible. sysutils/amrstat (if you are on RELENG_6 or HEAD, was committed 1 week ago) sysutils/megarc (should work too even on 4,5) -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-isp@FreeBSD.ORG Thu Jun 22 07:02:06 2006 Return-Path: X-Original-To: isp@freebsd.org Delivered-To: freebsd-isp@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE98416A590 for ; Thu, 22 Jun 2006 07:01:54 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.FreeBSD.org (Postfix) with SMTP id DE1BF44281 for ; Thu, 22 Jun 2006 06:30:13 +0000 (GMT) (envelope-from simon@optinet.com) Received: (qmail 30235 invoked by uid 110); 22 Jun 2006 06:30:25 -0000 Received: from unknown (HELO win2kpc1) (simon%optinet.com@69.112.30.152) by cobra.acceleratedweb.net with SMTP; 22 Jun 2006 06:30:25 -0000 From: "Simon" To: "isp@freebsd.org" , "mike@lanline.com" Date: Thu, 22 Jun 2006 02:36:08 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2661) For Windows 2000 (5.0.2195;4) In-Reply-To: MIME-Version: 1.0 Message-Id: <20060622063013.DE1BF44281@mx1.FreeBSD.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: megaraid controller X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 07:02:06 -0000 megarc in ports will do this, but be careful, not all of the commands are supported and some may even cause a crash. I tried to check for consistency and the server paniced. -Simon On Wed, 21 Jun 2006 21:20:18 -0400 (EDT), mike@lanline.com wrote: > >Anyone know how to tell if a hardware raid controller is in degrated mode >through camcontrol or any other command line util? > >I know on boot it'll show up in the dmesg, but I want to do it without >that if possible. > >thanks. >-mike > > >_______________________________________________ >freebsd-isp@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-isp >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > From owner-freebsd-isp@FreeBSD.ORG Fri Jun 23 17:15:21 2006 Return-Path: X-Original-To: isp@freebsd.org Delivered-To: freebsd-isp@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81CE116A49E for ; Fri, 23 Jun 2006 17:15:21 +0000 (UTC) (envelope-from reichert@numachi.com) Received: from meisai.numachi.com (meisai.numachi.com [198.175.254.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F86543D53 for ; Fri, 23 Jun 2006 17:15:19 +0000 (GMT) (envelope-from reichert@numachi.com) Received: (qmail 53610 invoked from network); 23 Jun 2006 17:15:18 -0000 Received: from natto.numachi.com (198.175.254.216) by meisai.numachi.com with SMTP; 23 Jun 2006 17:15:18 -0000 Received: (qmail 21472 invoked by uid 1001); 23 Jun 2006 17:15:17 -0000 Date: Fri, 23 Jun 2006 13:15:17 -0400 From: Brian Reichert To: mike@lanline.com Message-ID: <20060623171517.GC17264@numachi.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.10i Cc: isp@freebsd.org Subject: Re: megaraid controller X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 17:15:21 -0000 On Wed, Jun 21, 2006 at 09:20:18PM -0400, mike@lanline.com wrote: > > Anyone know how to tell if a hardware raid controller is in degrated mode > through camcontrol or any other command line util? Doesn't atacontrol work like this? # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad8 status: READY >From dmesg: ATA PseudoRAID loaded ********** ATA PseudoRAID ar0 Metadata ********** ================================================= format nVidia MediaShield type RAID1 flags 0x01 1 magic_0 0x557a925c3cb22c4d magic_1 0x61b30330621f01db generation 0 total_sectors 488395008 offset_sectors 0 heads 255 sectors 63 cylinders 30401 width 1 interleave 128 total_disks 2 disk 0: flags = 0x0b b ad4: sectors 488395008 disk 1: flags = 0x0b b ad8: sectors 488395008 ================================================= ar0: 238474MB status: READY ar0: 488395008 sectors [30401C/255H/63S] <> subdisks defined as: ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad8 at ata4-master > > I know on boot it'll show up in the dmesg, but I want to do it without > that if possible. > > thanks. > -mike > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" -- Brian Reichert 55 Crystal Ave. #286 Daytime number: (603) 434-6842 Derry NH 03038-1725 USA BSD admin/developer at large