From owner-freebsd-questions@FreeBSD.ORG Tue Oct 8 19:10:25 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 7D516914 for ; Tue, 8 Oct 2013 19:10:25 +0000 (UTC) (envelope-from andyzammy@googlemail.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4D49529D5 for ; Tue, 8 Oct 2013 19:10:25 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id at1so20957517iec.30 for ; Tue, 08 Oct 2013 12:10:24 -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=8om5xAnUAh3VjHmN1TQ3sBFv4iq/ZTi1stmJsi83lxo=; b=kadcVJNc52TgU+U2DOSaWKyWvIIw17O8q62lbjJSnjwK2xaLqedb/01FJNSfB5JGUH Rn2keTxJmFdcgMu3iwku/s2BiscReoN8LCRQmYS0ITEX2bso8RCWmSzYg6ucyg4zg3jN WgwyEZExc9nZJ4klRCRKKjMtOuqaHPTm56LPL+O9X9Sec2u82YvJrj4jEIYNwRxfMD8D EPnYdcZMhJO9UrZnCYmen2+GngsHle0MOokZYQogZ+lOP34giPORswnI2DV1rzoz1Jdh PNTanc165H1kmgxCU9kuKsGuyDirQW8dlvVwHsrntm8QbY6+9zXMMnKmk2gbL9eS7INC XB2Q== MIME-Version: 1.0 X-Received: by 10.50.126.74 with SMTP id mw10mr22881972igb.24.1381259424753; Tue, 08 Oct 2013 12:10:24 -0700 (PDT) Received: by 10.50.20.232 with HTTP; Tue, 8 Oct 2013 12:10:24 -0700 (PDT) Received: by 10.50.20.232 with HTTP; Tue, 8 Oct 2013 12:10:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Oct 2013 20:10:24 +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 19:10:25 -0000 I On 8 October 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. >