Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 16:17:30 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        jn07texas@yahoo.de
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fsck on 1.5TB drive
Message-ID:  <alpine.BSF.2.00.0906061615250.91948@wojtek.tensor.gdynia.pl>
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
> system and swap, and the rest for a single large partition to be used for
> backups.  As of right now, the single partition, /bkup, is empty.
>
> When booting after an improper shutdown, the system starts the backgrounds
> fsck as usual and on all the other partitions, seem to take the "normal"

turn off background fsck.

> amount of time.  When it gets to the dirty /bkup however, fsck takes about
> 30 minutes - on an empty partition.  On top of that, running a df shows
> that as much as 2GB of the partition is in use.  There's a .snap directory
> off /bkup, but I can't ls it without the shell hanging.
>
> Is this normal behavior?  Why is the fsck taking so long on an empty

because snapshotting takes so much. and even worse - it doesn't work right 
at least when i tried in FBSD 6.2.

Simply turn it off.


BTW your backups are mostly big files or mostly small.

make use of newfs options - MUCH less inodes, bigger blocks.
Not only fsck is faster, but it's faster in normal use and you get less 
wasted space.

reducing -m make sense too.



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