From owner-freebsd-current@FreeBSD.ORG Thu Nov 8 19:31:16 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0846916A477 for ; Thu, 8 Nov 2007 19:31:16 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id 4393413C4DA for ; Thu, 8 Nov 2007 19:31:14 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 71438 invoked from network); 8 Nov 2007 22:30:55 +0300 Received: from unknown (HELO Artem) (192.168.0.12) by 84.21.226.211 with SMTP; 8 Nov 2007 22:30:55 +0300 X-AntiVirus: Checked by Dr.Web [version: 4.44, engine: 4.44.0.09170, virus records: 258536, updated: 8.11.2007] Message-ID: <001701c8223d$df3aeef0$0c00a8c0@Artem> From: "Artem Kuchin" To: "Artem Kuchin" , References: <046501c82190$815ecca0$0c00a8c0@Artem> Date: Thu, 8 Nov 2007 22:30:47 +0300 Organization: IT Legion MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Cc: Pawel Jakub Dawidek Subject: Re: gjournal weirdness contd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 19:31:16 -0000 All of the below is still there. I hope someone would help with this. Pawel, please, answer. > FReebSD 7-BETA2, amd64 (as of nov 5th) > > Here is what i did this time: > > WEIRDNESS N1: > > fdisk ad6 > lable ad6 - only one fs for the full disc > > now i have /dev/ads1d > > then i do > > gjournal load > gjournal label -f /dev/ad6s1d > > and now i get > > /dev/ad6 > /dev/ad6s1 > /dev/ad6s1.journal > /dev/ad6s1.journalc > /dev/ad6s1.journald > > What are all journal and why c and d are put AFTER > the 'journal' word? > > omni3# gjournal list > Geom name: gjournal 1827255885 > ID: 1827255885 > Providers: > 1. Name: da0s1f.journal > Mediasize: 304473987584 (284G) > Sectorsize: 512 > Mode: r0w0e0 > Consumers: > 1. Name: da0s1f > Mediasize: 306473988096 (285G) > Sectorsize: 512 > Mode: r1w1e1 > Jend: 306473987584 > Jstart: 304473987584 > Role: Data,Journal > > Geom name: gjournal 3462346836 > ID: 3462346836 > Providers: > 1. Name: ad6s1.journal > Mediasize: 397938328064 (371G) > Sectorsize: 512 > Mode: r0w0e0 > Consumers: > 1. Name: ad6s1 > Mediasize: 400085812224 (373G) > Sectorsize: 512 > Mode: r1w1e1 > Jend: 400085811712 > Jstart: 397938328064 > Role: Data,Journal > > > da0 is a twa backed gjournal fs. And it is fine. > ad6 is just connected to motherboard sata controller. > journal size is approx 2GB (see weirdness 2) > > As you see, it seemslike gjournla is attached direcly to > ad6s1 (TO SLICE!!!). I don't get it, why so many journal? > why partition letter is at the end? What to mount? > > WEIDNESS N2: > > If i want to specify 2GB journal size > i put > label -s 2147483648 > and after than i get 'journal size is too small' > if i do > label -s 2048000000 > it works > > So, i patched the source a bit and set 2GB by default :) > BUt this is all weird.