> > > I'm struggling with 7Tb filesystems, it takes about 30 minutes to check
> > > them in case of cold reset. Too much. Very too much.
> > > and currently, no journals or anything else which could speed up 7Tb
> > > filesystems check ?
> >
> > man newfs, in particular the -i option.
> > What does 'df -hi' say about your filesystem?
> >
> >
> # df -hi
> Filesystem     Size    Used   Avail Capacity iused   ifree  %iused  Mounted
> on
> /dev/sd0a      377G    2.7G    356G     1%  158121 24804949     1%   /
> /dev/sd1a      6.7T    331G    6.1T     5%    8041 228037269     0%   /big

That makes you prepared for having 228037269 inodes
on that file systems. Also, that makes you eligible
for a fsck that long.

> there are http access logs for half an year.

Let's say half a year is 180 days; let's say you rotate daily.
Am I right at thinking that you want to be prepared to keep
and rotate the http logs of about 1266873 machines daily
for the next 180 days?

Since when have you accumulated the 8041 inodes that are there now?
If you know in advance this filesystem is gonna store apache logs,
how big is your typical daily log? From your numbers (331G occupied
by 8041 files), it's about 44M per file. How big a block/fragment size
do you use on this filesystem then?

Reply via email to