From owner-freebsd-stable@FreeBSD.ORG Thu Feb 12 18:33:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 782BA10656E0 for ; Thu, 12 Feb 2009 18:33:12 +0000 (UTC) (envelope-from repcsike@gmail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id BE53C8FC14 for ; Thu, 12 Feb 2009 18:33:11 +0000 (UTC) (envelope-from repcsike@gmail.com) Received: by bwz18 with SMTP id 18so1534377bwz.19 for ; Thu, 12 Feb 2009 10:33:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=qaVZut6TGiVjQLaLVxWj6kURPM0Zg7hzCWNlCuZRCLI=; b=aVXZRmwfm3N0TLZzosmXyBspKA07psdFjPFWZFdNjv88Ff1cmw9CLvFGt08L0Iwcb7 kF/EJttfcVOxJrGKyhzhRpWu7sem98G5GyzNYVzvp6mlqJ6Iegvk9iVC72kWIJt8DFtn hW8Fxg8jWt7fvpLrxKpweH8+Qy1kswW0G+uGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZAgvTbRqUrM9wGjK78JZ93f0mGZOV9t4mANj9/xvg4hPMgbeS0SwqMPd/Rd7s2U+80 Az9w7aQhGFTUckTM75RB7YDGulY+MsSSch23iWdgnaT0lECTZXIOxS9CAEfop1D4KRyv LpTyJVH7ogwxa6FcL0sf+Zk6mR76AWwBZHR4Y= MIME-Version: 1.0 Received: by 10.223.110.211 with SMTP id o19mr1497579fap.57.1234463590608; Thu, 12 Feb 2009 10:33:10 -0800 (PST) In-Reply-To: <4994644D.8070102@thekeelecentre.com> References: <4994644D.8070102@thekeelecentre.com> Date: Thu, 12 Feb 2009 19:33:10 +0100 Message-ID: From: Kevin Smith To: Richard Tector Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Problem with SATA/SAS 5iR X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 18:33:13 -0000 2009/2/12 Richard Tector > Kevin Smith wrote: > >> Hi, >> >> I have a problem with a Dell Poweredge SC440 computer. >> It's equipped with a "Dell SATA/SAS 5iR" controller, it's from LSI >> actually >> (maybe megaraid). >> >> I'm using FreeBSD 7.1 Release >> >> I have 2x 500 GB SATA in a synchronised(status optimal) RAID-1 logical >> volume. >> >> The machine is brand new, first problem arised early after the installer >> started to install the files, the install was very slow, (I know it is >> because write cache is not enabled, that can be done with a management >> program, and I will enable it later) and sysinstall could not install the >> ports collection, the error it gave was >> "write error on transfer to cpio process, try of 1024 bytes" after OK, >> write error popped up. >> >> I found this error too, but I found no clue what could have happened. >> >> Installing the system without the ports collection (installed it later >> with >> cvsup)in another run gave no error at all, and in dmesg is see the logical >> volume: >> >> mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares High-Priority-ReSync ) >> mpt0:vol0(mpt0:0:0): Using Spare Pool: 0 >> mpt0:vol0(mpt0:0:0): 2 Members: >> (mpt0:1:32:0): Primary Online >> (mpt0:1:1:0): Secondary Online >> mpt0:vol0(mpt0:0:0): RAID-1 - Optimal >> mpt0:vol0(mpt0:0:0): Status ( Enabled ) >> (mpt0:vol0:1): Physical (mpt0:0:1:0), Pass-thru (mpt0:1:0:0) >> (mpt0:vol0:1): Online >> (mpt0:vol0:0): Physical (mpt0:0:32:0), Pass-thru (mpt0:1:1:0) >> (mpt0:vol0:0): Online >> da0 at mpt0 bus 0 target 0 lun 0 >> da0: Fixed Direct Access SCSI-5 device >> da0: 300.000MB/s transfers >> da0: 476837MB (976562176 512 byte sectors: 255H 63S/T 60788C) >> >> It looks OK, but then I found this after typing "df -h", and it gives me >> the >> creeps: >> >> Filesystem Size Used Avail Capacity Mounted on >> /dev/da0s1a 496M 138M 318M 30% / >> devfs 1.0K 1.0K 0B 100% /dev >> /dev/da0s1e 3.9G 14K 3.6G 0% /tmp >> /dev/da0s1f 440G 537M 404G 0% /usr >> /dev/da0s1d 2.9G 1.3M 2.7G 0% /var >> >> I'm reading the freebsd-current list, and I found another buffer related >> problem there, but they say nothing about these. >> >> If you have any explanation/solution for these problems pls share them! >> >> >> > What's wrong with the dmesg? The used/available inconsistencies are due to > space being reserved. > > Regarding disk performance, you need to put hw.mpt.enable_sata_wc=1 in > /boot/loader.conf to reenable the write cache (it's disabled by default for > consistency reasons when using SATA disks leading to poor write > performance). > > Regards, > > Richard > Thanks for your advice, this was unusual for me, because even on a 4iR I couldnt see this space reservation. What about sysinstalls write error when extracting the ports collection? Regards, B.