On 2012-06-01, Chris Cappuccio <ch...@nmedia.net> wrote:
> Nick Holland [n...@holland-consulting.net] wrote:
>> * you don't want to fsck a 3TB file system, 'specially if it is
>> rebuilding the mirror at the same time, though with 12G RAM, you
>> might be able to do it.
>> 
>
> Isn't this situation seriously improved with fsck in 5.1 ?

Quite a lot. But you might still want to bump -i when you newfs (unless
you actually need all those inodes). Default is based on the frag size,
but there's a limit to frag size, so it stops scaling back the inode
count after a point, and lots of inodes can really slow down fsck.

If the majority of your files are "media" you might want to increase
it a bit, if you're keeping large backups you might want to increase
it a lot. From a bacula box...

$ df -hi /bak
Filesystem     Size    Used   Avail Capacity iused   ifree  %iused  Mounted on
/dev/sd2m      2.7T    1.4T    1.2T    56%     146  175212     0%   /bak

Reply via email to