From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 13:58:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8EDB1065670 for ; Mon, 4 Jun 2012 13:58:53 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7589E8FC0A for ; Mon, 4 Jun 2012 13:58:53 +0000 (UTC) Received: by eaac13 with SMTP id c13so934896eaa.13 for ; Mon, 04 Jun 2012 06:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=l76r+LR1oUsDbUDO7bYyYQN4khgrXtzwiCLGV4gHeKE=; b=qnMUHTq9xm11zvVMcRICdN/UR3YQO/e+5vQhHtXTB68bC8dmchFdCZUkn+xQW0HBSA E/ac+3G/uKTgyeoDYCvZ6BGfSxdQLPokz1u6Y5XKX6aoBdAflrxZeGgy11Hq+bbvI2QH qZd6wJhCE3/3dDR17Z+aVq0vpLzX/xmDmm935OQzyBLeTmH/CYAVmBmsn4v1wUOf8y1a flVxsIg1aEqWIeg6+S4RnEPkacC5+g6wb9XkyaVEotfVBwAg+gOl558Y4QWPjoch9b8a 2GuQnGTBw5hTedFZitDP/ATX7TTWwPk7CJFfx3spFVfAT59ZBdkbuObro2cafDwzsNwK r2RQ== Received: by 10.14.127.136 with SMTP id d8mr5436604eei.159.1338818332462; Mon, 04 Jun 2012 06:58:52 -0700 (PDT) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id q53sm37625933eef.8.2012.06.04.06.58.49 (version=SSLv3 cipher=OTHER); Mon, 04 Jun 2012 06:58:50 -0700 (PDT) Message-ID: <4FCCBF18.4060309@gmail.com> Date: Mon, 04 Jun 2012 14:58:48 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd@dreamchaser.org References: <99.2A.28751.ABF1CCF4@smtp01.insight.synacor.com> <4FCC2483.5080901@gmail.com> <4FCC650A.6000201@dreamchaser.org> In-Reply-To: <4FCC650A.6000201@dreamchaser.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Thomas Mueller , freebsd-questions@freebsd.org Subject: Re: Strange case of vanishing disk 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: Mon, 04 Jun 2012 13:58:54 -0000 On 06/04/2012 08:34 AM, Gary Aitken wrote: > On 06/03/12 20:59, Kaya Saman wrote: >> this is a very strange issue but I guess will either be related to 2 >> things, PSU not being powerful enough or disk controller simply being crap. >> >>> Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS >>> server with 2x 2TB disks and 2x4TB disks as storage - all spread out >>> over 2 ZFS storage pools. Additionally I am running the root file system >>> on a 40GB SSD. >> [...] >>> _______ >>> >>> One thing I can think of is to disconnect the questionable disk from the RAID controller card and connect it directly to the motherboard. >>> >>> Then you'd know whether the fault is with the hard drive or the RAID controller. >>> >>> PSU = power supply unit? 180 watts seems very little, I didn't know any modern system could run on so little. I thought the minimum would be around 400 watts, and this would not allow for a powerful gaming graphics card. >>> >>> Maybe you need to replace the power supply with something having more watts, but make sure it will physically fit. >>> >>> Tom >> Thanks for the response! >> >> Here's some more info that I managed to dig up: >> >> Jun 4 02:39:19 Zeta-Ray root: ZFS: vdev I/O failure, zpool=ZFS_POOL_2 path=/dev/ad4 offset=270336 size=8192 error=6 >> Jun 4 02:39:19 Zeta-Ray kernel: ata2: port is not ready (timeout 15000ms) tfd = 000000ff >> Jun 4 02:39:19 Zeta-Ray kernel: ata2: hardware reset timeout >> Jun 4 02:39:19 Zeta-Ray kernel: unknown: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=269091394 >> >> >> Yeah, 180 Watts is what comes with the chassis as it's an external power supply. Additionally the system is a Mini-ITX so that would account for less power usage however, in this case I think it might be the PSU that's simply not providing enough power..... >> >> >> I will definitely try sticking the "downed" disk into the motherboard controller directly as that will tell me if the disk is the issue or not. > If the problem is actually insufficient power, this won't tell you a thing. > You'll have to isolate the power supply as not being a problem before anything else will be relevant. > > If you swap the two new disks, and the one now on the card fails, it's probably not a disk problem. But you still can't tell if its the card or insufficient power. > > If you can sideline the two original disks and run, it's probably power. But I'd guess you're oversubscribed in that department. It should be relatively easy to estimate as mfg specs for cpu + mobo + disks is readily available. > > Gary > More digging yields this: zpool iostat -v ---------- ----- ----- ----- ----- ----- ----- ZFS_POOL_2 527G 6.74T 0 0 3.18K 1.39K ad4 431G 3.20T 0 0 1.55K 678 ad14 95.6G 3.53T 0 0 1.63K 740 ---------- ----- ----- ----- ----- ----- ----- There is not much bandwidth being used..... the disk is fine! The bandwidth gets a little more and the disk starts timing out: ---------- ----- ----- ----- ----- ----- ----- ZFS_POOL_2 527G 6.74T 0 0 19.0K 12.8K ad4 431G 3.20T 0 0 17.3K 5.97K ad14 95.6G 3.53T 0 0 1.72K 6.81K ---------- ----- ----- ----- ----- ----- ----- I'm pretty sure it's the Strartech.com controller in the system!! Regards, Kaya