Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2012 12:52:33 +0300
From:      Peter Mukhachev <rolling.robot@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   journal on raid device
Message-ID:  <CAFH_mqsim8H4CapWW51G0Ay2LiwGaQvrvaE8SNrr6Ly8uLGU2w@mail.gmail.com>
In-Reply-To: <CAFH_mqv2CE=UE1iOciw%2BD58BBvLgqqWvueX7ocUH_wAO43UEQg@mail.gmail.com>
References:  <CAFH_mqv2CE=UE1iOciw%2BD58BBvLgqqWvueX7ocUH_wAO43UEQg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFH_mqsim8H4CapWW51G0Ay2LiwGaQvrvaE8SNrr6Ly8uLGU2w>