From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 15:39:28 2011 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 E28FD106566B for ; Thu, 17 Nov 2011 15:39:28 +0000 (UTC) (envelope-from nelson4088@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B18D88FC12 for ; Thu, 17 Nov 2011 15:39:28 +0000 (UTC) Received: by iakl21 with SMTP id l21so3256832iak.13 for ; Thu, 17 Nov 2011 07:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=VbL3k20svKTxcCmauU6johgFuLTO6K/a19TB80OyDaw=; b=CSG4LH4472XxuREolhtFdQbqp/3IEyrjrx1zcmfiOPVM7UhT1B+JDHpXoJCXlc8BHf pyGKhY5luJRFAncvrBSf6Hu3M8VkBrWak/GvqZXjuLHqRJVcUwKHopXnlhA3xTM1V2aV H4lsCgXwVlbEIwT2d4xgZL4oolABowIK+vGbA= MIME-Version: 1.0 Received: by 10.42.163.200 with SMTP id d8mr42896630icy.41.1321542518939; Thu, 17 Nov 2011 07:08:38 -0800 (PST) Received: by 10.42.153.201 with HTTP; Thu, 17 Nov 2011 07:08:36 -0800 (PST) Received: by 10.42.153.201 with HTTP; Thu, 17 Nov 2011 07:08:36 -0800 (PST) Date: Thu, 17 Nov 2011 23:08:36 +0800 Message-ID: From: Nelson Leung To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Bad sector in journal area and the .journal device disappeared 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: Thu, 17 Nov 2011 15:39:29 -0000 Hi all, I've a FreeBSD 8.2-release amd64 running with a few harddisks (3 in UFS+journal, and 3 in zraid-3) for NAS. Yesterday I found the machine was having problems in I/O with multiple harddisks, so I shut it down but it failed to sync some of the harddisk. fsck worked except for 1 UFS+journal disk( WD Green 2T, named ad16) because the corresponding journal provider (ad16p1.journal) is not found. dmesg shows FreeBSD failed to read during boot: ad16: FAILURE - READ_DMA48 status=51 error=49 LBA=3907029134 Is it because there is a bad sector in the journal and FreeBSD failed to load the journal provider? Is there any tool to recover the journal? In the worst case I may just mount the data without the journal (ad16p1) and copy the data into the zpool. Do I still need to run a fsck on the data (ad16p1) in this case for data consistency? Any help/ suggestions are appreciated. Thank you. Nelson