From owner-freebsd-current@FreeBSD.ORG Tue Oct 4 09:27:30 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55382106566B for ; Tue, 4 Oct 2011 09:27:30 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB72E8FC19 for ; Tue, 4 Oct 2011 09:27:29 +0000 (UTC) Received: by wyj26 with SMTP id 26so392685wyj.13 for ; Tue, 04 Oct 2011 02:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kVk2rr5UF4+XmyfvARXrYkU3bDJQYqFYVIegI1324JA=; b=GhBZtNFzrQYduDmNT+gPlMKRsr4YOsw24ZvzAdXKZGbK3LeB8lZwmhvfI8clukQVUV OGVvU5Y5ABYLsZnBF91Swifzb7OlXeq8HD3l9bcvWoEmklamG0CaFD60VDIlVeuITldZ bQ5Cslo0FFlOIehd8LtqUjAb4FRPAOb5MOP40= MIME-Version: 1.0 Received: by 10.216.25.196 with SMTP id z46mr1229540wez.16.1317720448441; Tue, 04 Oct 2011 02:27:28 -0700 (PDT) Received: by 10.216.177.20 with HTTP; Tue, 4 Oct 2011 02:27:28 -0700 (PDT) Received: by 10.216.177.20 with HTTP; Tue, 4 Oct 2011 02:27:28 -0700 (PDT) In-Reply-To: <8B59D754-9062-4499-9873-7C2167622032@gromit.dlib.vt.edu> References: <8B59D754-9062-4499-9873-7C2167622032@gromit.dlib.vt.edu> Date: Tue, 4 Oct 2011 19:57:28 +1030 Message-ID: From: Matt Thyer To: Paul Mather Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: Strange ZFS filesystem corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 09:27:30 -0000 On Oct 4, 2011 5:50 AM, "Paul Mather" wrote: [snip] > I have a raidz2 ZFS pool on a system that I have recently been using as a mirror for about 6.5 TiB of data. The data are mirrored nightly using rsync. I noticed during these nightly rsync copies I would get some errors like this: > > ===== > file has vanished: "/backups/storage/san/DLA/DLA_Records/05DLAAdmin" > rsync: stat "/backups/storage/san/DLA/DLA_Records/05DLAAdmin" failed: No such file or directory (2) > rsync: recv_generator: mkdir "/backups/storage/san/DLA/DLA_Records/05DLAAdmin/05DI_business copy" failed: No such file or directory (2) > *** Skipping any contents from this failed directory *** [snip] > I know ZFS does not have a fsck utility ("because it doesn't need one":), but does anyone know of any way of fixing this corruption short of destroying the pool, creating a new one, and restoring from backup? Is there some way of exporting and re-importing the pool that has the side-effect of doing some kind of fsck-like repairing of subtle corruption like this? > > Cheers, > > Paul. > Paul, I'd be looking at the hardware or drivers. What disk model are you using and what controller? Are you using port multipliers and are there known issues with your hardware combination?