newfs create to little inodes

Greg Larkin glarkin at FreeBSD.org
Mon Apr 16 15:39:22 UTC 2012


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

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
> 
> 

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

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+MPSIACgkQ0sRouByUApDNQQCgp9PuMZMfeg/7lxbdWUcnUfUP
kasAoIQEbx7FjV7Xw8eV1BcJ1cvWPpX6
=0DLy
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list