From owner-freebsd-fs@FreeBSD.ORG Tue Dec 27 20:46:57 2011 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 24710106564A for ; Tue, 27 Dec 2011 20:46:57 +0000 (UTC) (envelope-from rolling.robot@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id AD1458FC08 for ; Tue, 27 Dec 2011 20:46:56 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so10293632wib.13 for ; Tue, 27 Dec 2011 12:46:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=KkXMqt93815CN+zaR3xCqImGubyJpTKEntb48t6Jb/8=; b=pojkKr9eS36NaejDLnosPfLfJKW9DPvN7/O3zNAyxKnJGAtPk81YMOV09KHJbBuv6S lESgrRt8Fwn/paXMhinfscEk/ylOiopjD+HTbf21J+hhcrV2vzOnJR5G6dlbPanVWKbo 3rquSYs6mgJgmeGahlF+g4LHS1QkiRW2V8X8I= Received: by 10.180.72.133 with SMTP id d5mr64209300wiv.7.1325016962336; Tue, 27 Dec 2011 12:16:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.3.233 with HTTP; Tue, 27 Dec 2011 12:15:41 -0800 (PST) From: Peter Mukhachev Date: Tue, 27 Dec 2011 23:15:41 +0300 Message-ID: To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: journal on raid device 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: Tue, 27 Dec 2011 20:46:57 -0000 Hello everyone! I recently bought a via6421 bulk raid controller and I'm trying to get journalling working. I've partitioned it and set up journal with fdisk, bsdlabel and gjournal: # fdisk -I /dev/ar0 # bsdlabel -w /dev/ar0 # gjournal load # gjournal label /dev/ar0s1a # newfs -O 2 -J /dev/ar0s1a.journal # echo 'geom_journal_load="YES" ' >> /boot/loader.conf After that I can mount a filesystem and do whatever I want. But after reboot I have no /dev/ar0s1a.journal, only /dev/ar0s1a that I can mount without journalling. However, on the disks that comprize the massive, file systems with journals are visible and mountable. They are ad8s1a.journal ad9s1a.journal. # mount /dev/ad8s1a.journal on /mnt (ufs, local, read-only, gjournal) Is it a bug or I'm doing something wrong? Mukhachev Peter. PS # uname -a FreeBSD pasty.lan 8.2-STABLE-201105 FreeBSD 8.2-STABLE-201105 #0: Tue May 17 05:46:49 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386