From owner-freebsd-questions@FreeBSD.ORG Tue Oct 8 07:54:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CB603729 for ; Tue, 8 Oct 2013 07:54:33 +0000 (UTC) (envelope-from andyzammy@googlemail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B0332BBB for ; Tue, 8 Oct 2013 07:54:33 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id ar20so577662iec.7 for ; Tue, 08 Oct 2013 00:54:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WrqF8DRhWIjhMjk9M0m3EP8P4TEOheyO8KRUItRzaWw=; b=PlxCb5pUruFBg8VmzUAN+5+aZ0b1c51GljtubrLsw9L1Qi8z/na/VhwaM3nbJAc/0A /vNvHmCsVAPJtN01iuihBm0q62rhaPBwg/z/HwHG15DPKU3TzTnFIW6ZepdaLvXJMFNw Ls73H32fvlFuKUaoLzyUjkNYg1waj+NuxrO1/MWXm3GzuDcQhGB7bV324OWOdBuUHCWR hYhaRX95uVuMVCvc50K9/wDdA3Cd1tHIeHfgRvv+hOIfT6P+w4vnxetRVQnIxH93jlMH KAm1bXpbIcG2i30Xq37RGgX7Wb3NqFh84fcddSpLSJ2KoGAMY4O2FZhoMwqlm3O/zrz3 D9eA== MIME-Version: 1.0 X-Received: by 10.43.129.197 with SMTP id hj5mr157463icc.84.1381218873074; Tue, 08 Oct 2013 00:54:33 -0700 (PDT) Received: by 10.50.20.232 with HTTP; Tue, 8 Oct 2013 00:54:32 -0700 (PDT) Received: by 10.50.20.232 with HTTP; Tue, 8 Oct 2013 00:54:32 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 08:54:32 +0100 Message-ID: Subject: Re: failed to create gmirror with the handbook instructions From: Andy Zammy To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 07:54:33 -0000 Thanks very much. Please could I make a suggestion that this be included in the handbook page? On 8 Oct 2013 01:31, "Warren Block" wrote: > On Tue, 8 Oct 2013, Andy Zammy wrote: > > Hi, >> >> I used the second section of the handbook (20.4) to create a gmirror. In >> my >> particular setup I had a 1GB /, 6GB swap, 1GB /tmp and the rest of the 1TB >> drive was left for /usr >> >> I had to deviate from the handbook when it came to running the dump + >> restore commands, as the dump failed due to an issue with the journalling. >> To get around this problem, I dropped into single user mode, so I could >> remount root as read-only. The dump commands then worked. It specified in >> the handbook to restart the machine, and boot from ada1. >> >> It was at this point that I noticed something wasn't quite right. There >> was >> a spew of 'not found/no such file or directory' messages. These were all >> trying to reference libs and binaries that live in /usr. >> >> I boot into single user mode, and upon checking the other partitions, I >> notice that /tmp and /usr are empty, apart from a .snap file, and the >> restoresymtable file. >> >> Please could someone help me troubleshoot this problem? Let me know if you >> need any more info, and I'll post it up asap. >> > > dump does not work reliably on filesystems with SUJ enabled. Turn off SUJ > on the filesystems to be dumped by booting in single-user mode and running > tunefs -j disable /dev/ada0whatever > > Do each filesystem, then use dump. >