From owner-freebsd-stable@FreeBSD.ORG Thu Jun 11 03:04:55 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1FF11065673 for ; Thu, 11 Jun 2009 03:04:55 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id 8BDC98FC0A; Thu, 11 Jun 2009 03:04:55 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by yxe38 with SMTP id 38so341459yxe.3 for ; Wed, 10 Jun 2009 20:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=6qCcWim6DYrLh0aln6U8WfzhSK65kMXcSOSpxKXWwJA=; b=EFnnmCkLbrgWIMeR2/7tnwDVm6jLFnu0e1dPaIH9nMX/fy673iZkwB76iyt5iUE3g0 2aFoK04KlyNa+Se4yzy7/Iutt2brggLGyEtLKqEF9jgfvoqBtGGpuFSpUB7eAJzhrAkp GMfYlOal/2yalcYDuf1W6xPraG8mYvUaKYaEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=hX6vNULC/doGvbrjIhn2Lpu5xLv3bBe/zC4cC4RrsCkaEoG8DareaLVjxf5EsbiVqm 8yAgGcVHoZk4r0GCTHG+ernLHrLdCQebW8YdUuh3irE91+XLrG/UE6BaXo0aKC/YOPuT cbl5IbOxgs3JKBMjiVKB/wT798UQpQcUGmUsk= MIME-Version: 1.0 Received: by 10.151.132.7 with SMTP id j7mr4041051ybn.192.1244688267556; Wed, 10 Jun 2009 19:44:27 -0700 (PDT) Date: Wed, 10 Jun 2009 19:44:27 -0700 Message-ID: <7d6fde3d0906101944t7a04ff7ejdd415938d3e1483c@mail.gmail.com> From: Garrett Cooper To: pjd@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ata@freebsd.org, FreeBSD-STABLE Mailing List Subject: Issues with gjournal (heaaaaaaaaaaalp!) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 03:04:56 -0000 Hi Pawel, ATA, and Stable folks, This time when I did a reinstall I took the bullet and tried to use gjournaling instead of softupdates. The unfortunate thing is that I can't seem to get it to work. Here's the procedure that I'm trying to follow (based off of [1]): - sysinstall from scratch with a minimal distribution. This creates /usr // /dev/ad6s1d as UFS2 with softupdates disabled. - Pull latest stable sources. Rebuild kernel (with `options GEOM_JOURNAL'), world, install kernel, then world after reboot. - gjournal label -f ad6s1d ad6s2d - mount /dev/ad6s1d /usr # That works (I think...), but prints out the error message below: GEOM_JOURNAL: [flush] Error while writing data (error=1) ad6s2d[WRITE(offset=512, length=6656)] gjournal status says: Name Status Components ad6s1d.journal N/A ad6s1d ad6s2d Some issues I noticed: - GJOURNAL ROOT (something) loops infinitely if the device can't be found; this should probably time out and panic / exit if a device becomes unavailable (depends on fstab values in the final 2 fields no doubt). I did this by accident when I forgot to add iir statically to the kernel. - The LiveCD doesn't fully support gjournal (userland's there, kernel support isn't). Kind of annoying and counterproductive... - Existing journal partitions disappeared when I upgraded by accident from 7.2-RELEASE to 8-CURRENT (silly me copied my srcs.sup file from my server with label=.). That was weird... - When I use gjournal label with an existing filesystem I _must_ use -f. Any help with this endeavor would be more than appreciated, as I want to enable this functionality before I move on to installing X11, as nvidia-driver frequently hardlocks the desktop (or has in the past). Thanks, -Garrett [1] http://www.freebsd.org/doc/en_US.ISO8859-1/articles/gjournal-desktop/article.html