fsck on 1.5TB drive

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


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

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

Hope It can help,


More information about the freebsd-questions mailing list