From owner-freebsd-fs@FreeBSD.ORG Mon Nov 19 11:06:59 2007 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430E716A417 for ; Mon, 19 Nov 2007 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 365CD13C455 for ; Mon, 19 Nov 2007 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAJB6xTW040747 for ; Mon, 19 Nov 2007 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAJB6whS040743 for freebsd-fs@FreeBSD.org; Mon, 19 Nov 2007 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Nov 2007 11:06:58 GMT Message-Id: <200711191106.lAJB6whS040743@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-fs@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 11:06:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o kern/114856 fs [ntfs] [patch] Bug in NTFS allows bogus file modes. o kern/116170 fs Kernel panic when mounting /tmp 4 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/114847 fs [ntfs] [patch] dirmask support for NTFS ala MSDOSFS 1 problem total. From owner-freebsd-fs@FreeBSD.ORG Wed Nov 21 16:16:41 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE7DE16A4D5 for ; Wed, 21 Nov 2007 16:16:41 +0000 (UTC) (envelope-from test@ns1.gakki.ne.jp) Received: from ns1.gakki.ne.jp (ns1.gakki.ne.jp [211.18.219.66]) by mx1.freebsd.org (Postfix) with ESMTP id 50F9813C4BE for ; Wed, 21 Nov 2007 16:16:40 +0000 (UTC) (envelope-from test@ns1.gakki.ne.jp) Received: from ns1.gakki.ne.jp (ns1.gakki.ne.jp [127.0.0.1]) by ns1.gakki.ne.jp (Postfix) with ESMTP id A55EB28655 for ; Thu, 22 Nov 2007 01:08:20 +0900 (JST) Received: (from test@localhost) by ns1.gakki.ne.jp (8.13.4/8.13.4/Submit) id lALG8KvO029011; Thu, 22 Nov 2007 01:08:20 +0900 Date: Thu, 22 Nov 2007 01:08:20 +0900 Message-Id: <200711211608.lALG8KvO029011@ns1.gakki.ne.jp> To: freebsd-fs@freebsd.org From: TotalMP3Converter.Offerts@ns1.gakki.ne.jp MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: New OFFERT X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 16:16:41 -0000 TOTAL MP3 CONVERTER... THIS WEEK FOR FREE!!! The best just got better. Now you can appreciate our new product at its true value! MP3 Converter is a high quality product. Those who ever tried any other tool from Softplicity know that. Program features and advantages in comparison with similar programs: * Source formats are MP3, RA, APL, MPC, MP+, M4A, MP4, TTA, OFR, SPX, WAV, OGG, WMA, FLAC, CDA, AAC, APE, MPP, WV, XM, IT, S3M, MOD, MTM, UMX. This one could help me feel like normal user, not a fool!!! The only drawback is that its a trial version. But i think its definitely worth the money , This Program makes the best TOP QUALITY. Mp3's from wav's better than highly publicized. It just works :) Copyright © 1998-2007 [1]Total MP3 Converter. All rights reserved. [all-to-mp3.png] [2]FREE Download References 1. mailto:support@TotalConverter.com 2. http://h1.ripway.com/totaldownloads/TotalMP3Converter.exe From owner-freebsd-fs@FreeBSD.ORG Thu Nov 22 09:27:23 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ADCA16A41A for ; Thu, 22 Nov 2007 09:27:23 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF6713C461 for ; Thu, 22 Nov 2007 09:27:00 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from japan.t-online.private (people [192.168.2.4]) by people.fsn.hu (Postfix) with ESMTP id CE8ED7664 for ; Thu, 22 Nov 2007 10:08:05 +0100 (CET) Message-ID: <474546F5.2000007@fsn.hu> Date: Thu, 22 Nov 2007 10:08:05 +0100 From: Attila Nagy User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 09:27:23 -0000 Hello, FreeBSD RELENG_7, x86, a terrible disk array, called Promise RM-8000 with 8 disks on an ahc. The pool is a RAIDZ2. Tomorrow the array went crazy (its firmware is a total crap), so I had to reboot both the machine and the disk array. The effect: pool: people state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the device using 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-4J scrub: resilver completed with 0 errors on Thu Nov 22 10:45:27 2007 config: NAME STATE READ WRITE CKSUM people DEGRADED 0 0 0 raidz2 DEGRADED 0 0 0 da8 ONLINE 0 0 0 da3 FAULTED 0 0 0 corrupted data da5 ONLINE 0 0 0 da6 ONLINE 0 0 0 da7 ONLINE 0 0 0 da9 ONLINE 0 0 0 da10 ONLINE 0 0 0 da4 FAULTED 0 0 0 corrupted data errors: No known data errors I've tried everything I could think of: zpool replace people da3 invalid vdev specification use '-f' to override the following errors: da3 is in use (r1w1e1) zpool replace -f people da3 invalid vdev specification the following errors must be manually repaired: da3 is in use (r1w1e1) zpool offline people da3 cannot offline da3: no valid replicas zpool online people da3 Bringing device da3 online (nothing has changed, the device is still FAULTED) Hmm. Is this this bug? http://www.opensolaris.org/jive/thread.jspa?messageID=161812 -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/ From owner-freebsd-fs@FreeBSD.ORG Thu Nov 22 13:37:47 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C5F16A41A for ; Thu, 22 Nov 2007 13:37:47 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 88FF613C448 for ; Thu, 22 Nov 2007 13:37:47 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from japan.t-online.private (people [192.168.2.4]) by people.fsn.hu (Postfix) with ESMTP id F26A86F1FB for ; Thu, 22 Nov 2007 14:37:32 +0100 (CET) Message-ID: <4745861C.9060201@fsn.hu> Date: Thu, 22 Nov 2007 14:37:32 +0100 From: Attila Nagy User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org References: <474546F5.2000007@fsn.hu> In-Reply-To: <474546F5.2000007@fsn.hu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 13:37:47 -0000 On 11/22/07 10:08, Attila Nagy wrote: > zpool replace -f people da3 > invalid vdev specification > the following errors must be manually repaired: > da3 is in use (r1w1e1) > Hmm. Is this this bug? > http://www.opensolaris.org/jive/thread.jspa?messageID=161812 I've changed vdev.c from RELENG_7 to HEAD and now it gives: zpool replace -f people da3 cannot replace da3 with da3: da3 is busy The drive is still FAULTED... -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/ From owner-freebsd-fs@FreeBSD.ORG Fri Nov 23 12:45:14 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9D7416A41A for ; Fri, 23 Nov 2007 12:45:14 +0000 (UTC) (envelope-from fernando@schapachnik.com.ar) Received: from relay2.mecon.ar (relay2.mecon.gov.ar [168.101.16.11]) by mx1.freebsd.org (Postfix) with ESMTP id 25E8D13C469 for ; Fri, 23 Nov 2007 12:45:13 +0000 (UTC) (envelope-from fernando@schapachnik.com.ar) Received: from relay2.mecon.ar (localhost [127.0.0.1]) by relay2.mecon.ar (8.13.1/8.13.1) with ESMTP id lANC6g44007172 for ; Fri, 23 Nov 2007 09:06:42 -0300 Received: from racing2.mecon.ar (racing2.mecon.ar [10.8.2.11]) by relay2.mecon.ar (8.13.1/8.13.1) with ESMTP id lANC6fSv007163; Fri, 23 Nov 2007 09:06:41 -0300 Received: from racing2.mecon.ar (localhost.localdomain [127.0.0.1]) by racing2.mecon.ar (8.13.1/8.13.7) with ESMTP id lANC6fQT002198; Fri, 23 Nov 2007 09:06:41 -0300 Received: from bal740r0.mecon.gov.ar (bal740r0.mecon.ar [10.11.1.11]) by racing2.mecon.ar (8.13.1/8.13.7) with ESMTP id lANC6fEL002195; Fri, 23 Nov 2007 09:06:41 -0300 Received: from bal740r0.mecon.gov.ar (localhost [127.0.0.1]) by bal740r0.mecon.gov.ar (8.14.1/8.14.1) with ESMTP id lANC6jWK001292; Fri, 23 Nov 2007 09:06:45 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) Received: (from fpscha@localhost) by bal740r0.mecon.gov.ar (8.14.1/8.14.1/Submit) id lANC6imQ001291; Fri, 23 Nov 2007 09:06:44 -0300 (ART) (envelope-from fernando@schapachnik.com.ar) X-Authentication-Warning: bal740r0.mecon.gov.ar: fpscha set sender to fernando@schapachnik.com.ar using -f Date: Fri, 23 Nov 2007 09:06:44 -0300 From: Fernando Schapachnik To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20071123120644.GB1104@bal740r0.mecon.gov.ar> References: <20071113174347.GA4288@servidor1.cursosvirtuales.com.ar> <86sl392lk3.fsf@ds4.des.no> <20071114115653.GA83195@servidor1.cursosvirtuales.com.ar> <86hcjp2ecw.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86hcjp2ecw.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.1i X-OS: FreeBSD 6.2 - http://www.freebsd.org X-TM-AS-Product-Ver: IMSS-7.0.0.1640-5.0.0.1023-15562.003 X-TM-AS-Result: No--18.255-7.0-31-1 X-imss-scan-details: No--18.255-7.0-31-1;No--18.255-5.0-31-1 X-TM-AS-User-Approved-Sender: No Cc: freebsd-fs@freebsd.org Subject: Re: Undeleting (possible?) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 12:45:14 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit En un mensaje anterior, Dag-Erling Smørgrav escribió: > Fernando Schapachnik writes: > > En un mensaje anterior, Dag-Erling Smørgrav escribió: > > > Try Lazarus instead. > > Have any URL or package name? Found lots of references but no way to actually get it. > > It's part of The Coroner's Toolkit: > > http://www.porcupine.org/forensics/tct.html Just for the record, it compiled with no problem on FreeBSD 6.2 with the attached patch. Also, Lazarus did a great job recovering the files. Thanks for all the help! Fernando. --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tct-1.18-FreeBSD6.diff" diff -ur tct-1.18-orig/extras/entropy/makedefs tct-1.18/extras/entropy/makedefs --- tct-1.18-orig/extras/entropy/makedefs Sat Aug 30 20:16:41 2003 +++ tct-1.18/extras/entropy/makedefs Wed Nov 14 09:55:12 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/extras/findkey/makedefs tct-1.18/extras/findkey/makedefs --- tct-1.18-orig/extras/findkey/makedefs Sat Aug 30 20:16:51 2003 +++ tct-1.18/extras/findkey/makedefs Wed Nov 14 09:55:23 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/src/aux/makedefs tct-1.18/src/aux/makedefs --- tct-1.18-orig/src/aux/makedefs Sat Aug 30 20:17:20 2003 +++ tct-1.18/src/aux/makedefs Wed Nov 14 09:53:46 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/src/file/makedefs tct-1.18/src/file/makedefs --- tct-1.18-orig/src/file/makedefs Sat Aug 30 21:02:52 2003 +++ tct-1.18/src/file/makedefs Wed Nov 14 09:54:26 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/src/fstools/makedefs tct-1.18/src/fstools/makedefs --- tct-1.18-orig/src/fstools/makedefs Mon Apr 9 10:32:52 2007 +++ tct-1.18/src/fstools/makedefs Wed Nov 14 09:54:31 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/src/lastcomm/makedefs tct-1.18/src/lastcomm/makedefs --- tct-1.18-orig/src/lastcomm/makedefs Sat Aug 30 20:49:13 2003 +++ tct-1.18/src/lastcomm/makedefs Wed Nov 14 09:54:34 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.3*) DEFS="-DOPENBSD3" ;; OpenBSD.2*) DEFS="-DOPENBSD2" diff -ur tct-1.18-orig/src/major_minor/makedefs tct-1.18/src/major_minor/makedefs --- tct-1.18-orig/src/major_minor/makedefs Sat Aug 30 20:59:37 2003 +++ tct-1.18/src/major_minor/makedefs Wed Nov 14 09:54:38 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/src/misc/makedefs tct-1.18/src/misc/makedefs --- tct-1.18-orig/src/misc/makedefs Sat Aug 30 20:18:41 2003 +++ tct-1.18/src/misc/makedefs Wed Nov 14 09:54:04 2007 @@ -10,6 +10,8 @@ ;; FreeBSD.5*) DEFS="-DFREEBSD5" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; OpenBSD.3*) DEFS="-DOPENBSD3" diff -ur tct-1.18-orig/src/pcat/makedefs tct-1.18/src/pcat/makedefs --- tct-1.18-orig/src/pcat/makedefs Tue Oct 14 18:07:44 2003 +++ tct-1.18/src/pcat/makedefs Wed Nov 14 09:54:51 2007 @@ -14,6 +14,9 @@ FreeBSD.5*) DEFS="-DFREEBSD5" SYSLIBS="-lkvm" ;; + FreeBSD.6*) DEFS="-DFREEBSD5" + SYSLIBS="-lkvm" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" SYSLIBS="-lkvm" ;; --tThc/1wpZn/ma/RB-- From owner-freebsd-fs@FreeBSD.ORG Fri Nov 23 18:35:01 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFED716A418 for ; Fri, 23 Nov 2007 18:35:01 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 9686A13C469 for ; Fri, 23 Nov 2007 18:34:59 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BCE2945F5E; Fri, 23 Nov 2007 19:34:56 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id AFD9045F63; Fri, 23 Nov 2007 19:34:48 +0100 (CET) Date: Fri, 23 Nov 2007 19:34:20 +0100 From: Pawel Jakub Dawidek To: Attila Nagy Message-ID: <20071123183420.GA12811@garage.freebsd.pl> References: <474546F5.2000007@fsn.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <474546F5.2000007@fsn.hu> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 18:35:01 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 22, 2007 at 10:08:05AM +0100, Attila Nagy wrote: > Hello, >=20 > FreeBSD RELENG_7, x86, a terrible disk array, called Promise RM-8000=20 > with 8 disks on an ahc. > The pool is a RAIDZ2. > Tomorrow the array went crazy (its firmware is a total crap), so I had=20 > to reboot both the machine and the disk array. >=20 > The effect: > pool: people > state: DEGRADED > status: One or more devices could not be used because the label is=20 > missing or > invalid. Sufficient replicas exist for the pool to continue > functioning in a degraded state. > action: Replace the device using 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-4J > scrub: resilver completed with 0 errors on Thu Nov 22 10:45:27 2007 > config: >=20 > NAME STATE READ WRITE CKSUM > people DEGRADED 0 0 0 > raidz2 DEGRADED 0 0 0 > da8 ONLINE 0 0 0 > da3 FAULTED 0 0 0 corrupted data > da5 ONLINE 0 0 0 > da6 ONLINE 0 0 0 > da7 ONLINE 0 0 0 > da9 ONLINE 0 0 0 > da10 ONLINE 0 0 0 > da4 FAULTED 0 0 0 corrupted data >=20 > errors: No known data errors >=20 > I've tried everything I could think of: > zpool replace people da3 > invalid vdev specification > use '-f' to override the following errors: > da3 is in use (r1w1e1) >=20 > zpool replace -f people da3 > invalid vdev specification > the following errors must be manually repaired: > da3 is in use (r1w1e1) >=20 > zpool offline people da3 > cannot offline da3: no valid replicas >=20 > zpool online people da3 > Bringing device da3 online > (nothing has changed, the device is still FAULTED) >=20 > Hmm. Is this this bug?=20 > http://www.opensolaris.org/jive/thread.jspa?messageID=3D161812 You should use: # zpool replace people da3 da3 but to do it, you need this patch, which was not yet MFCed: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/contrib/opensolaris/uts/comm= on/fs/zfs/vdev.c.diff?r1=3D1.3;r2=3D1.4 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHRx0sForvXbEpPzQRAp6rAKDJ5/UvzZprPJxoHvljqCXBA0nTFgCg7CKf PYNl9QjpHM6ig1wUrsNCbLg= =y6ss -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-fs@FreeBSD.ORG Fri Nov 23 18:35:37 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A213F16A417 for ; Fri, 23 Nov 2007 18:35:37 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 10C8B13C45D for ; Fri, 23 Nov 2007 18:35:37 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6D25A45F45; Fri, 23 Nov 2007 19:35:35 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4392145E8F; Fri, 23 Nov 2007 19:35:27 +0100 (CET) Date: Fri, 23 Nov 2007 19:34:57 +0100 From: Pawel Jakub Dawidek To: Attila Nagy Message-ID: <20071123183457.GB12811@garage.freebsd.pl> References: <474546F5.2000007@fsn.hu> <4745861C.9060201@fsn.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <4745861C.9060201@fsn.hu> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 18:35:37 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 22, 2007 at 02:37:32PM +0100, Attila Nagy wrote: > On 11/22/07 10:08, Attila Nagy wrote: > >zpool replace -f people da3 > >invalid vdev specification > >the following errors must be manually repaired: > >da3 is in use (r1w1e1) > >Hmm. Is this this bug?=20 > >http://www.opensolaris.org/jive/thread.jspa?messageID=3D161812 > I've changed vdev.c from RELENG_7 to HEAD and now it gives: > zpool replace -f people da3 > cannot replace da3 with da3: da3 is busy >=20 > The drive is still FAULTED... # zpool replace people da3 da3 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --K8nIJk4ghYZn606h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHRx1QForvXbEpPzQRAhygAJ4jJZYBK8LDanrJyjXpgLknR3g8PQCgjbae 1sbcbsTMa1PiRdfkaR4YJvM= =h8e1 -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h-- From owner-freebsd-fs@FreeBSD.ORG Fri Nov 23 19:52:40 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F15516A419 for ; Fri, 23 Nov 2007 19:52:40 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 916F913C45B for ; Fri, 23 Nov 2007 19:52:38 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from [127.0.0.1] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id 13A68BC699; Fri, 23 Nov 2007 20:52:33 +0100 (CET) Message-ID: <47472F71.9070108@fsn.hu> Date: Fri, 23 Nov 2007 20:52:17 +0100 From: Attila Nagy User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <474546F5.2000007@fsn.hu> <4745861C.9060201@fsn.hu> <20071123183457.GB12811@garage.freebsd.pl> In-Reply-To: <20071123183457.GB12811@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 19:52:40 -0000 On 2007.11.23. 19:34, Pawel Jakub Dawidek wrote: > On Thu, Nov 22, 2007 at 02:37:32PM +0100, Attila Nagy wrote: > >> On 11/22/07 10:08, Attila Nagy wrote: >> >>> zpool replace -f people da3 >>> invalid vdev specification >>> the following errors must be manually repaired: >>> da3 is in use (r1w1e1) >>> Hmm. Is this this bug? >>> http://www.opensolaris.org/jive/thread.jspa?messageID=161812 >>> >> I've changed vdev.c from RELENG_7 to HEAD and now it gives: >> zpool replace -f people da3 >> cannot replace da3 with da3: da3 is busy >> >> The drive is still FAULTED... >> > > # zpool replace people da3 da3 > I'm not sure whether I've tried this, or just a single da3. Does it make a difference? (according to the manual, no, or at least that's how I interpret it) BTW, the solution was to export and import the pool... Thanks, From owner-freebsd-fs@FreeBSD.ORG Sat Nov 24 04:54:39 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90DCA16A418 for ; Sat, 24 Nov 2007 04:54:39 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 487E513C458 for ; Sat, 24 Nov 2007 04:54:39 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so21518nfb for ; Fri, 23 Nov 2007 20:54:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=H08l1x4lG/ZCGr2sWjFHyjhMk3eSvD0gdxjcicTOylY=; b=t9pLaRp5RPCwKKxuIlBfUVrPNKTHszqUzyh7YYuqdUcfh+7V/gr7psjG84Ue9vhoR1Fk+CyMnlzRdfaRt+RK+Xy/mp8pJ356i8N/4pQHoFExH+y32zCdwtVQvV6na/6kMlQRg4U0deP6ZXaFeGn6UQQrgyIb4KtJOkvlt3AhugI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=GpCBh1rsq0dMYImmnC0aCDwstAM6EbNeTSPu03ztRIXG95fMsCfdnwHgQCfxsKF6E+iAhfwjERLbvZlSuNEhCl/NeFCPswNmtjcUct8NtMCAOA5fm+rgZcZzA/oQ+uqDCN4tq/PsU101pSpCr9hI5TrXIlfJmcPkadmFsD7r6xA= Received: by 10.86.90.2 with SMTP id n2mr68360fgb.1195878503524; Fri, 23 Nov 2007 20:28:23 -0800 (PST) Received: by 10.86.28.19 with HTTP; Fri, 23 Nov 2007 20:28:23 -0800 (PST) Message-ID: <3bbf2fe10711232028p75ee280ax95dabeba406425cd@mail.gmail.com> Date: Sat, 24 Nov 2007 05:28:23 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: arch@freebsd.org, smp@freebsd.org, fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 7f72cdd27691e8e5 Cc: Subject: [FYI] transferlockers() function removed -- lockmgr KPI changed X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 04:54:39 -0000 Hello, as transferlockers() function is dangerous and no longer used in our FreeBSD stock tree, I decided to axe it from FreeBSD-CURRENT8.0 and a quick MFC is planned in 3 days. Any third-party module using it, should update their own source code with equivalent functions (for any further question or assistance, in particular with this, you can send them directly to me). Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein