From owner-freebsd-stable@FreeBSD.ORG Fri Sep 9 17:53:01 2011 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 89AF7106566C; Fri, 9 Sep 2011 17:53:01 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB218FC12; Fri, 9 Sep 2011 17:53:01 +0000 (UTC) Received: by gyf2 with SMTP id 2so2172072gyf.13 for ; Fri, 09 Sep 2011 10:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yoA1oyYTkF70Y5K6yza2ITuihX68VuDHgBaWjSj9q4k=; b=Fu8E59z5WfVx1xFrK3Omq+CWnv7zvYO+bxUUGomWavTbTnRKxcovaT1rGiLbXywrXY WZW5I3bjub4ALyAKwCK6hR7T2lRvj0qKZpY0etdRWasMQu1ViYId0GyUavVIRdYhSh8o xjIiH/wtpStMLY8uK57WvMkUJF8AJDBuu7RuQ= MIME-Version: 1.0 Received: by 10.42.73.5 with SMTP id q5mr759520icj.100.1315590780380; Fri, 09 Sep 2011 10:53:00 -0700 (PDT) Received: by 10.231.36.69 with HTTP; Fri, 9 Sep 2011 10:53:00 -0700 (PDT) In-Reply-To: <20110909133509.GH1639@garage.freebsd.pl> References: <4E69A152.6090408@rdtc.ru> <4E69EB15.50808@rdtc.ru> <20110909133509.GH1639@garage.freebsd.pl> Date: Fri, 9 Sep 2011 10:53:00 -0700 Message-ID: From: Kevin Oberman To: Pawel Jakub Dawidek Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Stable , Eugene Grosbein Subject: Re: gmirror+gjournal often makes inconsistens file systems 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: Fri, 09 Sep 2011 17:53:01 -0000 On Fri, Sep 9, 2011 at 6:35 AM, Pawel Jakub Dawidek wrote: > On Fri, Sep 09, 2011 at 05:31:49PM +0700, Eugene Grosbein wrote: >> Please explain if such partitioning is supported? >> physical drive - geom_mirror - geom_journal - geom_part_mbr - geom_part_bsd - journalled UFS2 > > No. It will only work properly for journaling UFS if UFS is placed > directory on gjournal provider. You configured slices and several > pratitions on one gjournal provider, which simply cannot work, as > one UFS file system has to talk to one gjournal provider. > >> If not, mounting such UFS2 should warn us, shouldn't it? >> No warnings now. > > It might be a bit hard to tell, but it could be at least better > documented. Yes, the documentation could be better, especially since the gjournal(8) man page example where the entire disk (da0) is tied to a single journal. At least change the example to read: gjournal load gjournal label da0p5 newfs -J /dev/da0p5.journal mount -o async /dev/da05.journal /mnt It MIGHT be better to use da0s1g, but I think we want to move toward GPT, so I suggest that type of example. Either make it clear that a file system, not a drive, is the appropriate application. I am quite aware of this as I just created my first gjournal file system last night and was briefly confused by this. -- R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com