Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jun 2009 13:39:26 -0300
From:      Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
To:        jn07texas@yahoo.de, freebsd-questions <questions@freebsd.org>
Subject:   Re: fsck on 1.5TB drive
Message-ID:  <1244306366.5333.8.camel@localhost>
In-Reply-To: <56942.76.25.231.251.1244295367.squirrel@webmail.wcubed.net>
References:  <56942.76.25.231.251.1244295367.squirrel@webmail.wcubed.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

try to use journaling on the backup partition, (if you do not want to
use ZFS...)

than: supose your partition is ad0s1d,
this procedure will destroy  ALL data on the partition!!!

gjournal load
gjournal label ad0s1d
newfs ad0s1d.journal

edit the /etc/fstab to look like:
/dev/ad0s1d.journal             /backup    ufs    rw,async    1    1

if you are using a custom kernel, 
you must include a line in the /boot/loader.conf
geom_journal_load=YES

now if your system crashes, it will boot up using the journal in the
ad0s1d.journal partition, and will make fsck very fast.... about 1-2
minutes...

Hope It can help,

Sergio



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