From owner-freebsd-questions@FreeBSD.ORG Mon Nov 29 18:16:49 2010 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 29E44106566C for ; Mon, 29 Nov 2010 18:16:49 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD058FC13 for ; Mon, 29 Nov 2010 18:16:48 +0000 (UTC) Received: by fxm16 with SMTP id 16so2913432fxm.13 for ; Mon, 29 Nov 2010 10:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Q5NNaBN2ZiA+yN3Sr8qtCsO2nKNcGJaNq9p0ui4s2I8=; b=nl67hMkNkLOX/NHjl1Ew8uVfOUlbcFgmKeANi6BBTa3hdr1O/2ULf3NpCLV3FmiAUj opqgF/VSrgnwHbmMu7l1VIy8/6wh0hK4+TQwwllkJWJzaRmLfSd+qrjImmK8UQmThYq4 dgRN+wW3CpsEPSha+2B5E2dDdmaUAqo4kdSdc= 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=mSD4gy6HS4lbkqR0XUy6wmhigHqs/nkjzYvpr/Lpv/NTarL3IWabGieWK+tuFKQtvC YouwJBGnOSzPZkzFDL/r9JHyky69mkf1GNJ6vTVWr3TjvEAfftKCJcnYRbKGBGyS7Wrr 6xd+Akx5mcsnNGeSdIMMvJGGyOs81EEcIylS4= MIME-Version: 1.0 Received: by 10.223.122.133 with SMTP id l5mr5721124far.52.1291054607248; Mon, 29 Nov 2010 10:16:47 -0800 (PST) Received: by 10.223.75.208 with HTTP; Mon, 29 Nov 2010 10:16:47 -0800 (PST) In-Reply-To: <87oc98dqvx.fsf@bifteki.lan> References: <4CF369C4.4030007@zedat.fu-berlin.de> <87oc98dqvx.fsf@bifteki.lan> Date: Mon, 29 Nov 2010 18:16:47 +0000 Message-ID: From: krad To: Leonidas Tsampros Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, "O. Hartmann" , freebsd-questions@freebsd.org Subject: Re: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80) 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, 29 Nov 2010 18:16:49 -0000 On 29 November 2010 16:41, Leonidas Tsampros wrote: > "O. Hartmann" writes: > > I'm running a newly setup FreeBSD 9.0-CURRENT/amd64 SMP box. The former > > OS was FreeBSD 8.1-PRE/amd64. Attached to the system are three WD > > harddrives with ZFS as filesystem on GPT partitioning scheme. Two 1TB > > HDD are spanning a volume with 2 TB capacity which is quite fast due to > > parallel access through ZFS. The underlying layout is, as mentioned, > > GPT, bot devices are named /dev/ada1p1 and /dev/ada2p1. The thir drive > > is a WD Caviar Green 2TB HDD acting as a compressed ZFS backup media, > > also based on a GPT partitioning scheme and known as device /dev/ada3p1. > > In FreeBSD 8.2-PRE/amd64 I can use the JBOD volume resembled from two > > 1TB HDD without problems, mounting is all right, dismounting, also with > > the 2TB HDD, labeld as BACKUP00 volume in ZFS. Doing a "zpool export" on > > both ZFS volumes works fine in FBSD 8, importing is also no problem. The > > system's log does not show any kind of irregularities, errors or > > something else indicating soemthing weird with one of the three devices. > > > > Exporting both volumes in FreeBSD 8 works. But importing them in FreeBSD > > 9.0-CURRENT/amd64 as with the most recent make world of today fails on > > the 2TB HDD (ZFS pool/volume BACKUP00). Issuing "zpool import BACKUP00" > > results in > > > > cannot import 'BACKUP': no such pool available > > > > and on console I receive message > > > > ZFS WARNING: Unable to attach to ada1 > > > > But the drive is and was ada3! > > > > Looking with zpool status, I get the follwoing picture: > > > > pool: BACKUP00 > > state: FAULTED > > status: One or more devices could not be used because the label is > missing > > or invalid. There are insufficient replicas for the pool to > > continue > > functioning. > > action: Destroy and re-create the pool from a backup source. > > see: http://www.sun.com/msg/ZFS-8000-5E > > scrub: none requested > > config: > > > > NAME STATE READ WRITE CKSUM > > BACKUP00 FAULTED 0 0 0 corrupted data > > ada3 UNAVAIL 0 0 0 corrupted data > > > > pool: THOR00 > > state: ONLINE > > scrub: none requested > > config: > > > > NAME STATE READ WRITE CKSUM > > THOR00 ONLINE 0 0 0 > > ada1p1 ONLINE 0 0 0 > > ada2p1 ONLINE 0 0 0 > > > > errors: No known data errors > > > > > > This picture differs from what I see i FreeBSD 8.2-PRE/amd issuing the > > same command! > > > > I did a full "zpool scrub" on both pools - no effect. > > > > Surprisingly, the GPT partition of the pool BACKUP00 isn't shown in > > FreeBSD 9, while I see ada3p1 in FreeBSD 8.2. > > gpart show ada3 lists this: > > > > => 34 3907029101 ada3 GPT (1.8T) > > 34 4062 - free - (2.0M) > > 4096 3907025039 1 freebsd-zfs (1.8T) > > > > The drive in question is a WesternDigital Caviar Green WD ( > WD20EURS-63Z9B1 80.00A80> at scbus7 target 0 lun 0 (pass3,ada3)). > > > > Can someone explain what#s going on? The drive in question is one of the > > new 4k sized physical block devices. Why is FreeBSD 8 dealing with the > > HDD, FreeBSD 9 not? Any help at this point? Hope the volume is not lost. > > > > Thanks in advance, > > > > Oliver > > > > Hi Oliver, > > just a wild guess and maybe completely wrong: are the ZFS version numbers > and zpool version numbers > the same across 8.1 and 9-CURRENT ? > > Best Regards, > Leonidas > _______________________________________________ > 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" > i think both are on version 15, however a v22 patch is in testing and will probably hit head fairly soon