fsck on 1.5TB drive

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Sat Jun 6 17:08:06 UTC 2009


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


More information about the freebsd-questions mailing list