From owner-freebsd-questions@FreeBSD.ORG Sat Jan 7 10:15:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 634931065670 for ; Sat, 7 Jan 2012 10:15:40 +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 ECEB48FC0C for ; Sat, 7 Jan 2012 10:15:39 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so2418150wib.13 for ; Sat, 07 Jan 2012 02:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=d4kw7OUdD7JJejW1zBNDrfGd4uSNmHtAxUMaAkCnlA8=; b=x6HebBb8WGYcWEqQfXx1u8u2rdvtAgo54bvCm+w6uIoNPyrwe0UP4SiowQJt5lO2ZG ljIWUdgwjtOfBFNiFDnYUBny3xraX6oGxB3B8kL3R7pfZ/cdW63yKanwKyeTk1JbtQSO ZhjnZ1nbRYmux0QT5NAfZXqijv2ZMV620PNTw= Received: by 10.180.80.164 with SMTP id s4mr16749692wix.7.1325929975342; Sat, 07 Jan 2012 01:52:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.98.198 with HTTP; Sat, 7 Jan 2012 01:52:33 -0800 (PST) In-Reply-To: References: From: Peter Mukhachev Date: Sat, 7 Jan 2012 12:52:33 +0300 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: journal on raid device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 10:15:40 -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) # 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 How can I enable journalling on ar0s1a?