From owner-freebsd-fs@FreeBSD.ORG Wed May 19 11:43:13 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D5C106566B for ; Wed, 19 May 2010 11:43:13 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 88BAF8FC0C for ; Wed, 19 May 2010 11:43:12 +0000 (UTC) Received: by fxm4 with SMTP id 4so914625fxm.13 for ; Wed, 19 May 2010 04:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=RFzURuG6q4UgefV6LwAo/Ur4pE7BNwEZTF1ipQV5/AI=; b=YNhBBBG7D9d8Vdk4LGaWJ5/lllUntDOCTYCIGgAQX2l40zhA8HG1t5GxtuPc2hHA1g 5pCqdGZ5t79vPgcAeXm94V5m6cjXmFnPBDd+9Hw5G1gLklwJtWDeMnLEUT/YZnE1kEeK /4iA19IYUNVEyaSI+TyNbctCRGd4GR8QJH3uI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j+NI/h4o7bP6oncvCLVcQ+v0UMZXbjKIvknPcqMH/VDBdH1IxHz560P2cGXgE2L6X9 I9YCvwaXNbWHXtqfB2TF711k9tAssJaWz2N76MDHTi7YkORr2+lZ3786fEzi99VX9VDX lb39ks94Chev+iFyClvwlgG1s9HSFZiqUxJb8= MIME-Version: 1.0 Received: by 10.223.30.10 with SMTP id s10mr2864920fac.4.1274269391453; Wed, 19 May 2010 04:43:11 -0700 (PDT) Received: by 10.223.105.146 with HTTP; Wed, 19 May 2010 04:43:11 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 May 2010 14:43:11 +0300 Message-ID: From: Mike Barnard To: bf1783@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: UFS Journaling gone south X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 11:43:13 -0000 On Mon, May 17, 2010 at 8:38 PM, Mike Barnard wrote: > > > On Mon, May 17, 2010 at 2:47 PM, Mike Barnard wrote >> >> >> >> Prior to rebooting, I checked and I did have da0s1f.journal and >> da0s1g.journal and the da0s2d and da0s2e devices, after the reboot and the >> panic, I check /dev and the seem to have reverted back to da0s1f and >> da0s1g... and da0s2d and da0s2e have also gone AWOL... :-w >> >> fortunately, this is a new installation on which I want to test journal >> devices. I'll do this again, reserving some sectors on both partitions. >> >> > I must admit, this has me hands down. I have entered custom newfs flags on > sysinstall (-r 2, 4, and 8). > > With a test on these sector sizes to be reserved at the end of the disk, > gjournal label da0s1f da0s2d still says that I need to use -f to overwrite. > I do so and end up with journal devices, but when I reboot... the journal > devices and the journal providers are missing. > > I have even done -J flag on the newfs options in sysinstall but I end up > with the same results... no journal devices are created and I end up with a > kernel panic and into single usermode. There are no journal devices created. > Mounting the disks fails with: warning: GJOURNAL flag on fs but no gjournal > provider below. > > Am I doing all this wrong, Am I missing something? > > I have redone this setup with FreeBSD 8.0 STABLE but I get the same results. My da0s1f.journal and da0s1g.journal disappear and I get this: mount: /dev/da0s1g.journal : No such file or directory mount: /dev/da0s1f.journal : No such file or directory mount: /dev/da0s1g.journal : No such file or directory While in single usermode, an ls /dev still shows that da0s2* are not present. Is there a particular reason I'd have the journal devices vanish? Is there a solution for this? -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------