> From [email protected] Mon Apr 16 11:33:26 2012
> Date: Mon, 16 Apr 2012 19:32:44 +0300
> From: Eugen Konkov <[email protected]>
> To: Robert Bonomi <[email protected]>
> CC: [email protected]
> Subject: Re[2]: newfs create to little inodes
>
> >>
> >> Does newfs always must create sufficient count of inodes?
>
> RB> This begs the question of 'what is a sufficient count of inodes?"
>
> RB> It is well-known that the required 'inode densidy' depends on the usage
> RB> of the filesystem.
>
> RB> Newfs uses defaults that are 'reasonable' for 'typical' use, and are
> RB> rarely insuficient.
>
> 'typical' use: install system and install ports
> fetch sources and buildworld
> this cause me insuficient inodes
Something about -your- installation is causing you to run out of inodes.
A 'normal' FFS newfs with all default values would have roughly twice the
number of inodes you show. And, assumig similar size files, would
let the disk fill to over 94% capacity before runnig out of inodes.
> >> Filesystem size used avail capacity iused ifree %iused mounted on
> >> /dev/ad0s1a 4.9G 2.1G 2.4G 47% 331k 0 100% /mnt/disk1
>
> I know 'man' and can read that.
but apparently _didn't_, since it discusses the calculation for default
inode counts, and effective average file size.
Those figures do -not- match what you claim is the situation on your
machine.
It would be wise to determine _why_ your system is 'non-standard' in
that respect, before requesting a change in 'standard' behavior.
> I only ask to use different values for
> disks with size ~5G. this change will make life easier for newbies.
You need to figure out why YOU have only half the 'normaal' number of
inodes on -your- filesystem.
> I only question: 'Is this change will make life easier for others'?
> I do not ask, why I can not do something, or help me or else.
Quote: "or must I supply somme additional options when creating FS?' unquote.
That sure looks like a 'help me' request.
> RB> *IF*, however, you know you will be creating lots of 'tiny' files on a
> RB> particular filesystem, it is a GOOD IDEAT(tm) to use non-default settings.
>
> >> or I must
> >> supply some addition options when creating FS?
>
> RB> "Read the fine manpage" applies. along with 'know your useage'.
>
> >> #df -ih
> >> Filesystem size used avail capacity iused ifree %iused mounted on
> >> /dev/ad0s1a 4.9G 2.1G 2.4G 47% 331k 0 100% /mnt/disk1
> >>
> RB> Yup. RTFM is -definitely- indicated.
> >>
>
>
>
> --
> N oaa{c-cedilia}aeieaei,
> Eugen mailto:[email protected]
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"