Re: Re[2]: newfs create to little inodes

2012-04-17 Thread Wojciech Puchar

hmm.. missed it as i never use defaults

On Mon, 16 Apr 2012, Rob Farmer wrote:


On Mon, Apr 16, 2012 at 10:02 AM, Robert Bonomi
 wrote:


Something about -your- installation is causing you to run out of inodes.



This is a release engineering issue in 9.0, not just his installation.
The defaults are screwed up. See bin/162659.

--
Rob Farmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re[2]: newfs create to little inodes

2012-04-16 Thread Michael Powell
Rob Farmer wrote:

> On Mon, Apr 16, 2012 at 10:02 AM, Robert Bonomi
>  wrote:
>>
>> Something about -your- installation is causing you to run out of inodes.
>>
> 
> This is a release engineering issue in 9.0, not just his installation.
> The defaults are screwed up. See bin/162659.
> 

Yes - I experienced this early on with first attempts at looking over 9.0 in 
a Virtualbox VM. I don't remember if it was 5 or 6GB size of the initial 
'everything in one filesystem (/)' install which triggered it, but when I 
increased it to 8GB, and/or larger, the error the OP describes went away.

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re[2]: newfs create to little inodes

2012-04-16 Thread Rob Farmer
On Mon, Apr 16, 2012 at 10:02 AM, Robert Bonomi
 wrote:
>
> Something about -your- installation is causing you to run out of inodes.
>

This is a release engineering issue in 9.0, not just his installation.
The defaults are screwed up. See bin/162659.

-- 
Rob Farmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re[2]: newfs create to little inodes

2012-04-16 Thread Robert Bonomi
> From kes-...@yandex.ru  Mon Apr 16 11:33:26 2012
> Date: Mon, 16 Apr 2012 19:32:44 +0300
> From: Eugen Konkov 
> To: Robert Bonomi 
> CC: freebsd-questions@freebsd.org
> 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%   331k0 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%   331k0 100%   /mnt/disk1
> >>
> RB> Yup.  RTFM is -definitely- indicated.
> >>
>
>
>
> -- 
> N oaa{c-cedilia}aeieaei,
>  Eugen  mailto:kes-...@yandex.ru
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: newfs create to little inodes

2012-04-16 Thread Eugen Konkov
>>
>> 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
>> Filesystem size   used  avail  capacity iused ifree %iused  mounted on
>> /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%   /mnt/disk1

I know 'man' and can read that. I only ask to use different values for
disks with size ~5G. this change will make life easier for newbies.
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.


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%   331k0 100%   /mnt/disk1
>>
RB> Yup.  RTFM is -definitely- indicated.
>>



-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re[2]: newfs create to little inodes

2012-04-16 Thread Robert Bonomi

> Date: Mon, 16 Apr 2012 18:07:30 +0300
> From: Eugen Konkov 
> Subject: Re[2]: newfs create to little inodes
>
>
>
>
> GL> On 4/16/12 10:01 AM, Eugen Konkov wrote:
> >> 
> >> Does newfs always must create sufficient count of inodes? or I
> >> must supply some addition options when creating FS?
> >> 
> >> #df -ih Filesystem size   used  avail  capacity iused ifree %iused
> >> mounted on /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%
> >> /mnt/disk1
> >> 
> >> 
>
> GL> Hello Eugen,
>
> GL> Yes, please check the -i option of newfs:
> GL> http://www.freebsd.org/cgi/man.cgi?query=newfs
>
> GL> Hope that helps,
> GL> Greg
>
> unhappy defaults for disks about ~5G capacity
> because of this default create only 350k inodes
> installig system and extract ports eats about 95% of inodes =(
>
> but about 50% disk space are free yet

You may want to look at what kind of a filesystem you are using.
With a 'standard' Berkeley 'FFS' I get 540+k inodes on a 4 gig partiton,
with a standard 'newfs'. I get a virtually identical 'density' on a 7+gig 
partition (941k inodes).

You show roughly -half- that inode density, which implies different
filesystem characteristics, or a newfs-equvalent with non-default 
parameters.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: newfs create to little inodes

2012-04-16 Thread Eugen Konkov
Здравствуйте, Greg.

Вы писали 16 апреля 2012 г., 18:39:14:

GL> -BEGIN PGP SIGNED MESSAGE-
GL> Hash: SHA1

GL> On 4/16/12 11:07 AM, Eugen Konkov wrote:
>> Здравствуйте, Greg.
>> 
>> Вы писали 16 апреля 2012 г., 17:28:59:
>> 
>> GL> -BEGIN PGP SIGNED MESSAGE- GL> Hash: SHA1
>> 
>> GL> On 4/16/12 10:01 AM, Eugen Konkov wrote:
 
 Does newfs always must create sufficient count of inodes? or I 
 must supply some addition options when creating FS?
 
 #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
 
 
>> 
>> GL> Hello Eugen,
>> 
>> GL> Yes, please check the -i option of newfs: GL>
>> http://www.freebsd.org/cgi/man.cgi?query=newfs
>> 
>> GL> Hope that helps, GL> Greg
>> 
>> unhappy defaults for disks about ~5G capacity because of this
>> default create only 350k inodes installig system and extract ports
>> eats about 95% of inodes =(
>> 
>> but about 50% disk space are free yet
>> 
>> 

GL> Yes, please try increasing the number of inodes when you create the
GL> filesystem.  The -i option is used to do that if you are not happy
GL> with the default picked by newfs.

I use newfs -U -i 1024 /dev/ad0s1a  I think I got enogh inodes

But maybe post the PR:
 use -i 1024 as default for disks ~5G when doing newfs?


-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: newfs create to little inodes

2012-04-16 Thread Eugen Konkov
Здравствуйте, Greg.

Вы писали 16 апреля 2012 г., 17:28:59:

GL> -BEGIN PGP SIGNED MESSAGE-
GL> Hash: SHA1

GL> On 4/16/12 10:01 AM, Eugen Konkov wrote:
>> 
>> Does newfs always must create sufficient count of inodes? or I
>> must supply some addition options when creating FS?
>> 
>> #df -ih Filesystem size   used  avail  capacity iused ifree %iused
>> mounted on /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%
>> /mnt/disk1
>> 
>> 

GL> Hello Eugen,

GL> Yes, please check the -i option of newfs:
GL> http://www.freebsd.org/cgi/man.cgi?query=newfs

GL> Hope that helps,
GL> Greg

unhappy defaults for disks about ~5G capacity
because of this default create only 350k inodes
installig system and extract ports eats about 95% of inodes =(

but about 50% disk space are free yet


-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"