From patchwork Fri Sep 4 13:24:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhaolei X-Patchwork-Id: 7122751 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8D9EE9F32B for ; Fri, 4 Sep 2015 13:30:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5E1B204AD for ; Fri, 4 Sep 2015 13:30:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7B062046F for ; Fri, 4 Sep 2015 13:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759388AbbIDN1A (ORCPT ); Fri, 4 Sep 2015 09:27:00 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:7682 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933108AbbIDN0A (ORCPT ); Fri, 4 Sep 2015 09:26:00 -0400 X-IronPort-AV: E=Sophos;i="5.15,520,1432569600"; d="scan'208";a="100347669" Received: from unknown (HELO edo.cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 04 Sep 2015 21:29:01 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (localhost.localdomain [127.0.0.1]) by edo.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id t84DPn2x030035 for ; Fri, 4 Sep 2015 21:25:49 +0800 Received: from localhost.localdomain (10.167.226.114) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server id 14.3.181.6; Fri, 4 Sep 2015 21:25:59 +0800 From: Zhao Lei To: CC: Zhao Lei Subject: [PATCH 5/5] btrfs-progs: update manual for --extra-dev and -h for btrfs rescue Date: Fri, 4 Sep 2015 21:24:19 +0800 Message-ID: X-Mailer: git-send-email 1.8.5.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --extra-dev and -h option was added to btrfs rescue command, this patch update relative manual. Signed-off-by: Zhao Lei --- Documentation/btrfs-rescue.asciidoc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/btrfs-rescue.asciidoc b/Documentation/btrfs-rescue.asciidoc index 42aca64..11f133c 100644 --- a/Documentation/btrfs-rescue.asciidoc +++ b/Documentation/btrfs-rescue.asciidoc @@ -20,6 +20,8 @@ Recover the chunk tree by scanning the devices + `Options` + +--extra-dev:::: +set extra device to search. -y:::: assume an answer of 'yes' to all questions. -v:::: @@ -35,13 +37,22 @@ Recover bad superblocks from good copies. + `Options` + +--extra-dev:::: +set extra device to search. -y:::: assume an answer of 'yes' to all questions. -v:::: verbose mode. -*zero-log* :: +*zero-log* [options] :: clear the filesystem log tree ++ +`Options` ++ +--extra-dev:::: +set extra device to search. +-h:::: +help. This command will clear the filesystem log tree. This may fix a specific set of problem when the filesystem mount fails due to the log replay. See below