Re: Problema com falta de espaço
Olá!
2011/3/2 Helio Loureiro <helio@loureiro.eng.br>:
> Vc pode criar um filesystem com nr maior de i-nodes. Do man mkfs.ext4:
>
> -I inode-size
[...]
Muito obrigado pela informação, Helio, mas acho que você se confundiu
na hora de colar. As opções úteis no caso, parece-me, seriam:
-i bytes-per-inode
Specify the bytes/inode ratio. mke2fs creates an inode
for every bytes-per-inode bytes of space on the disk.
The larger the bytes-per-inode ratio, the fewer inodes
will be created. This value generally shouldn't be
smaller than the blocksize of the filesystem, since in
that case more inodes would be made than can ever be
used. Be warned that it is not possible to expand the
number of inodes on a filesystem after it is created,
so be careful deciding the correct value for this
parameter.
-N number-of-inodes
Overrides the default calculation of the number of
inodes that should be reserved for the filesystem
(which is based on the number of blocks and the
bytes-per-inode ratio). This allows the user to
specify the number of desired inodes directly.
[]s,
Tiago Saboga.
Reply to: